Test
1_Classes and Objects Quiz
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 (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
Información
- Descripción
- Quiz on java classes and objects
- Autor
- ncmcoder
- Idioma
- English
- Visitas
- 6
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test