Powered by Ajaxy
Digg StumbleUpon LinkedIn YouTube Flickr Facebook Twitter RSS Reset

Java: Sign shift to the right

Java: Sign shift to the right
{filelink=4598}

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

Users who found this page were searching for:

  • writelines python

No comments yet.

Leave a Comment