Question: Question 15 (1 point) For the pseudocode below: Class Musician Private String _na Private Integerr Private String so me ating Public Module Musi cian (String





Question 15 (1 point) For the pseudocode below: Class Musician Private String _na Private Integerr Private String so me ating Public Module Musi cian (String name, Integer rating, string song) Set name Set ratin Set song name -rating song End Module Public Module disp lay () Display na me, rating, song End Module Public Function Bo olean matches (String name) Return nam e == name End Function End Class Module main(String name) Declare Musician m usicians [ 4] Declare Integer co unter = 0 Set musicians[0] New Musician("John", 10, "Imagine Set musicians[1] New Musician("Paul", 9, "Listen t New Musician( "George", 8, "Here C New Musician ("Ringo", 7, "With a o What the Man Said") Set musicians [2 omes the Sun" ) Set musicians[3]- Little Help From My Friends" While counter
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
