Додати до Chrome
✅ Перевірена відповідь на це питання доступна нижче. Наші рішення, перевірені спільнотою, допомагають краще зрозуміти матеріал.
Consider the following piece of code. (The numbers on the left margin denote line numbers.)
In line 17, r1 and r2 refer to different instances/objects.
Lines 11 and 16 increment the member variable val of different instances/objects.
Lines 11 and 16 increment the member variable val of the same instance/object.
In line 17, r2 and r3 refer to the same instance/object.
Отримайте необмежений доступ до відповідей на екзаменаційні питання - встановіть розширення Crowdly зараз!