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 is inheritance in simple words?
What is cohesion in oop?
what is different between oops and c++
What is encapsulation with real life example?
What is polymorphism give a real life example?
2. Give the different notations for the class.\
Which is not an object oriented programming language?
Which type does string inherit from?
Can we define a class within the interface?
Why multiple inheritance is not allowed?
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?
write a program that takes input in digits and display the result in words from 1 to 1000
Write a program to reverse a string using recursive function?
Is react oop?
What is class and object in oops?