We have defined an overloaded method called printName with 3…

We have defined an overloaded method called printName with 3 different versions.  Decide which version will be called by the following statement so you can predict what the output will be:                                                             printName(“Ana”, 210); public static void printName(String name, int id) { System.out.print(name + ” ID: ” + id);} public static void printName(int id) { System.out.print(“Name” + ” ID: ” + id);} public static void printName(String name, int id, int age) { System.out.print(name + ” ID: ” + id + ” age: ” + age);}  

For the given program, how many times will the println metho…

For the given program, how many times will the println method be executed?   public class ShippingController {     //——————————————     public static void main(String[] args){         printShippingCost(8);        printShippingCost(18);        printShippingCost(25);            }//end main        //——————————————     public static void printShippingCost(double weight) {         if((weight > 0.0) && (weight 5.0) && (weight 10.0) && (weight