Ask a new question
Sign up
Login
Home
Discover Topics
Referral Program
Loans
Flashcards
Upload
Contact us
Topics
Topic
Computing
Study-set
Java Programming
Prev
Quiz
Next
Quiz
Java Programming
Computing
Quiz 12 :
Advanced Guis and Graphics
Study Flashcards
Looking for
Programming Homework Help?
Unlock Package
Study Flashcards
Unlock Package
Quiz 12 :
Advanced Guis and Graphics
Prev
Quiz
Next
Quiz
Question Type
All
The R in RGB stands for Right.
Free
True False
Q01
Answer:
Answer:
False
Tags
Add
Choose question tag
Discard
Apply
You can create an applet by extending the class JFrame.
Free
True False
Q02
Answer:
Answer:
False
Tags
Add
Choose question tag
Discard
Apply
Unlike application programs, when you compile a Java applet, no .class file is produced.
Free
True False
Q03
Answer:
Answer:
False
Tags
Add
Choose question tag
Discard
Apply
The class Container is the superclass of all the classes designed to provide a GUI.
True False
Q04
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
You must import the package javax.swing in order to use the methods in the class Font.
True False
Q05
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
You can use the methods Background and Foreground to set the background and foreground colors of a component.
True False
Q06
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
Applets use the init method in place of constructors to initialize various GUI components and data members.
True False
Q07
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
Applets do not have titles.
True False
Q08
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
The paint method is used to get data from the user.
True False
Q09
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
The class Graphics provides methods for drawing items such as lines, ovals, and rectangles on the screen.
True False
Q10
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
An applet invokes the methods start, init, stop, paint, and destroy in sequence.
True False
Q11
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
The class JComponent is part of the package javax.swing.
True False
Q12
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
You can create instances of Color by mixing red, green, and blue hues in various proportions.
True False
Q13
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
JCheckBox is a subclass of the abstract class ToggleButton.
True False
Q14
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
JTextAreas can be used to display multiple lines of text.
True False
Q15
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
Like Java application programs, Java applets have the method main.
True False
Q16
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
A Java applet is the same as a Java GUI application program.
True False
Q17
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
You can close an applet by closing the HTML document in which the applet is embedded.
True False
Q18
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
The class Graphics is an abstract class.
True False
Q19
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
You cannot convert a GUI application into an applet.
True False
Q20
Answer:
Unlock to view answer
Tags
Add
Choose question tag
Discard
Apply
Showing 1 - 20 of 49
Prev
1
...
2
...
3
...
Next