Object Oriented Programming Language Concepts | Short Notes on Object Oriented Programming Language Concepts | Object Oriented Programming Concepts
Following are the object oriented programming concepts of java.
1. Object: Objects is a collection of variables and methods.
2. Class: A Class is collection of similar objects.
3. Encapsulation: Wrapping up of data and methods into a single unit is called "Encapsulation".
The feature which enhance security for java is encapsulation.
4. Inheritance: Acquiring the properties of objects of one class with the properties of objects of another class is called "inheritance".
5. Abstract: The act of representing essential features without including background details is called "Abstraction".
Abstraction accomplishes of abstract classes and abstract methods.
6. Polymorphism: Ability to take more than one form is called "Polymorphism".
No comments:
Post a Comment