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


Please Help Members By Posting Answers For Below Questions

What is war file in java?

641


What is dao in java?

573


What is cmp in java?

568


What is rxjava2?

536


What is flatmap in rxjs?

552






Why is struts used in java?

551


How do I open java console?

560


How do I run a java program from the command line?

545


What is jdk for netbeans ide?

573


What are the Advantages of java se 8 new features?

611


What is phantom memory?

620


What is java lang?

518


Who is at risk in java? : java security

569


What is tier in java?

487


Which interceptor is responsible for setting action javabean properties?

507