Quiz
1_Classes and Objects Quiz
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 (8)
1An object is characterized by:
- AState and Validity
- BValidity and Accessibility
- CState and Behavior
- DBehavior and Accessibility
2A variable that represents an object is called
- AConjugate
- BAbstract
- CType
- DObject reference
3State of a given object is maintained in its
- AAlgorithms
- BInstance variables
- CEncapsulations
- DBehaviors
4Combining an object's data and methods into a class is called
- AEncapsulation
- BImplementation
- CInheritance
- DBoxing
5Public methods are accessible to:
- ASome client programs
- BAll client programs
- CAll client programs that asks for return value
- DAll client programs that are abstract
6Static variables are shared by:
- AAll instances of the class
- BAll instances of the class that are private
- CAll instances of the class that are public
- DSome instances of the class depending on what the static variable specifies.
7A constructor
- AMust have arguments
- BCannot be the same as the class
- CCreates and object of the class
- DHas a return type based on the class
8Static methods
- AMust have a return type
- BCannot access instance variables
- CCan access instance variables
- DMust not have a return type
Informações
- Descrição
- Quiz on java classes and objects
- Autor
- ncmcoder
- Idioma
- English
- Visualizações
- 6
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz