How can you use a variable in a method that is declared in main?

Printable View