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 |
Program to check whether a word starts with a capital letter or not.
What is oops with example?
What is late bound function call and early bound function call? Differentiate.
Can we have a private virtual method ?
What is overriding in oop?
What is encapsulation selenium?
How many types of access specifier in c# and vb.net?
Why is encapsulation used?
write a program for function overloading?
14 Answers HCL, InfoCity, TATA,
What is the use of unnamed namespaces in OOPS? The only advantage I know is that they dont need the scope resolution operator while accessing them. I want to know some other advantages of unnamed namespaces...
why in java first invoke public static void main(String args[]) method????Why not public static void method1(String args[])??
why the memory allocated with new cant be freed using free()