package com.study.javastudy.study;
public class OperatorExam4 {
public static void main(String[] args) {
int i = 10;
int j = 10;
System.out.println(i == j);
System.out.println(i != j);
System.out.println(i < j);
System.out.println(i <= j);
System.out.println(i > j);
System.out.println(i >= j);
i += 10; // i = i + 10;
System.out.println(i);
System.out.println(i -= 5);
}
}
'자바 기초' 카테고리의 다른 글
| if 조건문 (0) | 2024.01.26 |
|---|---|
| 연산자 우선순위 (1) | 2024.01.26 |
| 연산자와 연산 (0) | 2024.01.26 |
| 기본형 데이터 타입 변환 (0) | 2024.01.26 |
| 기본형 데이터 타입 (0) | 2024.01.26 |