Test
CPSI 2413 - Unit 2
Crea una cuenta gratis para terminar este test
Guarda tu progreso y consulta tu resultado final.
¿Ya tienes cuenta? Inicia sesión
Preguntas del test (15)
1
Subclasses are more specific than the superclass they extend.- AVerdadero
- BFalso
2
In a UML diagram, an inheritance relationship is indicated with an arrow that points from the original class to the descendant class.- AVerdadero
- BFalso
3
When you use the method name with a child object, the parent’s version of the method is used.- AVerdadero
- BFalso
4Composition can be modeled as a "IS A" relationship.
- AVerdadero
- BFalso
5
Inheritance can be modeled as a "IS A" relationship.- AVerdadero
- BFalso
6Polymorphism relies on inheritance to operate.
- AVerdadero
- BFalso
7
When you create a superclass and one or more subclasses, each object of each subclass is a subclass object.- AVerdadero
- BFalso
8
Java does not allow a class to inherit directly from two or more parents.- AVerdadero
- BFalso
9
A nonstatic method cannot override a static member of a parent class.- AVerdadero
- BFalso
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.
- AVerdadero
- BFalso
14
Abstract classes and interfaces are similar in that you cannot instantiate concrete objects from either one.- AVerdadero
- BFalso
15
When you create a class that uses an interface, you include the keyword extends.- AVerdadero
- BFalso
Información
- Descripción
- CPSI 2413 Test sobre CPSI 2413 - Unit 2, creado por Adam Peterson el 26/01/2018.
- Autor
- Adam Peterson
- Idioma
- English
- Visitas
- 35
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test