Sign shift to the right : Shifting « Language Basics « Java
- Java
- Language Basics
- Shifting
Sign shift to the right
public class Main {
public static void main(String[] argv) throws Exception {
byte c = -10;
System.out.println(c >> 1);
}
}
Related examples in the same category