Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 7 A subclass cannot override final methods of a parent class. True False 0.5 points QUESTION 8 If any method of a class is

QUESTION 7 A subclass cannot override final methods of a parent class. True False 0.5 points

QUESTION 8 If any method of a class is abstract the class must be declared abstract. True False 0.5 points

QUESTION 9 If you want to use a toString() method then you must always add this to your class. True False

QUESTION 10 Two objects are considered equal via the default equals() method only if they have the same address, not just because they have the same contents. True False 0.5 points

QUESTION 11 Java supports multiple inheritance, it's just not the best approach according to most programmers. True False

QUESTION 12 Which Java keyword means that you want to use an interface in your class? implements import include none of these

QUESTION 13 The use of Java packages encourages software reuse. True False 0.5 points

QUESTION 14 As a programmer you should try to handle conditions that result from: serious errors from the Errors class less serious errors from the Exceptions class both of these neither of these

QUESTION 15 A finally block, like a catch block, is only executed when an exception occurs. True False

QUESTION 16 A JFrame is a Swing component that you create to hold other Java GUI components that you want to be displayed. True False

QUESTION 17 Which Java GUI component is used to hold text that you might want to display to a user? JButton JCheckBox JButtonGroup JLabel 0.5 points

QUESTION 18 To have your Java GUI components placed in a row that automatically wraps around to the next row when filled, you'd use the BorderLayout class. True False

QUESTION 19 An event listener is Java code that you set up to execute as an event handler when a user event occurs for a GUI application. True False

QUESTION 20 The ___________ class combines the the features showing an option for selection and a drop down list box of other choices. JDropDownChoices JComboBox JPanel JMultiChoices

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions