best answer > What is String [] args 2024?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Oliver Kim——Works at the International Renewable Energy Agency, Lives in Abu Dhabi, UAE.

    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-07 14:09:45

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.

分享到

取消