What are command line arguments

Showing Answers 1 - 2 of 2 Answers

yogeshpanda

  • Sep 22nd, 2005
 

Command line arguements means ---Arguments that can be given at the starting of prg. execution.args in public static void main(String args[]) means args can take arguments from commandline.We can use any other name in place of args[],its not a strongly typed variable i.e its jst a varible not keyword.So public static void main(string name[]) will also do fine.

  Was this answer useful?  Yes

sandhya joshi

  • Nov 8th, 2005
 

if we want give information at runtime we use comand line args.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions