Compiler Error J0077

Not enough arguments for method 'identifier'

The compiler detected a known method call, but the call contained fewer arguments than needed. This error usually occurs when one or more arguments are accidentally omitted from the call.

The following example illustrates this error:

public class Simple {
   
   public void method1(int arg1) {
      // do something meaningful
   }
   
   public void method2() {
   
      method1(); // error: Too few arguments
   }
}