Hello guys.Let us talk about a special key word in Opp.That is 'this'
It is simple.
In a method or a constructor 'this' refer to the current object.
That is object whose method or constructor is being called.
It is simple.
In a method or a constructor 'this' refer to the current object.
That is object whose method or constructor is being called.