fork download
  1. class A {}
  2. class B:A {}
  3.  
  4. void main() {
  5. A[] a = new B[6];
  6. a[0] = new A();
  7. }
  8.  
Success #stdin #stdout 0s 2036KB
stdin
Standard input is empty
stdout
Standard output is empty