Parameter Mystery

Category: Parameter Mystery
Author: Stuart Reges
Book Chapter: 3.1
Problem: Parameter Mystery
	Consider the following program. 

public class Mystery {
	public static void main(String[] args) {
		String hear = "bad";
		String song = "good";
		String good = "hear";
		String walk = "talk";
		String talk = "feel";
		String feel = "walk";
		
		claim(feel, song, feel);
		claim(good, hear, song);
		claim(talk, "song", feel);
		claim("claim", talk, walk);
		claim(talk, "bad", walk);
	}
	
	public static void claim(String hear, String good, String song) {
		System.out.println("to " + hear + " the " + song + " is " + good);
	}
}


	List below the output produced by this program. 
1) claim(feel, song, feel);
2) claim(good, hear, song);
3) claim(talk, "song", feel);
4) claim("claim", talk, walk);
5) claim(talk, "bad", walk);