+ 1

Why is 44 displayed in the output?

It should be a total number of the members, which is 4. https://code.sololearn.com/cCvqQ1djgzUo/?ref=app

17th Jul 2018, 3:24 AM
Jaren Dogan
Jaren Dogan - avatar
1 Resposta
0
Because the total number is printed at 33 line after it is printed in the constructor. How about changing "System.out.print" into "System.out.println" at 10 lines.
17th Jul 2018, 3:50 AM
Disvolviĝo;
Disvolviĝo; - avatar