Class 10 ICSE - Java

Class 10th Java aims to empower students by enabling them to build their own applications introducing some effective tools to enable them to enhance their knowledge, broaden horizons, foster creativity, improve the quality of work and increase efficiency.
It also develops logical and analytical thinking so that they can easily solve interactive programs. Students learn fundamental concepts of computing using object oriented approach in one computer language with a clear idea of ethical issues involved in the field of computing
Class 10th java topics includes revision of class 9th, constructors, user-defined methods, objects and classes, library classes , etc.

Encapsulation



Encapsulation in Java is wrapping the data (variables) and code acting on data (method) together as a single unit.

Real world example of encapsulation :

Steps to achieve Encapsulation




  • Declare the variable of a class as private

  • Provide public setter and getter methods to modify and view the variable values.

In encapsulation the variables of a class (data) will be hidden from other classes and can be accessed only through the methods of their current class. This method is called data hiding

Example :





Contact Us

REACH US

SERVICES

  • CODING
  • ON-LINE PREPARATION
  • JAVA & PYTHON

ADDRESS

B-54, Krishna Bhawan, Parag Narain Road, Near Butler Palace Colony Lucknow
Contact:+ 919839520987
Email:info@alexsir.com