Which of the following code must be used for assigning local variable x value to class A's field x ?
public class A
public int x;
public void M(int x)
//assign local variable x value to field x.
this keyword must be used for assigning data into class level variable x from local variable x.
Back To Top