Please do in java Transaction class Design, implement and test the Transaction class. A Transaction object has a DJ, a S
Posted: Tue May 24, 2022 8:37 am
Please do in java
Transaction class
Design, implement and test the Transaction class. A Transaction
object has a DJ, a Student and a Date. Declare the three attributes
private:
a. Student aStudent;
b. DJ aDJ;
c. Date dateToPlay;//used for the date that the DJ is hired to play
his Music.
A Transaction 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 (note the tabbed indentation â â\n\tâ):
Sheelagh (Phone 5550000) has hired
Kongapa, Play List: Disco, Rap, Heavy Metal is hired
Transaction class
Design, implement and test the Transaction class. A Transaction
object has a DJ, a Student and a Date. Declare the three attributes
private:
a. Student aStudent;
b. DJ aDJ;
c. Date dateToPlay;//used for the date that the DJ is hired to play
his Music.
A Transaction 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 (note the tabbed indentation â â\n\tâ):
Sheelagh (Phone 5550000) has hired
Kongapa, Play List: Disco, Rap, Heavy Metal is hired