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...