Question: // this method prints out three items that are loved // What happens if the order of the parameters is changed? // What happens if
// this method prints out three items that are loved // What happens if the order of the parameters is changed? // What happens if you try to call this method with 1 argument? public static void love(String fave1, String fave2, String fave3) { System.out.println("I love:"); System.out.println(" 1. " + fave1); System.out.println(" 2. " + fave2); System.out.println(" 3. " + fave3); System.out.println(); }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
