answersLogoWhite

0

Command Line Arguments---- I am trying to explain each word one by one
Command ------perform specific task
ex. When CMD is typed in run window and then press ok button then open a black screen that is called command prompt.
Command Line ------on command prompt where command is supplied that is called command line.
using command prompt dos commands are executed and java program is also executed using command prompt.
for executing java program command is supplied with given syntax
java java_class_name argument1 argument2.........
Java--- is a command
java_class_name ---name of java file which you want to execute
argument1 argument2 --- are the values passing to java application from out side
these argument1 argument2 are stored in string array argument of main method

User Avatar

Wiki User

15y ago

What else can I help you with?