A method's signature consists of the method name and the sequence of types used to declare the method's parameters. public class MainClass { public static void main(String[] argv) { System.out.println(); } public int main(String[] argv) { System.out.println(); } }
Duplicate method main(String[]) in type MainClass