Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

Students also viewed these Accounting questions