Default package | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Default package

In this code answer is coming 11 instead of 10. Why? https://code.sololearn.com/cD3hyC4MwD3F/?ref=app

2nd Nov 2018, 8:53 AM
harshit
harshit - avatar
1 Réponse
+ 5
line 14: obj2 = obj1; that means that both variables point to the same object in memory.
2nd Nov 2018, 11:06 AM
Al Toe