Question: 2. A program is required to store details for a band comprising a drummer, a bass player, lead guitarist, keyboard player and a vocalist. Create
2. A program is required to store details for a band comprising a drummer, a bass player, lead guitarist, keyboard player and a vocalist. Create a Member class to represent the band members, storing their stage name and instrument. Create an array of 5 band members and store their details from the keyboard. Using the above information implement the private variables, public constructor and appropriate public get and set methods for the Member class. Finally write a method to display all band member
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
