A object is an [blank_start]instance[blank_end] of a class. Each class can have sub-classes which can [blank_start]inherit[blank_end] the properties and methods of the main class. A [blank_start]method[blank_end] is a action an object can perform, and a [blank_start]property[blank_end] is a descriptor of the object, or a variable relating to it.
Responda
instance
association
inherit
copy
method
property
Questão 2
Questão
Interfaces can only be implemented by 1 class
Responda
True
False
Questão 3
Questão
Check all which might be a property of a dog:
Responda
Breed
Colour
barkAtPostman
playDead
barkVolume
Questão 4
Questão
An association relationship can be:
Responda
1-to-1
1-to-Many
Many-to-Many
None of the above
Questão 5
Questão
In an aggregation relationship, if the parent object is destroyed, the child object is also destroyed.
Responda
True
False
Questão 6
Questão
In composition relationships, if the [blank_start]parent[blank_end] object is destroyed, so too will the [blank_start]child[blank_end] object. This is why it is often referred to as a "[blank_start]death[blank_end]" relationship.
Responda
parent
child
child
parent
death
destructive
murder
final
Questão 7
Questão
With polymorphism, each subclass may have its own way of implementing a function from the parent class.
Responda
True
False
Questão 8
Questão
Which of the following is not a real "method"?
Responda
Static
Abstract
Virtual
Real
Quer criar seus próprios Quizzesgratuitos com a GoConqr? Saiba mais.