3 java dq questions i need them asap willing to pay 5$ a piece.

1) Provide the definition of an If-Else statement. Identify when you would you use an If-Else statement in programming. 

Consider the Java code below:

if (x > 5)

  {

    System.out.println(“A”);

    if (x < 10)

    System.out.println(“B”);

  }

else

System.out.println(“C”);

What is displayed if x is:

4;

5;

6;

9;

10;

11

"Get 15% discount on your first 3 orders with us"
Use the following coupon
"FIRST15"

Order Now