Completed the task just by hit and trial after reading all the comments of respected members Is there any difference between instance and local variable ? if I am correct this keyword is used to access the instance variable that is the local variable