Wednesday, 7 December 2016

Terminologies for Object- Oriented programming (OOP)

Class: Class is nothing but a template that describes the data and behavior associated with instance of that class.

Constructor: Constructor are used for creating an instance of a class, they are invoked when an instance of class gets created.

Object: a self-contained entity that consists of both data and procedures to manipulate the data.

Method: The implementation of some behaviour of an object.  It is an ordinary member function which consists of its own return type (can be void), name and always invoked by dot operator.

Property: An Object characteristic, such as color.

Inheritance:  It is the process by which one object acquires the property of another object.

Encapsulation: It is the mechanism that binds together code and data it manipulates and keeps both safe from outside interference and misuse.

Abstraction: The process of picking out (abstracting) common features of objects and procedures.

Polymorphism: A programming language's ability to process objects differently depending on their data type or class.

object oriented programming

No comments:

Post a Comment

What is list in data structure

List: - List is a linear data structure in which elements are arranged in random order. That means list is those type of linear data struc...