repl.it
@ABHISHEKAREER/

boolean values

Java

No description

fork
loading
Files
  • Main.java
Main.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
import java.util.*;
import java.lang.*;
class Main
{
  public static void main(String [] aa)
  {
    boolean bb;
    bb=true;
  System.out.println(bb);
  bb=false;
  System.out.println(bb);
  bb=true;
  if(bb)
  {
    System.out.println("the statment is true");
  }
  else
  {
    System.out.println("the statment is false");
  }
  int c,a,b;
  a=10;
  b=5;c=a/b;
  if(c<a)
  bb=false;
  else
  bb=true;
  if(bb)
  {
    System.out.println("the statment is true");
  }
  else
  {
    System.out.println("the statment is false");
  }
  }
}
Fetching token
?