Exam 7: Object-Oriented Design
Exam 1: Introduction65 Questions
Exam 2: Data and Expressions77 Questions
Exam 3: Using Classes and Objects58 Questions
Exam 4: Writing Classes56 Questions
Exam 5: Conditionals and Loops37 Questions
Exam 6: More Conditionals and Loops36 Questions
Exam 7: Object-Oriented Design76 Questions
Exam 8: Arrays70 Questions
Exam 9: Inheritance71 Questions
Exam 10: Polymorphism70 Questions
Exam 11: Exceptions68 Questions
Exam 12: Recursion68 Questions
Exam 13: Collections68 Questions
Select questions type
The idea of having programmers and developers meet in order to critique a software design or implementation is known as
(Multiple Choice)
4.9/5
(39)
If classes C1 and C2 both implement an interface Cint, which has a method whichIsIt, and if C1 c = new C1( ); is performed at one point of the program, then a later instruction c.whichIsIt( ); will invoke the whichIsIt method defined in C1.
(True/False)
4.7/5
(39)
Java does not support multiple inheritance, but some of the abilities of multiple inheritance are available by
(Multiple Choice)
5.0/5
(37)
Arranging components in a GUI container is accomplished by using which of the following?
(Multiple Choice)
4.8/5
(31)
In what way is black-box testing better than glass-box testing?
In what way is glass-box testing better than black-box testing?
(Essay)
4.9/5
(44)
Which of the following interfaces would be used to implement a class that represents a group (or collection) of objects?
(Multiple Choice)
4.8/5
(35)
In using the BoxLayout, adding space between components in a container can be accomplished by
(Multiple Choice)
4.7/5
(35)
What is wrong with the following message to create a BoxLayout for the JPanel jp?
Jp)setLayout(new BoxLayout(BoxLayout.X_AXIS));
(Multiple Choice)
4.7/5
(32)
Provide code to generate the following JFrame. Each lettered item is a JButton. Hint: Create several JPanels, each one having two or more JButtons and taken up a portion of the JFrame.


(Essay)
4.8/5
(40)
Which Layout Manager is used by default if you do not specify a Layout Manager for your GUI container?
(Multiple Choice)
4.8/5
(42)
Write code to create a JPanel with 4 JCheckBox GUI components and two JLabels for output, one that says "Current cost is" and the other that outputs the computed cost based on which of the food items has been selected.
(Essay)
4.8/5
(31)
In black-box testing, the tester should already know something about how the program is implemented so that he/she can more carefully identify what portion(s) of the software are leading to errors.
(True/False)
4.7/5
(37)
In order to create a constant, you would use which of the following Java reserved words?
(Multiple Choice)
4.9/5
(31)
If a programmer follows the four phases of program development as intended, which of the four phases should require the least amount of creativity?
(Multiple Choice)
4.7/5
(35)
Which Layout Manager type would you use if you want GUI components to be placed at the North, South, East, West and Center of the container?
(Multiple Choice)
4.8/5
(31)
Showing 41 - 60 of 76
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)