Exam 14: Applets and More

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

Which of the following is not a restriction placed on applets?

(Multiple Choice)
4.8/5
(42)

Which of the following sound file formats does Java not support?

(Multiple Choice)
4.8/5
(37)

What does the tag < p > cause to happen?

(Multiple Choice)
4.9/5
(32)

Hypertext can contain

(Multiple Choice)
4.9/5
(38)

What does the HTML tag < hr > cause to happen?

(Multiple Choice)
4.9/5
(38)

A mouse motion listener class can respond to:

(Multiple Choice)
4.9/5
(40)

In an HTML document,the tags

(Multiple Choice)
4.8/5
(41)

Certain restrictions are placed on applets.If an applet attempts to violate one of these restrictions,

(Multiple Choice)
4.9/5
(37)

Some browsers do not directly support the Swing classes of applets.

(True/False)
4.9/5
(35)

In the link produced by the following HTML,what word would you click to go to the linked location? Click here to learn more about < a href="http://www.applications.com" >applications.< /a >

(Multiple Choice)
4.8/5
(44)

In the following code that uses a Swing GUI,which line has an error? 1 public class TestApplet extends Applet 2 { 3 public void init() 4 { 5 JLabel label = new JLabel("Test label"); 6 setLayout(new FlowLayout()); 7 add(label); 8 } 9 }

(Multiple Choice)
4.9/5
(32)

An applet using a Swing GUI is extended from this class.

(Multiple Choice)
5.0/5
(30)

Whenever you need a component of any type to be painted,call the paint method.

(True/False)
4.7/5
(26)

These are Java programs that are usually part of a Web site.

(Multiple Choice)
4.9/5
(41)

When the applet viewer opens an HTML document with more than one < APPLET > tag,

(Multiple Choice)
4.7/5
(34)

The following getAudioClip()method returns an object that will load the sound file and assign the location of that file to clip which can then be used to call methods that may play the sound file one or more times: Audioclip clip = getAudioClip(getDocumentBase(),"mysound.wav");

(True/False)
4.8/5
(40)

In the following code,which line has an error? 1 public class TestApplet extends JApplet 2 { 3 public void init() 4 { 5 super.JApplet(); 6 JLabel label = new JLabel("Test label"); 7 setLayout(new FlowLayout()); 8 add(label); 9 } 10 }

(Multiple Choice)
4.8/5
(39)

If a frame component is 200 pixels wide and 300 pixels high,the lower,left-hand corner has (X,Y)coordinates of

(Multiple Choice)
5.0/5
(41)

The Applet class requires that you write a constructor to create an object of the class.

(True/False)
4.8/5
(35)
Showing 21 - 39 of 39
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)