Please do in java code
DJ class
Design, implement and test a DJ class. A DJ object has a name -
djName and an isHired attribute (boolean). Also, a DJ object has 3
musicTypes. These are references to the Music class, where the
musicType is declared. In Stage 2 you will be required to declare
these 3 instance variables as 1 array.
A DJ object can return the value of each of its attributes, and
change the value of each of its attributes. It can also display
itself in the form:
Kongapa, Play List: Disco, Rap, Heavy Metal is hired
Impressions, Play List: House, Hip Hop, Jazz is available
Please do in java code DJ class Design, implement and test a DJ class. A DJ object has a name - djName and an isHired at
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am