HelloWorld.java 473 B

1234567891011121314151617181920212223
  1. package misc;
  2. import java.math.BigInteger;
  3. import java.util.Arrays;
  4. public class HelloWorld {
  5. public static void main(String[] args) {
  6. System.out.println("HelloWorld!");
  7. byte[] tmp = new byte[3];
  8. BigInteger bi = new BigInteger(1, tmp);
  9. System.out.println(bi.toByteArray().length);
  10. // System.out.println(tmp[3]);
  11. System.out.println(Arrays.copyOfRange(tmp, 2, 1).length);
  12. // throw new ArrayIndexOutOfBoundsException("" + 11);
  13. long a = 1L << -3;
  14. }
  15. }