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;