Computer Science, asked by saradavenkat, 4 months ago

write a java program to print whether the statement is true or false

Answers

Answered by Anonymous
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