Java can't compile in the browser - read the steps and type the code into the editor. Run it on your own machine when you're ready (any IDE with a JDK works).
Reference
bool isTrue = true;
int six = 6;
if(isTrue && six == 5){
System.out.println("isTrue, six = 5");
} else if(isTrue) {
System.out.println("isTrue is true");
} else {
System.out.println("None of the above");
}