Mega Code Archive

 
Categories / Java / Language Basics
 

Sign shift to the right

public class Main {   public static void main(String[] argv) throws Exception {     byte c = -10;     System.out.println(c >> 1);   } }