what is meant by Encapsulation?Explain with an example?
Answer Posted / sanjay deorari
Containing and hiding information about an object, such as
internal data structures and code.
Binding together of related data and functions to
perform some set of specific operations is encapsulation.
Is This Answer Correct ? | 4 Yes | 2 No |
Post New Answer View All Answers
What is java lang exceptionininitializererror?
What is dependency injection in java?
Can optional be null?
What does public static void main(string[]) mean?
What is aop java?
What is gwt in java?
What are jpa annotations?
What do you understand by casting in java language? What are the types of casting?
What is war file in java?
What is explicit casting?
What is the difference between collection and stream?
Is lambda functional programming?
How to reverse the singly linked list(In Node data members are(int data,int pointerTONext))
What is a singleton in java?
How do you run an executable jar file?