Answer Posted / charu
1)Encapsulation – Encapsulation is capturing data and keeping it safely and securely from outside interfaces.
2)Inheritance- This is the process by which a class can be derived from a base class with all features of base class and some of its own. This increases code reusability.
3)Polymorphism- This is the ability to exist in various forms. For example an operator can be overloaded so as to add two integer numbers and two floats.
4)Abstraction- The ability to represent data at a very conceptual level without any details
Is This Answer Correct ? | 40 Yes | 12 No |
Post New Answer View All Answers
What are the features of oop?
What is encapsulation with example?
What is object in oop with example?
What is the advantage of oop over procedural language?
What is abstract class in oop?
What are the 4 main oop principles?
What is inheritance in simple words?
What is abstraction example?
What are the three parts of a simple empty class?
What is Difeerence between List obj=new ArrayList(); and ArrayList obj=new ArrayList()?
How to call a non virtual function in the derived class by using base class pointer
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is difference between inheritance and polymorphism?
officer say me - i am offered to a smoking , then what can you say
Why multiple inheritance is not possible?