In Java, I have to create two or more methods.
What I can't understand is how to call a value of a variable into the second method from the first. For example, I create an Integer in my first method, but in my second method I need to use the same variable with the same value. I don't know how to do this.
Sorry if this is hard to understand, I can't think of how to explain it better.
Could this happen to you?