Consider the following code which is supposed to subtract a value passed to the method from an instance variable; however, there is a problem. Re-write this code, without renaming any variable names, to resolve the problem.
private int number = 542;
public void subtractNumbers (int number)
number = number - number;
System.out.println("The local variable is: " + number);
System.out.println("The instance variable is: " + number);
I don't need an answer to the problem, I just need to know where to start because I have no idea.