QUARK OF OOPS

CLASS: Class is an abstract concept. It’s simply a template or blueprint of structural representation of attribute and actions. A class contains data and method to manipulate data.

OBJECT: An object is instance of class. It’s a bundle of variable and related methods. Object is the simulation of data and method to manipulate data.

METHOD: An entity through which an object interact with the external environment called Method.

ABSTRACTION: it’s means simplifying the complex reality of a problem or hiding the details.

ENCAPSULATION: It’s means binding code and data together. This technique protects the data from outside interference and behaves as a protective wrapper. It’s also abstract the complexity involved in a class from the end-user.

INHERITANCE: it’s technique by which an object acquires the features of another object along with it’s own feature. The object from which the property is acquired is known as parent and object which acquires the property is known as child object. Here parent Class is known as Super class and Child class as sub class. It’s facilitates code reusability.

Polymorphism: one name many forms. It’s implies one method performing many task. It’s has 2 form: Static- the method is to be invoked is decided at the compile time. It’s achieved in method overloading. Dynamic: the child class overrides a method of parent class and that particular method is to be invoked at runtime. It’s basically achieved by method overriding.

There are no comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Start typing and press Enter to search

Shopping Cart

No products in the cart.