Exam 14: Applets and More
Exam 1: Introduction to Computers and Java42 Questions
Exam 2: Java Fundamentals53 Questions
Exam 3: Decision Structures52 Questions
Exam 4: Loops and Files48 Questions
Exam 5: Methods50 Questions
Exam 6: A First Look at Classes49 Questions
Exam 7: A First Look at Gui Applications49 Questions
Exam 8: Arrays and the Arraylist Class52 Questions
Exam 9: A Second Look at Classes and Objects40 Questions
Exam 10: Text Processing and More About Wrapper Classes49 Questions
Exam 11: Inheritance49 Questions
Exam 12: Exceptions and Advanced File Io46 Questions
Exam 13: Advanced Gui Applications46 Questions
Exam 14: Applets and More39 Questions
Exam 15: Recursion34 Questions
Exam 16: Sorting, Searching, and Algorithm Analysis46 Questions
Exam 17: Generics50 Questions
Exam 18: Collections50 Questions
Exam 19: Array-Based Lists20 Questions
Exam 20: Linked Lists36 Questions
Exam 21: Stacks and Queues36 Questions
Exam 22: Binary Trees, Avl Trees, and Priority Queues45 Questions
Select questions type
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)
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)
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
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)