Quiz
Test your knowledge of the material covered in this chapter by answering the following questions.
Questions
1: |
Which type of Java program can be run by a Java interpreter?
|
2: |
What special HTML tag is used to put a Java program onto a web page?
|
3: |
If you get into a fight with someone over the way to send information to a Java app, what are you doing?
- Struggling over strings
- Arguing about arguments
- Feudin' for functionality
|
Answers
A1: |
b. apps are run with the interpreter tool, and web pages containing applets can be run with the appletviewer tool as well as Java-capable World Wide Web browsers.
|
A2: |
a. The <applet> tag is used along with the <param> tag to send parameters to the applet. You'll learn about a second tag that can be used to present applets during Hour 17.
|
A3: |
b. apps receive information in the form of arguments. Can't we all just get along?
|
|