Exam 12: Object-Oriented Design
Exam 1: Introduction76 Questions
Exam 2: Using Objects82 Questions
Exam 3: Implementing Classes108 Questions
Exam 4: Fundamental Data Types124 Questions
Exam 5: Decisions119 Questions
Exam 6: Loops107 Questions
Exam 7: Arrays and Array Lists117 Questions
Exam 8: Designing Classes88 Questions
Exam 9: Inheritance99 Questions
Exam 10: Interfaces100 Questions
Exam 11: Input/Output and Exception Handling108 Questions
Exam 12: Object-Oriented Design104 Questions
Exam 13: Recursion99 Questions
Exam 14: Sorting and Searching100 Questions
Exam 15: The Java Collections Framework102 Questions
Exam 16: Basic Data Structures102 Questions
Exam 17: Tree Structures102 Questions
Exam 18: Generic Classes75 Questions
Exam 19: Stream Processing85 Questions
Exam 20: Graphical User Interfaces75 Questions
Exam 21: Advanced Input/Output90 Questions
Exam 22: Multithreading81 Questions
Exam 23: Internet Networking74 Questions
Exam 24: Relational Databases75 Questions
Exam 25: XML74 Questions
Select questions type
Given the following diagram showing class relationships:
What type of relationship is shown between LineItem and Product?

(Multiple Choice)
4.7/5
(39)
Given the following diagram showing class relationships:
What type of relationship is shown between Invoice and Address?

(Multiple Choice)
4.7/5
(38)
How does a UML diagram denote classes and their attributes and methods?
(Multiple Choice)
4.8/5
(33)
Which of the followings statements about class relationships is correct?
(Multiple Choice)
4.9/5
(32)
The United States has few legal protections against computer ____ ?
(Multiple Choice)
4.9/5
(41)
Select a code segment to complete the Team class, so that it reflects an aggregation relationship between Team and Player.
(Multiple Choice)
5.0/5
(35)
Which of the following would be an appropriate name for a class used in an inventory application?
(Multiple Choice)
4.8/5
(35)
In a UML diagram, the relationship symbol shown below denotes ____.

(Multiple Choice)
4.9/5
(44)
You are designing a software solution for an automobile rental company.A customer may rent only a single auto at a given time.You have decided that the following classes are needed: Auto, Customer, Address, Rental Contract.Which of these should be represented as aggregation?
(Multiple Choice)
5.0/5
(31)
When designing classes, if you find classes with common behavior you should ____.
(Multiple Choice)
4.9/5
(43)
Select a code segment to complete the Player class, so that it reflects an inheritance relationship between Player and Person.

(Multiple Choice)
4.8/5
(39)
Given the following diagram showing class relationships:
What type of relationship is shown between Invoice and LineItem?

(Multiple Choice)
4.8/5
(33)
Which of the following code snippets denotes that the Kitchen class depends on the Stove class?
(Multiple Choice)
4.8/5
(40)
Consider the following code snippet:
Which of the following statements is NOT correct?

(Multiple Choice)
4.9/5
(37)
Consider the following code snippet:
This code is best described as an example of ____.

(Multiple Choice)
4.8/5
(35)
When documenting discovered classes and methods during the design phase, you should ____.
(Multiple Choice)
4.9/5
(38)
The dependency relationship is sometimes referred to as the ____ relationship.
(Multiple Choice)
4.9/5
(32)
Suppose that the invoice-printing application from section 12.3 needs to be enhanced by including the computation and printing of sales taxes as needed.Since some vendors charge no sales taxes, the original Invoice class needs to be preserved.Select the code segment that best illustrates reuse of the existing Invoice class.
(Multiple Choice)
4.9/5
(29)
Consider the following code snippet:
Which of the following statements is NOT correct?

(Multiple Choice)
4.7/5
(26)
A/an ____ is used to create objects with the same behavior.
(Multiple Choice)
4.8/5
(42)
Showing 41 - 60 of 104
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)