Quiz
APCSA Unit 5 Review
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 (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.
- AVerdadeiro
- BFalso
4Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
- AVerdadeiro
- BFalso
5A return value must match the return type in the method header.
- AVerdadeiro
- BFalso
6When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
- AVerdadeiro
- BFalso
7You can have multiple methods with the same name in the same program.
- AVerdadeiro
- BFalso
8A method invoked through one object may take as a parameter another oject of the same class.
- AVerdadeiro
- BFalso
9Instance variables should be declared with public visibility to protect their data.
- AVerdadeiro
- BFalso
10Each object has a state and a set of behaviors.
- AVerdadeiro
- BFalso
Informações
- Descrição
- Quiz sobre APCSA Unit 5 Review, criado por Shannon Anderson-Rush em 29-10-2017.
- Idioma
- English
- Visualizações
- 2.329
- Etiquetas
- Avaliação
- Ainda sem avaliações Avalie este quiz