Question: in java Create a record called Song that has the following String title and artist as the fields Set a custom constructor to set up
in java Create a record called Song that has the following
String title and artist as the fields
Set a custom constructor to set up as empty String
add an additional behavior show that outputs Shout by "Otis Knight and the Days" as
Song: Shout
Artist: Otis Knight and the Days
Create three records and output there values using the show method in main
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
