Unit 2 · Selection and Iteration
Compound Conditions
Compound Conditions MCQ Practice
Question 1 of 15
Answered 0 of 15
Choose one answer.
What is printed by the following code segment?
public class CompoundConditionsContext
{
public static void runExample()
{
int t = 12;
System.out.print(t >= 10 && t <= 20);
}
public static void main(String[] args)
{
runExample();
}
}