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,
1 month ago
English,
1 month ago
India Languages,
1 month ago
Social Sciences,
2 months ago
Physics,
8 months ago