C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 22)
22.
Which of the following concepts means wrapping up of data and functions together?
Abstraction
Encapsulation
Inheritance
Polymorphism
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
14 comments Page 2 of 2.

Jash said:   1 decade ago
Why is encapsulation?

Prajnya said:   9 years ago
@Rok.

Polymorphism is simply means using one name for more than one forms of data (object or function). It's 2 types such as static polymorphism and dynamic polymorphism.

Khushbu said:   9 years ago
Variables & their functions both can be encapsulated into a single entity called object. This process is called encapsulation.

Smarty said:   9 years ago
Can anyone explain me, why encapsulation?


Post your comments here:

Your comments will be displayed after verification.