The command-line argument accepts the data value as an _________
of Strings.
Answers
Answered by
2
To run this java program, you must pass at least one argument from the command prompt.
class CommandLineExample{
public static void main(String args[]){
System.out.println("Your first argument is: "+args[0]);
}
}
Similar questions
Math,
2 months ago
Math,
2 months ago
Math,
2 months ago
Social Sciences,
5 months ago
Physics,
11 months ago