The args argument for main method may use any valid identifier. : main method « Java Source And Data Type « SCJP






For example, you can use arg, myArgs, or parms. 



public class MainClass{
    public static void main(String[] argv){
       System.out.println();
    }
}
    
public class MainClass{
    public static void main(String[] myArgs){
        System.out.println();
    }
}
    
    
public class MainClass{
    public static void main(String[] parms){
      System.out.println();
    }
}








1.19.main method
1.19.1.The main() method is the entry point for standalone Java applications.
1.19.2.The argument to main() is a single-dimension array of Strings
1.19.3.The main() method's void keyword must appear immediately before main().
1.19.4.The public and static keywords for main method may be interchanged.
1.19.5.This argument for main method may be defined as String[] args or String []args or String args[].
1.19.6.The args argument for main method may use any valid identifier.
1.19.7.How command-line arguments are accessed using the args array.