best answer > What is the use of String args in Java?- QuesHub | Better Than Quora
The most authoritative answer in 2024
  • Isabella Thompson——Studied at Columbia University, Lives in New York City, NY

    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-08 14:10:03

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.

分享到

取消