Question
Question 5 3 pts Edit this Question Delete this Question 0 multiple_choice_question 790654 (TCOs 1, 3, and 6) The extends keyword in a class declaration
Question 5 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790654
(TCOs 1, 3, and 6) The extends keyword in a class declaration indicates the use of
(TCOs 1, 3, and 6) The extends keyword in a class declaration indicates the use of
interfaces. |
polymorphism. |
composition. |
inheritance. |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 6 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790655
(TCOs 1, 3, and 6) The implements keyword in a class declaration indicates the use of
(TCOs 1, 3, and 6) The implements keyword in a class declaration indicates the use of
interfaces. |
polymorphism. |
composition. |
inheritance. |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 7 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790659
(TCOs 1, 3, and 6) AWT
(TCOs 1, 3, and 6) AWT
is the oldest Java GUI library. |
uses the native widgets from the operating system. |
is not recommended for modern application development due to programs with cross-platform portability. |
All of the above |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 8 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790663
(TCOs 1, 3, and 6) Which method must be used to register the event handler called eHandler to a JButton component called btnNew?
(TCOs 1, 3, and 6) Which method must be used to register the event handler called eHandler to a JButton component called btnNew?
btnNew.setHandler(eHandler); |
btnNew.addActionListener(eHandler); |
eHandler.addActionListener(btnNew); |
btnNew.eHandler(); |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 9 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790664
(TCOs 1, 3, and 6) Assume you have a text field named txtAddress. Which of the following statements gets the text from the text field and stores it in a String object named comments?
(TCOs 1, 3, and 6) Assume you have a text field named txtAddress. Which of the following statements gets the text from the text field and stores it in a String object named comments?
comments = txtAddress.getText(); |
comments = txtAddress.getString(); |
txtAddress.getText(comments); |
comments.getText(txtAddress); |
Move To... This element is a more accessible alternative to drag & drop reordering. Press Enter or Space to move this question.
Flag this Question
Question 10 3 pts
Edit this Question Delete this Question
0 multiple_choice_question 790669
(TCOs 1, 3, and 6) The handler (e.g., actionPerformed) is a required method in
(TCOs 1, 3, and 6) The handler (e.g., actionPerformed) is a required method in
both source and listener objects. |
a listener object. |
a source object. |
the Object class. |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started