Over view concept of oops in Java
Oops concepts in Java are the main idea behind Java object oriented programming language, they follow
. class
.Objects
.Inheritance
. Abstraction
.Encapsulation
.polymorphism
Class: class is a blue print of any functional entity which define it's property and functions.
Object: objects are instance of class which held the data variable declare in class and member function work on these class objects.
Inheritance : inheritance is a process of creating new classes. Child class inhert all the property of base class.
Abstraction: abstraction means show casing only the required thingh to the out side the world by the hiding the details.
Encapsulation : it can also be said data binding. Encapsulation is all about binding the data variables and functions toghter in class.
Popymorphism : an ability to asum same name working different in different environment.
Polymorphism basically two types.
1.overloading
2.over ridding