Exam 12: Advanced Guis and Graphics
Exam 1: An Overview of Computers and Programming Languages50 Questions
Exam 2: Basic Elements of Java50 Questions
Exam 3: Introduction to Objects and Inputoutput50 Questions
Exam 4: Control Structures I: Selection50 Questions
Exam 5: Control Structures II: Repetition50 Questions
Exam 6: Graphical User Interface Gui and Object-Oriented Design OOD50 Questions
Exam 7: User-Defined Methods50 Questions
Exam 8: User-Defined Classes and Adts50 Questions
Exam 9: Arrays50 Questions
Exam 10: Inheritance and Polymorphism50 Questions
Exam 11: Handling Exceptions and Events50 Questions
Exam 12: Advanced Guis and Graphics49 Questions
Exam 13: Recursion50 Questions
Exam 14: Searching and Sorting50 Questions
Select questions type
A Java applet is the same as a Java GUI application program.
Free
(True/False)
4.7/5
(37)
Correct Answer:
False
Applets use the init method in place of constructors to initialize various GUI components and data members.
Free
(True/False)
4.9/5
(41)
Correct Answer:
True
JCheckBox is a subclass of the abstract class ToggleButton.
Free
(True/False)
4.9/5
(36)
Correct Answer:
True
Which of the following constructors would produce the color white?
(Multiple Choice)
4.7/5
(35)
Which of the following is NOT included in the Java applet in the accompanying figure?
(Multiple Choice)
4.9/5
(38)
You must import the package javax.swing in order to use the methods in the class Font.
(True/False)
4.9/5
(33)
Item events are handled by the interface ItemListener, which contains only the abstract method itemStateChanged.
(True/False)
4.9/5
(43)
You can create instances of Color by mixing red, green, and blue hues in various proportions.
(True/False)
4.7/5
(36)
What HTML tags begin and end a Web page?
A) <HEADING> </HEADING>
C) <HTML> </HTML>
B) <BODY> </BODY>
D) <OBJECT> </OBJECT>
(Short Answer)
4.8/5
(37)
Given Graphics object graph, which statement can you use to change the pen color to red?
(Multiple Choice)
4.7/5
(28)
Like Java application programs, Java applets have the method main.
(True/False)
4.7/5
(40)
You can use the methods Background and Foreground to set the background and foreground colors of a component.
(True/False)
4.8/5
(30)
In which of the following layout managers do all rows (columns) have the same number of components and all components have the same size?
(Multiple Choice)
4.8/5
(36)
Showing 1 - 20 of 49
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)