What is encapsulation?
Answers were Sorted based on User's Feedback
Answer / nagababu
Wrapping up data and methods in a single unit is called
Encapsulation.
Eg:-class
| Is This Answer Correct ? | 16 Yes | 1 No |
Answer / kumar vishal
wrapping up data and function as a single intity called
encapsulation.
| Is This Answer Correct ? | 11 Yes | 2 No |
Answer / tejavishu
combining the data and data members into a singe unit is
called the encapsulation.
ex:class.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / saamy
Data Encapsulation combines data and functions into a
single unit called Class. When using Data Encapsulation,
data is not accessed directly; it is only accessible
through the functions present inside the class. Data
Encapsulation enables the important concept of data hiding
possible.
| Is This Answer Correct ? | 6 Yes | 1 No |
Answer / p suresh kumar
It is the mechanisum which unities code and data it
manipulate.
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sree
encapsulation means combining the data and the functions
using that data.
EX: class
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / navneet kaur
combining data and data members is encapsulation.
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / anjana
ENCAPSULATION:
*ENCAPAULATION IS A WRAPPING UP OF DATA INTO A SINGLE UNIT.
*IT IS LIKE A CAPSULE.
| Is This Answer Correct ? | 1 Yes | 0 No |
what is namespace? what are the uses of namespace?
what is new operator in c++
What is conditional Compilation?
Do you know about multiple inheritance?
What is the difference between static polymorphism and dynamic polymorphism?
In what situation factory design patterns,DAO design patterns,singleton design patterns should be applied.?
What are classes oop?
What are functions in oop?
how to tackle technical questions
why to use template classes in c++?
How to Increment the value of the empid E001 for each and every employee by using the programe?
How to execute business logic for only once ..?even though user clicks submit button multiple times by mistake..? (i disabled JavaScript)