Can u tell me brief decription about oops concepts(total) with examples

Showing Answers 1 - 2 of 2 Answers

vishal gaikwad

  • Oct 3rd, 2006
 

OOPS is object oriented programmingit consist of classes and objects it includes

1.abstraction(data hiding)

2.inheritance(reusability)

3.polymorphism

  Was this answer useful?  Yes

Gupta Pravin Kumar

  • Oct 6th, 2006
 

ENCAPSULATION: It is the data binds together code and the data it manipulates and keeps them safe from outside interference and misuse. When data and code are linked together in this fashion, an object is created. In other words an object is the device that supports encapsulation.POLYMORPHISM: The name itself suggests that ?POLY? stands for many and ?MORPHISM? stands for forms. Polymorphism is the quality that allows one name to be used for two or more related but technically different purposes. In general giving multiple interfaces to a function or an operator is called ?POLYMORPHISM?.INHERITANCE: Inheritance is the process by which one object can acquire the properties of another. The best example for this is C,C++, and JAVA languages itself. Java is being derived from C++ which in return is being derived from C from where it inherits all the capabilities of C,C++ and also add the features of its own.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions