Question: Copy and paste the code below into your main method String [] songs = {Wreckingball, Thayahnas Song, MUTUAL FRIEND, Naive, Marys Boy Child, The Colour

Copy and paste the code below into your main method

String [] songs = {Wreckingball, Thayahnas Song, MUTUAL FRIEND, Naive, Marys Boy Child, The Colour Violet, Toxic, First Class, 24 Hours, Whats Next, Goosebumps, Myself, Silence, SICKO MODE};

1. Create a method that will display the names of all of the songs in the array.

2. Create a method that will prompt the user for their favourite song. The program will return a boolean value - false if it is not in the array, true if it is in the array.

3. Create a method that will determine the NAME of the longest song (number of characters).

This should not be too difficult of a code and it should be in java

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!