Quiz
CPSI 2413 - Unit 2
Erstelle ein kostenloses Konto, um dieses Quiz zu beenden
Speichere deinen Fortschritt und sieh dir dein Endergebnis an.
oder mit deiner E-Mail registrieren
Schon ein Konto? Anmelden
Fragen in diesem Quiz (15)
1
Subclasses are more specific than the superclass they extend.- ARichtig
- BFalsch
2
In a UML diagram, an inheritance relationship is indicated with an arrow that points from the original class to the descendant class.- ARichtig
- BFalsch
3
When you use the method name with a child object, the parent’s version of the method is used.- ARichtig
- BFalsch
4Composition can be modeled as a "IS A" relationship.
- ARichtig
- BFalsch
5
Inheritance can be modeled as a "IS A" relationship.- ARichtig
- BFalsch
6Polymorphism relies on inheritance to operate.
- ARichtig
- BFalsch
7
When you create a superclass and one or more subclasses, each object of each subclass is a subclass object.- ARichtig
- BFalsch
8
Java does not allow a class to inherit directly from two or more parents.- ARichtig
- BFalsch
9
A nonstatic method cannot override a static member of a parent class.- ARichtig
- BFalsch
10
____ polymorphism is the ability of one method to work appropriately for subclasses of the same parent class.- ASubtype
- BName
- CSupertype
- DOverride
11____ is a mechanism that enables one class to acquire all the behaviors and attributes of another class.
- AInheritance
- BPolymorphism
- CEncapsulation
- DOverride
12If a programming language does not support ____, the language is not considered object-oriented.
- Asyntax
- Bapplets
- Cloops
- Dpolymorphism
13It is common to create an interface when you want a class to implement behavior from more than one parent.
- ARichtig
- BFalsch
14
Abstract classes and interfaces are similar in that you cannot instantiate concrete objects from either one.- ARichtig
- BFalsch
15
When you create a class that uses an interface, you include the keyword extends.- ARichtig
- BFalsch
Informationen
- Beschreibung
- CPSI 2413 Quiz am CPSI 2413 - Unit 2, erstellt von Adam Peterson am 26/01/2018.
- Autor
- Adam Peterson
- Sprache
- English
- Aufrufe
- 35
- Schlagwörter
- Bewertung
- Noch keine Bewertungen Bewerte dieses Quiz