Answers

2016-03-28T15:06:12+05:30
2) This keyword is used as a glaobal refrence to the variable suppose you have two same variables in two different scopes,one inside the function and other outside the function and you wish to refer the outside one then this keyword is used.
example:
class Har {
int sum1,sum2;
{ public void (int sum1,sum2)
{
this.sum1=sum1;
this.sum2=sum2;
}
}
0