Answer:
Step-by-step explanation:
Each of the following println statements will print the following values
ystem.out.println(floozy); // Problem 1: 97.4
System.out.println(theObj.gravy); //Problem 2: 107.43
System.out.println(xray[2]); //Problem 3: 100
System.out.println(s); //Problem 4: Hello
This is because out of all of the variables that the myMethod gives a value to, the only variable that is being saved back to the global variable in the main method is a[2]. The other variables are being saved as instance variables and not being returned. Therefore, when the println statements are called they target the local variables in the main method.