/* 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 xd{int a;public xd(int a){this.a = a;}}class Ideone{ public static void main (String[] args) throws java.lang.Exception { xd xd = new xd(); }}
Standard input is empty
Main.java:18: error: constructor xd in class xd cannot be applied to given types; xd xd = new xd(); ^ required: int 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!