Codemoji

Your code ยท JAVA

Java runs on a computer with a JDK - the steps are the check.

Type bool isTrue = true;

Notes

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;
bool isFalse = false;
if(isTrue && isFalse){
System.out.println("both are true");
} else {
System.out.println("1 or more is false");
}