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?

  1. Applets
  2. apps
  3. None
2:

What special HTML tag is used to put a Java program onto a web page?

  1. <applet>
  2. <program>
  3. <run>
3:

If you get into a fight with someone over the way to send information to a Java app, what are you doing?

  1. Struggling over strings
  2. Arguing about arguments
  3. 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?

      
Comments