Question: In Java: Design a CounterConsoleMenu class that provides a console-based user interface for using Counter objects. This class should have, at minimum, the following behavior:
In Java:
Design a CounterConsoleMenu class that provides a console-based user interface for using Counter objects. This class should have, at minimum, the following behavior: A mechanism to display the menu of choices (increment, decrement, reset, quit)
A mechanism to get user input
A mechanism to display the current count value
A mechanism to increment, decrement, and reset the Counter
Develop a program called CounterTest to test the functionality of the CounterConsoleMenu and Counter classes working together.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
