Thank you
Search found 2 matches
- Thu Oct 19, 2006 2:13 pm
- Forum: Java
- Topic: How to pass parameters to Java program?
- Replies: 2
- Views: 1755
It works!
Adding ' $prompt ' after ' $BaseName ' in the parameters field on run java application works!!
Thank you
Thank you
- Wed Oct 18, 2006 8:14 pm
- Forum: Java
- Topic: How to pass parameters to Java program?
- Replies: 2
- Views: 1755
How to pass parameters to Java program?
Hi,
I can successfully compile and run programs that don't require any arguments to be supplied, but how to I pass parameters / arguments to the program.
On the command line I can type: " java GetDaysInMonth October " and my program would output 31, so how do I pass the 'October' in textpad ...
I can successfully compile and run programs that don't require any arguments to be supplied, but how to I pass parameters / arguments to the program.
On the command line I can type: " java GetDaysInMonth October " and my program would output 31, so how do I pass the 'October' in textpad ...