Question: - Write a Java class which implements the Bicycle class outlined in the UML diagram above. The Bicycle class contains instance variables and a class

- Write a Java class which implements the Bicycle class outlined in the UML diagram above. The Bicycle class contains instance variables and a class variable. The class variable is to be used to keep count of the number of instances of the Bicycle class created. - You are also required to write a tester class which creates a number of instances of the Bicycle class and demonstrate the workings of the Bicycle class and the class variable. The tester class should also illustrate THREE ways to get rid of an object's reference
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
