fork(2) download
  1. class Teste {
  2. public static void main(String[] args) {
  3. byte[] bytes = {(byte) 'a', (byte) 'b', (byte) 'c'};
  4. System.out.println(bytes);
  5. System.out.println(bytes.toString());
  6. byte[] bytes2 = {(byte) 'a', (byte) 'b', (byte) 'c'};
  7. System.out.println(bytes2);
  8. }
  9. }
Success #stdin #stdout 0.09s 27688KB
stdin
Standard input is empty
stdout
[B@1540e19d
[B@1540e19d
[B@677327b6