22. 연산의 방향과 우선순위
//연산의 방향과 우선 순위 //오른쪽부터 연산 : ++, -- , +(부호연산자), -(부호), ~, ! , = //왼쪽부터 연산 : +(사칙연산), - , * , /, %, >>,>>>,=,,>) // 4. 비교연산자 (비교 연산자 == , != , >, >=, 19. 비트연산자 - bit operator 비트연산자 public static void main(String[] args) { //비트 연산자 : 2진수 연산 &(and) , | , ^ , ~(not,보수:complement) ,>>(오른쪽시프트), > int a = 40; int b = 25; System.out.println("a & b =" +(a&b)); //and(&) 는 둘다 참(1)이여 nxx5xxx.tistory.com 19...