Which of the following is true about encapsulation in Java?
Java MCQ: Which of the following is true about encapsulation in Java? a) Encapsulation allows internal implementation to be hidden from the user b) Encapsulation is achieved using access modifiers c) Encapsulation makes code more flexible and maintainable d) All of the above Answer: d) All of the above Explanation: Encapsulation in Java is the […]
Which of the following is true about encapsulation in Java? Read More »