Question
I would like to create a class in Java which is able to retain the first two lines of song lyrics, the songs musical key,
I would like to create a class in Java which is able to retain the first two lines of song lyrics, the songs musical key, beats per minute, the artists name, and the year released. In the class, Id like to create a couple of objects and a method to display the song artists name and release year, as well as the first line of the lyrics.
Also, Id like to write a method which can search through the lyrics for any three-word phrase in the order word_1 word_2 word_3.
Finally, how would you make an array which can contain the song elements (song lyrics, musical key, beats per minute, artist name, year released)?
Even if you can only finish part of it, any attempt at this would be very much appreciated! :)
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started