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!

B 3.2.5 Coding worksheet - Java

Use the following code and copy and paste it into various files in your IDE in a project called DesignPatterns. Instructions: Open your project in your IDE. Complete the coding tasks in order. After each task, run the code and answer the reflection question. Goal: Understand how the private constructor and static instance control object creation. Scenario: You want to use the Singleton to keep track of how many times...

Help