1.

Which keyword is used by the method to refer to the object that invoked it?(a) import(b) catch(c) abstract(d) this

Answer» The correct answer is (d) this

The best I can explain: this keyword can be used inside any method to refer to the current object. this is always a reference to the object on which the method was invoked.


Discussion

No Comment Found

Related InterviewSolutions