
Programming/Java
#Java 6화) 비교연산자
이번에는 비교를 하는 연산자도 있다 비교란, 어떤 것일까? 그거다 그 뭐시고, 크거나 작거나 같거나 그런 것이다 일단 해보자 자~ 드가자~~ package Test; public class TestClass { public static void main(String[] args) { // TODO Auto-generated method stub int x = 2; int y = 3; } } 여기서 두 개의 수가 있다 이제 비교를 해보자 1. 크기 비교 위와 같이, 우리가 평소 사용하던 수학처럼 > ,