Question: JAVA: Write a method called searchPlayList that takes an ArrayList of Strings as a parameter (the playList) and returns a boolean. In the method body,
JAVA:
Write a method called searchPlayList that takes an ArrayList of Strings as a parameter (the playList) and returns a boolean. In the method body, prompt the user to enter a song name (the search term, a String). Then check if the song name appears in the playlist ArrayList. If it is found, print "Song found", otherwise, print "Song not found".
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
