Are you realy, realy sure that it doesn't make a default constructor?
public class Test {
public static void main(String[] args) {
Test t = new Test();
t.helloWorld();
}
public void helloWorld(){
System.out.println("hi");
}
}
output ->
hi
Process terminated with exit code 0