Skip to main content

Java 1 Topic

 OOPS :-

  1. Class 
  2. Object
  3. Inheritance
  4. Polymorphism
  5. Data Abstraction
  6. Encapsulation

  • Class :-  

Class is a collection of data member , member function or collection of object.

class = Data variable + Symbol + member function.

  • Object:-

Object is nothing but run time instance of the class

Object is a real world entity by which we can access the features (Data variables and member functions)

  • Object:-
Wrapping or binding of data variables or member function inside a class known as Encapsulation 

Comments