write a java program to print whether the statement is true or false
Answers
Answered by
2
Answer:
hope it helps..
mark BRAINLIEST:)
Explanation:
public class TrueFalse {
public static void main(String[] args) {
boolean boolVar;
boolVar = true;
System.out.println("boolVar = " + boolVar);
boolVar = false;
System.out.println("boolVar = " + boolVar);
}
}
Similar questions