Basic oops Concept definitions

Posted by Ersudeep13 under OOPS on 4/28/2016 | Points: 10 | Views : 2627 | Status : [Member] | Replies : 2
1). Class---->> A Class is a user defined datatype and it is known as refernce type.

2). Object--->> An object is used to represent the class. An object is defined as instance of a class.

3). OOPS(object oriented programming)-- > Any Programming language to become a object oriented should follow the following features apart from the class and object.
a)Abstraction (Hidding of comlpexity)
b)Encapsulation (Hiding the data)
d)Inheritance (Reusability)

Abstraction----> It is a process of Hiding the implementation but providing a services. there are two types of Abstraction available:
1) Data Abstraction
2) Functional Abstraction
e.g of Abstraction is NAMESpace. Because in namespace is a base class libreries in which certaian code is written how to work this namespace but we only use namespace and nothing know about its complexity and how it is create.

Encapsulation---> It's a process of Binding the member variable of a class along with member functions.Encapsulation Can be implemented with the help of object and Also access modifier like Private, public, Protected etc.
e.g of Encapsulation is Class.

PolyMorphism---> it is an approach of behaving in the different ways whenever the input changes, the behaviour of output is also changed accordingly.
e.g of polymorphism is Exam Result.
polymorphism are of two types
1)Compile time plymorphism/Early binding/ Static polymorphism
2)Runtime polymorphism/ Late Binding/ Dynamic polymorphism

Inheritance---->> It is a concept of acquiring the parents property by the children for reusing them, same as this, the member of a class ina object oriented programming can be consumed in a new class by esablishing parent/child relationship between the class.

Inheritance are five types.
1) single Inheritance
2) Multiple Inheritance
3) Multilevel Inheritance
4) Hybrid Inheritance
5) Hierarichal Inheritance


Posted by: Rajnilari2015 on: 4/28/2016 [Member] [Microsoft_MVP] [MVP] Platinum | Points: 25

Please post in Interview Section

Thanks & Regards,
RNA Team

Ersudeep13, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Amatya on: 4/29/2016 [Member] Silver | Points: 25

Post in Article or In Interview section.

Feel free to share informations.
mail Id '

Ersudeep13, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response