Question: In Java, encapsulation helps to achieve data hiding by making the fields of a class public and providing access to them through private methods. True
In Java, encapsulation helps to achieve data hiding by making the fields of a class public and providing access to them through private methods. True or False
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
