Discussion :: Classes and Objects - General Questions (Q.No.15)
|Michael said: (Jan 25, 2012)|
|That answer is kind of misleading actually. It doesn't adequately describe the nature of the condition. Different how? During each call to SetData()? Logically, this answer doesn't necessarily follow, except by way of elimination of the other (obviously) false answers.|
|Yakesh said: (Jul 18, 2012)|
|Just write the statement
Will get the o/p:
Hence option 5 is correct
|Avinash said: (Nov 3, 2017)|
|whenever we calling to method setdata repetadely it modifying class level variable inside method[
[( this.i ) and (this.j)] every time .
Hence answer is 5.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.