2
answers
1
watching
192
views
9 Jun 2022
- Why is encapsulation called Data Hiding?
- What are the main benefits of using encapsulation in Java?
- Provide an example of how to achieve encapsulation in Java.
- Is it possible to declare abstract methods as private?
- Justify your answer.
- Is it compulsory for a class, which has been declared as abstract, to have at least one abstract method?
- Why is encapsulation called Data Hiding?
- What are the main benefits of using encapsulation in Java?
- Provide an example of how to achieve encapsulation in Java.
- Is it possible to declare abstract methods as private?
- Justify your answer.
- Is it compulsory for a class, which has been declared as abstract, to have at least one abstract method?
Liked by wondergeek777 and 2 others
priyhuaroraLv3
9 Jun 2022
Read by 1 person
carlyburchLv1
9 Jun 2022
Already have an account? Log in