class ScopeTest { int test = 10; void printTest () { int test = 20; System.out.println("test = " + test); } public static void main(String arguments[]) { ScopeTest st = new ScopeTest(); st.printTest(); } }