Quiz
CPSI 2413 - Unit 2
Crie uma conta grátis para terminar este quiz
Salve seu progresso e veja sua nota final.
Já tem uma conta? Inicie sessão
Perguntas do quiz (15)
1
Subclasses are more specific than the superclass they extend.- AVerdadeiro
- BFalso
2
In a UML diagram, an inheritance relationship is indicated with an arrow that points from the original class to the descendant class.- AVerdadeiro
- BFalso
3
When you use the method name with a child object, the parent’s version of the method is used.- AVerdadeiro
- BFalso
4Composition can be modeled as a "IS A" relationship.
- AVerdadeiro
- BFalso
5
Inheritance can be modeled as a "IS A" relationship.- AVerdadeiro
- BFalso
6Polymorphism relies on inheritance to operate.
- AVerdadeiro
- BFalso
7
When you create a superclass and one or more subclasses, each object of each subclass is a subclass object.- AVerdadeiro
- BFalso
8
Java does not allow a class to inherit directly from two or more parents.- AVerdadeiro
- BFalso
9
A nonstatic method cannot override a static member of a parent class.- AVerdadeiro
- 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.
- AVerdadeiro
- BFalso
14
Abstract classes and interfaces are similar in that you cannot instantiate concrete objects from either one.- AVerdadeiro
- BFalso
15
When you create a class that uses an interface, you include the keyword extends.- AVerdadeiro
- BFalso
Informações
- Descrição
- CPSI 2413 Quiz sobre CPSI 2413 - Unit 2, criado por Adam Peterson em 26-01-2018.
- Autor
- Adam Peterson
- Idioma
- English
- Visualizações
- 35
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz