Java Programming

Computing

Quiz 12 :

Advanced Guis and Graphics

Quiz 12 :

Advanced Guis and Graphics

Question Type
search
arrow
The R in RGB stands for Right.
Free
True False
Answer:

Answer:

False

Tags
Choose question tag
close menu
arrow
You can create an applet by extending the class JFrame.
Free
True False
Answer:

Answer:

False

Tags
Choose question tag
close menu
arrow
Unlike application programs, when you compile a Java applet, no .class file is produced.
Free
True False
Answer:

Answer:

False

Tags
Choose question tag
close menu
arrow
The class Container is the superclass of all the classes designed to provide a GUI.
True False
Answer:
Tags
Choose question tag
close menu
arrow
You must import the package javax.swing in order to use the methods in the class Font.
True False
Answer:
Tags
Choose question tag
close menu
arrow
You can use the methods Background and Foreground to set the background and foreground colors of a component.
True False
Answer:
Tags
Choose question tag
close menu
arrow
Applets use the init method in place of constructors to initialize various GUI components and data members.
True False
Answer:
Tags
Choose question tag
close menu
arrow
Applets do not have titles.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The paint method is used to get data from the user.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The class Graphics provides methods for drawing items such as lines, ovals, and rectangles on the screen.
True False
Answer:
Tags
Choose question tag
close menu
arrow
An applet invokes the methods start, init, stop, paint, and destroy in sequence.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The class JComponent is part of the package javax.swing.
True False
Answer:
Tags
Choose question tag
close menu
arrow
You can create instances of Color by mixing red, green, and blue hues in various proportions.
True False
Answer:
Tags
Choose question tag
close menu
arrow
JCheckBox is a subclass of the abstract class ToggleButton.
True False
Answer:
Tags
Choose question tag
close menu
arrow
JTextAreas can be used to display multiple lines of text.
True False
Answer:
Tags
Choose question tag
close menu
arrow
Like Java application programs, Java applets have the method main.
True False
Answer:
Tags
Choose question tag
close menu
arrow
A Java applet is the same as a Java GUI application program.
True False
Answer:
Tags
Choose question tag
close menu
arrow
You can close an applet by closing the HTML document in which the applet is embedded.
True False
Answer:
Tags
Choose question tag
close menu
arrow
The class Graphics is an abstract class.
True False
Answer:
Tags
Choose question tag
close menu
arrow
You cannot convert a GUI application into an applet.
True False
Answer:
Tags
Choose question tag
close menu
Showing 1 - 20 of 49