Please do in java Transaction class Design, implement and test the Transaction class. A Transaction object has a DJ, a S

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Please do in java Transaction class Design, implement and test the Transaction class. A Transaction object has a DJ, a S

Post by answerhappygod »

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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply