43
Answer (Choose 1 answer)
What is the concept of data hiding in Java?
A. Encapsulating data within a class and providing controlled access through methods
B. Making data accessible to all classes in the program
C. Storing data in a central repository accessible to multiple classes
D. Restricting access to data within a specific package
Ext