1 2 3 4 5 6 7
package test4; public class DeclMethodsList { public void foo() {} int foo(int i) { return i; } public void bar() {} }