In Java, encapsulation is the technique of combining code and data into a single unit, such as a capsule containing several drugs. In Java, we can create a fully enclosed class by keeping all of the class's data members private.
VAISHNAVI RAJESH CHALKE
it helps me to clear my basic conceptual knowledge
Thank you! I enjoyed the course; I learned so much.