Exam 2Exam 2 is designed to take 60 minutes to complete (tho…

Exam 2Exam 2 is designed to take 60 minutes to complete (though you have unlimited time in case you encounter any issues with Honorlock). It is worth 90 total points.Exam 1 consists of two parts:Part 1: Written Portion (50 minutes)Slide Identification Essays (4 essays, 5 minutes each, 20 minutes total)Long Essay (1 essays, 30 minutes, 40 points total)Part 2: Objective portion (10 minutes, 5 questions, 10 points)

#4 -L2 For the given program, how many times will the printl…

#4 -L2 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

#11  – L2 Which condition XXXX will prompt the user to enter…

#11  – L2 Which condition XXXX will prompt the user to enter a value less than 15, until a value that is less than 15 is actually input?     int enteredValue;Scanner scanner = new Scanner(System.in); do {     System.out.println(“Enter a number less than 15:”);    enteredValue = scanner.nextInt(); } while XXXX