Exam 12: Object-Oriented Design
Exam 1: Introduction96 Questions
Exam 2: Fundamental Data Types103 Questions
Exam 3: Decisionseasy99 Questions
Exam 4: Loops100 Questions
Exam 5: Methods94 Questions
Exam 6: Arrays and Arraylists100 Questions
Exam 7: Inputoutput and Exception Handling100 Questions
Exam 8: Objects and Classes101 Questions
Exam 9: Inheritance and Interfaces99 Questions
Exam 10: Graphical User Interfaces54 Questions
Exam 11: Advanced User Interfaces91 Questions
Exam 12: Object-Oriented Design100 Questions
Exam 13: Recursion100 Questions
Exam 14: Sorting and Searching99 Questions
Exam 15: The Java Collections Framework100 Questions
Exam 16: Basic Data Structures94 Questions
Exam 17: Tree Structures100 Questions
Exam 18: Generic Classes78 Questions
Exam 19: Streams and Binary Inputoutput82 Questions
Exam 20: Multithreading82 Questions
Exam 21: Internet Networking74 Questions
Exam 22: Relational Databases75 Questions
Exam 23: XML74 Questions
Exam 24: Web Applications74 Questions
Select questions type
Which of the following is NOT a reason to place classes into a package?
(Multiple Choice)
4.9/5
(34)
Given the following diagram showing class relationships:
What type of relationship is shown between Invoice and Product?

(Multiple Choice)
4.9/5
(32)
You have determined the need for a File class and a Folder class in your program. Which of the following would best describe the relationship between these classes?
(Multiple Choice)
4.9/5
(43)
In a UML diagram, the relationship symbol shown below denotes ____. 

(Multiple Choice)
4.8/5
(36)
Which statement correctly describes the class relationship shown in this diagram? 

(Multiple Choice)
4.7/5
(44)
You are designing an application to support an automobile rental agency. Which of the following probably should NOT be represented as an object?
(Multiple Choice)
4.8/5
(33)
Given the following diagram showing class relationships:
What of the following best describes the type of relationship shown between Bank and Customer?

(Multiple Choice)
4.9/5
(41)
When using the CRC method, other classes that are needed to fulfill the responsibilities of a given class are called its ____.
(Multiple Choice)
4.8/5
(41)
If you do not include a package statement at the top of your class source file, its classes will be placed in which package?
(Multiple Choice)
4.8/5
(41)
During the implementation phase, which of the following statements is true?
(Multiple Choice)
4.9/5
(39)
Consider the following code snippet:
Public class PowerBoat extends Vessel
{
Private Engine[] engines;
) . .
}
This code is best described as an example of ____.
(Multiple Choice)
4.7/5
(27)
Under which of the following conditions would the public interface of a class be considered cohesive?
(Multiple Choice)
4.9/5
(43)
Consider the following code snippet:
Public class Motorcycle extends Vehicle
{ ) . . }
Which of the following statements correctly describes the relationship between the Motorcycle and Vehicle classes?
(Multiple Choice)
4.9/5
(40)
Given the following diagram:
What does this diagram indicate about the relationship between the customers and bank accounts?

(Multiple Choice)
4.9/5
(37)
You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the requirements: Auto, Customer, Address, Rental Contract, Mileage, Rental Date, Daily Rate, Total. Which of these should be represented as instance variables?
(Multiple Choice)
4.9/5
(40)
You are designing a software solution for an automobile rental company. You have decided that the following nouns apply to the requirements: Auto, Customer, Address, Rental Contract, Mileage, Rental Date, Daily Rate, Total. Which of these should be represented as classes?
(Multiple Choice)
4.9/5
(40)
When using UML to create state diagrams, a state is denoted by ____.
(Multiple Choice)
4.8/5
(39)
Showing 81 - 100 of 100
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)