What does the term encapsulation mean?

Hey Friend,
What does the term encapsulation mean and what is its function in Java?
Can anyone explain me details about it?
Thanks.

Hey Friend,
What does the term encapsulation mean and what is its function in Java?
Can anyone explain me details about it?
Thanks.
Hey pal,
Encapsulation looks like a hard and complicated word, but guess what it is very easy to understand it. It means the idea of hiding given data but making it only available using a given specified method. The use of this in java is to ensure that there are minimal chances of trying to change anything in Java by mistake. Additionally it helps in Java be capable of accessing these hidden data and other specifies. The Java is also capable of accessing the classes, the fields, and also the methods and the constructors by the utilization of the modifiers.
Hope this will help you.
Regards!
Hello Samantha Smith,