5. Provide yourself an example (not one from your instructor) of how you use a particular command thatwill help jog your memory in the future when you need that command again. You must provide a littlecode as well as a written explanation with this one.
when using user input, everything is taken in as a string. To get user input you use,
s=JOptionPane.showInputDialog("blah");
and to convert the string to an int, x=Integer.valueOf(s);
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment