Java Reference
In-Depth Information
What will happen when you attempt to compile and run this source code?
a. It compiles without error and runs correctly.
b. It compiles without error but does not display anything in the frame.
c. It does not compile because of the super() statement.
d. It does not compile because of the add() statement.
The answer is available on the topic's website at http://www.java21days.com. Visit the
Day 10 page and click the Certification Practice link.
Exercises
To extend your knowledge of the subjects covered today, try the following exercises:
1. Create an input dialog box that can be used to set the title of the frame that loaded
the dialog box.
2. Create a modified version of the Progress application that also displays the value
of the num variable in a text field.
10
Where applicable, exercise solutions are offered on the topic's website at http://www.
java21days.com.
 
Search WWH ::




Custom Search