[Java 소스] 쉬프트 연산자 Program.java public class Program { public static void main(String[] args){ exShift(); } private static void exShift() { System.out.println("3>4 : "+(48>>4)); System.out.println("48>>>4 : "+(48>>>4)); System.out.println("-48>>4 : "+(-48>>4)); System.out.println("-48>>>4 : "+(-48>>>4)); }} 실행 결과34 : 348>>>4 : 3-48>>4 : -3 -48>>>4 : 268435453 본문[Java] 2.2.5 쉬프트 연산