0
How to pass arguments
System.out.println("users:"+argsă0ă+","+argsă1ă); we have to pass arguments ?
1 Answer
+ 7
If you've compiled your .java files to .class using javac, you can then execute them on the command line using the java cmd.
java myClass argument1 argument2 etc
check: https://docs.oracle.com/javase/tutorial/essential/environment/cmdLineArgs.html