HelloWorld.java 426 B

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