Home of real teaching & learning
  • Full support for teachers
  • Focus on critical thinking
  • Engaging classroom activities
  • Integrated student eBook
  • Assessed tasks / qBank
  • Practice exam questions

The InThinking Guarantee: Our sites are written by expert practitioners and not by AI

See our AI policy

Disclaimer: InThinking subject sites are neither endorsed by nor connected with the International Baccalaureate Organisation.

Don't miss out, find out!

D.2 Features of OOP Exercises

1. Define the term encapsulation. 2. Explain the advantages of encapsulation. 3. What is the JAVA keyword that indicates that one class inherits another? 4. Consider the following code Write the code for a Monkey class which inherits the class Animal and which has the following additional instance variables:ID (eg MN001)Name (eg Oscar)Species (eg Mandrill) Do not include any methods apart from the constructor. 5....

Help