/* package whatever; // don't place package name! */ import java.util.*;import java.lang.*;import java.io.*; /* Name of the class has to be "Main" only if the class is public. */class Ideone{public static void overLoaded(Object a){System.out.println("IN OBJECT");}public static void main(String[] args){overLoaded();}}
Standard input is empty
Main.java:16: error: method overLoaded in class Ideone cannot be applied to given types; overLoaded(); ^ required: Object found: no arguments reason: actual and formal argument lists differ in length 1 error
Standard output is empty
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!