Hi,
I'm a bit confused here. Basically, I have two static methods, reverse() and reverseWords(). I have declared a
String answer inside reverse() and a String answer inside reverseWords().
Why does the second answer variable inside reverseWords() not get recognized? Is this second answer variable a static variable implicitly b/c it's inside a static method? Or is it a local variable whose scope is just inside the reverseWords() method? Is there two copies of the answer variable, one for each method, or just one for the entire class?
Thanks