best answer > What is the argument of main method in Java 2024?- QuesHub | Better Than Quora
  • What is the argument of main method in Java 2024?

    方法 参数 如果你

    Questioner:Isabella Lee 2023-05-05 12:30:26
The most authoritative answer in 2024
  • Lily Brooks——Studied at Columbia University, Lives in New York City. Experienced marketer currently working for a global advertising agency.

    In Java 'args' contains the supplied command-line arguments as an array of String objects. In other words, if you run your program as 'java MyProgram abc xyz' then 'args' will contain ["abc", "xyz"]. When a java class is executed from the console, the main method is what is called.read more >>
    +119962023-05-13 12:30:26

About “方法、参数、如果你”,people ask:

READ MORE:

QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.

分享到

取消