Hey guys whar are the main points of OOPS?????wannna know?????
Hi main concepts of OOPS are
1) Encapsulation: it isolates a particular code and data from all other codes and data. A well-defined interface controls the access to that particular code and data.
2) Inheritance: It is the process by which one object acquires the properties of another object. This supports the hierarchical classification,by use of inheritance, an object need only define those qualities that make it unique within its class. It can inherit its general attributes from its parent.
3) Polymorphism: It is a feature that allows one interface to be used for general class of actions. In general polymorphism means “one interface, multiple methods”, This means that it is possible to design a generic interface to a group of related activities. This helps reduce complexity by allowing the same interface to be used to specify a general class of action.
Leave a Reply
You must be logged in to post a comment.