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 @override annotation in java?
What is tight coupling in java?
What is difference between loosely coupled and tightly coupled in java?
How common are security breaches? : java security
Explain issues of old java date api?
I have deployed a .war file in my application server comprising of struts and hibernate.If i want to change the "dialect" property of hibernate cfg file how can i change(I have only .war file)... Thanks in advance
What is the difference between a jvm and a jdk?
What is transaction management in java?
I run a web server. Am I at risk? : java security
Why is lambda expression used?
Spring framework ---Can somebody explain me in easily understandable format about AOP, IOC and DI, so that i can explain in interview rather than just telling what is available in net. I am not able to understand that also. I am new to Spring
Describe the principles of oops.
What is the difference between Logical Parallelism and Physical Parallelism?
What services can invoke lambda?
Why do we create dto in java?