Question: In Java: Program needs -App class that contains: your main() method an array of 5 Band objects A write() method that writes the bands with
In Java:
Program needs
-App class that contains:
your main() method
an array of 5 Band objects
A write() method that writes the bands with the top 2 highest scores information to a good.txt file
Allowed to Hardcode
-Band class that contains:
A battle() method that randomly assigns a score of 0-20 to each band.
A calc() method that finds the top 2 scores
A grabinfo() method that displays the bands name, Singers name, Home town, Guitar players name and a random competition score
Must be encapsulated
Must have a constructor
NOT ALLOWED to hard code
Side information:
Each Band must have-
A singer with a name
A guitar player with a name
A bassist with a name
A drummer with a name
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
