This appears twice. First instance:
http://www.javapassion.com/handsonlabs/commandarguments/index.html (1.2) Read numbers as arguments Run the MyCompute program using java command passing two number arguments. C:\myjavaprograms>java MyCompute I am reading numbers as command line arguments.. Please enter two numbers! C:\myjavaprograms>java MyCompute 4 I am reading numbers as command line arguments.. Please enter two numbers! C:\myjavaprograms>java MyCompute 4 6 I am reading numbers as command line arguments.. Result of addition = 10 Result of addition = 24 The code clearly states that the last line is "Result of multiplication" but the example output calls it the result of addition. In the Netbeans provided Project it calls the last two lines the "Result of addition" when the bottom one should be the "Result of multiplication." alan --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en -~----------~----~----~----~------~----~------~--~---
