completing java procedure
Can anyone help me to complete the java procedure below?
/** Obtain an output file name from the user and print on it all the strings in array b, each on its own line. If the user cancels the dialog to find the file name, print a message and return. */ public static void writeFile(String[] b) { } |
yes but if you are going to learn anything you should make more of an effort...
|
Hi -
Q: Is the a homework assignment, or an "exam cram" practice question? Q: How much of the code have you written so far? Can you post it? PS: If you're totally stumped, you might want to Google for "Java swing tutorial" or "JoptionPane" - that might at least get you started on the "user input" part... |
All times are GMT -5. The time now is 03:16 PM. |