class Demo3_Operator {
public static void main(String[] args) {
//关系运算符
//==,!=,>,>=.<,<=
System.out.println(4 == 3);
System.out.println(4 != 3);
System.out.println(4 > 3);
System.out.println(4 >= 3);
System.out.println(4 < 3);
System.out.println(4 <= 3);
}
}
Day2 笔记 关系运算符的基本用法及注意事项
- admin
- 0