public class test {
public static void main(String args[]) {
int a =1;
int b =2;
boolean flag;
flag = a>b;
System.out.println(flag);
}
}
关键句: flag = a>b;
若满足,则flag=true;
public class test {
public static void main(String args[]) {
int a =1;
int b =2;
boolean flag;
flag = a>b;
System.out.println(flag);
}
}
关键句: flag = a>b;
若满足,则flag=true;