Test
APCSA Unit 5 Review
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 (10)
1What is a condition that should be true when a method is called?
- AConstructor
- BPrecondition
- CPostcondition
2Cannot have any return type, even void.
- AConstructor
- BPrecondition
- CPostcondition
3A variable declared in a method is local to that method and cannot be used outside of it.
- AVerdadero
- BFalso
4Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
- AVerdadero
- BFalso
5A return value must match the return type in the method header.
- AVerdadero
- BFalso
6When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
- AVerdadero
- BFalso
7You can have multiple methods with the same name in the same program.
- AVerdadero
- BFalso
8A method invoked through one object may take as a parameter another oject of the same class.
- AVerdadero
- BFalso
9Instance variables should be declared with public visibility to protect their data.
- AVerdadero
- BFalso
10Each object has a state and a set of behaviors.
- AVerdadero
- BFalso
Información
- Descripción
- Test sobre APCSA Unit 5 Review, creado por Shannon Anderson-Rush el 29/10/2017.
- Idioma
- English
- Visitas
- 2.329
- Etiquetas
- Valoración
- Aún sin valoraciones Valora este test