Programming - Swings
You Are Here :: Home > JAVA > Swings - General Questions
25. |
JRadioButton() creates an ________ with no text.
|
A. |
unselected radio button |
B.
|
selected radio button |
C.
|
both a and b
|
D.
|
none
|
|
Answer: Option A
Explanation:
JRadioButton() creates an unselected radio button with no text. |
|
26. |
____________creates an unselected radio button with specified text.
|
A. |
JRadioButton(String s) |
B.
|
JRadioButton() |
C.
|
JRadioButton(String)
|
D.
|
JButton(String s)
|
|
Answer: Option A
Explanation:
JRadioButton(String s) creates an unselected radio button with specified text. |
|
27. |
JRadioButton(String s,boolean selected) creates a radio button with the ___________ and selected status.
|
A. |
text |
B.
|
status |
C.
|
unspecified text
|
D.
|
specified text
|
|
Answer: Option D
Explanation:
JRadioButton(String s,boolean selected) creates a radio button with the specified text and selected status. |
|
28. |
The JTextArea() class is used to create a text area. It is a multiline area that displays the __________ only.
|
A. |
plain text |
B.
|
normal text |
C.
|
specified text
|
D.
|
none
|
|
Answer: Option A
Explanation:
The JTextArea() class is used to create a text area. It is a multiline area that displays the plain text only. |
|
29. |
__________ creates a text area that displays no text initially.
|
A. |
JTextArea(String s) |
B.
|
JTextArea(String) |
C.
|
TextArea(String s)
|
D.
|
JTextArea()
|
|
Answer: Option D
Explanation:
JTextArea() creates a text area that displays no text initially. |
|
30. |
___________ creates a text area that displays specified text initially.
|
A. |
JTextArea() |
B.
|
JTextArea(String s) |
C.
|
JTextArea(String)
|
D.
|
TextArea(String s)
|
|
Answer: Option B
Explanation:
JTextArea(String s) creates a text area that displays specified text initially. |
|
« prev
next »