public class LeftShift_Operator { public static void main(String args[]) { byte A = 65; int i; byte b; i = A << 2; b = (byte) (A << 2); System.out.print(i + " " + b); } }
output: 260 4
Previous Question Next Question
Your comments will be displayed only after manual approval.