단항 : 오 -> 왼 (++, --, +, - , ~, ! )
대입 : 오-> 왼 (=, +=, -=, <<=, &=, |=)
산술 : 왼 -> 오 (* + << >>)
비교 : 왼 -> 오 (< > <= >= instanceof, ==, !=)
논리 : 왼 -> 오 (& ^ | && ||)
삼항 : 왼 -> 오 (?:)
산술 > 비교 > 논리 > 대입
단항 > 이항 > 삼항
+, - > '>>', '<<'
&& >> ||
& > ^ > |
== 대신 equals() 사용. t/f 리턴.
String str = new String("abc");
boolean result = str.equals("bcd"); // result = false
boolean result2 = str.equalsIgnoreCase("AbC"); //result2= true 대소문자무시
result = (x>y) ? true일 때 값 : false일 때 값;