2021-05-27
运算符
public class BJDemo {
/*
* 比较运算符
* (恒等) != >= <= > <
*/
public static void main(String[] args){
int x = 90, y = 70;
boolean flags;
flags = (xy);
System.out.println(flags); //flags
flags = (x!=y);
System.out.println(flags); //true
原创
2021-05-27 16:03:22 ·
54 阅读 ·
0 评论