You need to sign in to do that
Don't have an account?
'THIS' keyword usage in a static variable inside a constructor
Hi, As per my understanding , the THIS keyword can be used only in an instance variable or method call inside a constructor. But may i know plz why in the below code, its been used for a static variable call inside a constructor ? Is that lega to call for static as well ?
![User-added image](/forums/servlet/rtaImage?eid=9062I000000XuHM&feoid=Body&refid=0EM2I000000ejHZ)
I hope this helps.