+ 1
Default package
In this code answer is coming 11 instead of 10. Why? https://code.sololearn.com/cD3hyC4MwD3F/?ref=app
1 ответ
+ 5
line 14: obj2 = obj1;
that means that both variables point to the same object in memory.
In this code answer is coming 11 instead of 10. Why? https://code.sololearn.com/cD3hyC4MwD3F/?ref=app