0

How i cant output value of b++ and c++

https://code.sololearn.com/cDl9rf0xMsEr Thanks guys

1st Aug 2018, 1:07 PM
wally22
2 Answers
+ 6
By default, classes do not output their properties. I've overridden that by adding the toString method to A. https://code.sololearn.com/cbW1P0YdvBMK
1st Aug 2018, 1:38 PM
John Wells
John Wells - avatar
+ 1
thanks really helpfull.
1st Aug 2018, 2:47 PM
wally22