C++ Programming - OOPS Concepts - Discussion

Discussion :: OOPS Concepts - General Questions (Q.No.22)

22. 

Which of the following concepts means wrapping up of data and functions together?

[A]. Abstraction
[B]. Encapsulation
[C]. Inheritance
[D]. Polymorphism

Answer: Option B

Explanation:

No answer description available for this question.

Narendra said: (May 9, 2012)  
Variables & their functions both can be encapsulated into a single entity called object. This process is called encapsulation.

Rok said: (Jul 3, 2012)  
What is Polymorphism ?

Shikha said: (Aug 3, 2012)  
In C++ polymorphism (many forms of functions) term used when we want same interfece but different work.

Juhi said: (May 5, 2013)  
Why can't the answer be Abstraction?

Priyanka V said: (Aug 3, 2013)  
The answer couldn't be abstraction, since it is one of the important characteristics of the object oriented language where only the fewer things are exposed to the end users and the things or I meant steps or in terms of operation are hidden, if data itself hidden then it becomes data hiding!

Where in wrapping means binding data members and member function into a single entity called object, this technique is called to be encapsulation.

Arjun S said: (Sep 13, 2013)  
Can any body explain polymorphism, encapsulation, inheritance, abstraction. ?

Pooja Pandey said: (Apr 18, 2014)  
The process of wrapping data and function together is called encapsulation.

Poonam said: (Oct 29, 2014)  
The wrapping up of data into a single unit is "encapsulation".

Arpit said: (Jan 20, 2015)  
One class property use in other class is called a inheritance same interface but its work is different is called the polymorphism.

Atul said: (May 6, 2015)  
Encapsulation is understanding an object and represent in terms of it characteristic usage frequency 1 usage frequency 2 behaviour 3 both 4 none of this.

Jash said: (Jul 16, 2015)  
Why is encapsulation?

Prajnya said: (Jun 24, 2016)  
@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: (Dec 26, 2016)  
Variables & their functions both can be encapsulated into a single entity called object. This process is called encapsulation.

Smarty said: (Dec 30, 2016)  
Can anyone explain me, why encapsulation?

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.