[Solved] Do not debug or run in jvm,can you tell me what’s the output? [closed]


Okay, new B gets first an A get created, first instance fields, then calling B’s init() which sets i and j to 100. Then the B gets created, which initializes the i to 0.

Enter construct A...
Enter B's init...
0
100

3

solved Do not debug or run in jvm,can you tell me what’s the output? [closed]