Thank you for the feedback.
It was my pleasure.
And now: Onward and upward!
Cheers,
Type: Posts; User: Zaphod_b
Thank you for the feedback.
It was my pleasure.
And now: Onward and upward!
Cheers,
The reason that I wrote a completely separate test program is so that you can play around with whatever the heck command line stuff you want. I mean, it's always OK to ask, but wouldn't it save you...
Since my code had the public static void main() method in a public class named Z, it has to be in a file named Z.java to make the java compiler happy.
I have done this kind of thing so many times...
Did you read the tutorial reference that I gave? Explains about how use the args array to read Strings from the command line?
Your constructor takes two arguments. Instead of hard-coding the...
See the section of Java tutorials for Command-line Arguments
Try the following to test it:
public class Z {
public static void main(String [] args) {
System.out.println("Number...