Polymorphisms:-
polymorphisms is nothing but ability to take more than one forms(One interface,Multiple Methods or One Name,Many Forms).
Encapsulation:-
-is nothing but wrapping the data and functions into single entity.
Inheritance:-
polymorphisms is nothing but ability to take more than one forms(One interface,Multiple Methods or One Name,Many Forms).
Encapsulation:-
-is nothing but wrapping the data and functions into single entity.
Inheritance:-
The process of deriving new class from existing class.This is called Inheritance.
New Class-Child Class
Existing Class-Parent Class
Types:
*Single Inheritance
*Multiple
*Hybrid
*Multilevel
*Hierarchical
New Class-Child Class
Existing Class-Parent Class
Types:
*Single Inheritance
*Multiple
*Hybrid
*Multilevel
*Hierarchical
No comments:
Post a Comment