Question: public class ParameterMystery { public static void main(String[] args) { String scarlett = green; String suspect = peacock; String lounge = ballroom; String pipe =

public class ParameterMystery { public static void main(String[] args) { String scarlett = "green"; String suspect = "peacock"; String lounge = "ballroom"; String pipe = "study"; String dagger = "pipe"; String weapon = "dagger"; clue(suspect, weapon, pipe); // call 1 clue(scarlett, pipe, suspect); // call 2 clue(dagger, lounge, "scarlett"); // call 3 clue(lounge, dagger, dagger); // call 4 clue(pipe, "miss " + scarlett, lounge); // call 5 } public static void clue(String a, String b, String c) { System.out.println(b + " in the " + c + " with the " + a); } }

What are the 4 results for output

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!