Question: I need help with creating a class called BarChart that displays a series of asterisks (*) for a specific number. The class's constructor should have
I need help with creating a class called BarChart that displays a series of asterisks (*) for a specific number. The class's constructor should have one integer parameter that represents the number of asterisks to display. The class should also have a method called displayBar that displays the series of asterisks.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
