Question: Modify the Comments.java program in Exercise 10 so that the statement about comments is displayed in a dialog box. Save the class as CommentsDialog.java. Data
Modify the Comments.java program in Exercise 10 so that the statement about comments is displayed in a dialog box. Save the class as CommentsDialog.java.
Data from Exercise 10.
Write, compile, and test a class that uses the command window to display the following statement about comments: Program comments are nonexecuting statements you add to a file for documentation.Also include the same statement in three different comments in the class; each comment should use one of the three different methods of including comments in a Java class. Save the class as Comments.java.
Step by Step Solution
3.42 Rating (161 Votes )
There are 3 Steps involved in it
CommentsDialog Java CommentsDialogjava Chapter 1 Exercise 11 Displ... View full answer
Get step-by-step solutions from verified subject matter experts
