2
answers
1
watching
192
views

  1. Why is encapsulation called Data Hiding?
  2. What are the main benefits of using encapsulation in Java?
  3. Provide an example of how to achieve encapsulation in Java.
  4. Is it possible to declare abstract methods as private?
    1. Justify your answer.
  5. Is it compulsory for a class, which has been declared as abstract, to have at least one abstract method?

For unlimited access to Homework Help, a Homework+ subscription is required.

Avatar image
Liked by wondergeek777 and 2 others

Unlock all answers

Get 1 free homework help answer.
Already have an account? Log in
Avatar image
Read by 1 person
Already have an account? Log in

Related questions

Related Documents

Weekly leaderboard

Start filling in the gaps now
Log in