APCSA Unit 5 Review

Descrição

Quiz sobre APCSA Unit 5 Review, criado por Shannon Anderson-Rush em 29-10-2017.
Shannon Anderson-Rush
Quiz por Shannon Anderson-Rush, atualizado more than 1 year ago
Shannon Anderson-Rush
Criado por Shannon Anderson-Rush mais de 6 anos atrás
2297
0

Resumo de Recurso

Questão 1

Questão
What is a condition that should be true when a method is called?
Responda
  • Constructor
  • Precondition
  • Postcondition

Questão 2

Questão
Cannot have any return type, even void.
Responda
  • Constructor
  • Precondition
  • Postcondition

Questão 3

Questão
A variable declared in a method is local to that method and cannot be used outside of it.
Responda
  • True
  • False

Questão 4

Questão
Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
Responda
  • True
  • False

Questão 5

Questão
A return value must match the return type in the method header.
Responda
  • True
  • False

Questão 6

Questão
When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
Responda
  • True
  • False

Questão 7

Questão
You can have multiple methods with the same name in the same program.
Responda
  • True
  • False

Questão 8

Questão
A method invoked through one object may take as a parameter another oject of the same class.
Responda
  • True
  • False

Questão 9

Questão
Instance variables should be declared with public visibility to protect their data.
Responda
  • True
  • False

Questão 10

Questão
Each object has a state and a set of behaviors.
Responda
  • True
  • False

Semelhante

Computing Hardware - CPU and Memory
ollietablet123
SFDC App Builder 2
Parker Webb-Mitchell
Data Types
Jacob Sedore
Intake7 BIM L1
Stanley Chia
Software Processes
Nurul Aiman Abdu
Design Patterns
Erica Solum
CCNA Answers – CCNA Exam
Abdul Demir
Abstraction
Shannon Anderson-Rush
Spyware
Sam2
HTTPS explained with Carrier Pigeons
Shannon Anderson-Rush
Data Analytics
anelvr