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
Get step-by-step solutions from verified subject matter experts
