Professional Documents
Culture Documents
▪ An object provides public interface to code but maintains its own privacy i.e. it
doesn’t allow other parts of the system to know about the status of the functions
going on inside the object.
IN HERITANC E EN C APSULATIO N
ABSTRACTION POLYMORPHISM
O B JECTS C L ASSES
▪ The main four fundamental feature are the base of OOPs- encapsulation,
inheritance, polymorphism and abstraction.
▪ Encapsulation is self containing modules that connect processes to data.
▪ Inheritance helps in hierarchy building i.e. classes can be organized in hierarchy.
▪ Polymorphism enables creation of procedures regarding objects.
▪ Abstraction reduces the complexities.