APCSA Unit 5 Review

Descripción

Test sobre APCSA Unit 5 Review, creado por Shannon Anderson-Rush el 29/10/2017.
Shannon Anderson-Rush
Test por Shannon Anderson-Rush, actualizado hace más de 1 año
Shannon Anderson-Rush
Creado por Shannon Anderson-Rush hace más de 6 años
2303
0

Resumen del Recurso

Pregunta 1

Pregunta
What is a condition that should be true when a method is called?
Respuesta
  • Constructor
  • Precondition
  • Postcondition

Pregunta 2

Pregunta
Cannot have any return type, even void.
Respuesta
  • Constructor
  • Precondition
  • Postcondition

Pregunta 3

Pregunta
A variable declared in a method is local to that method and cannot be used outside of it.
Respuesta
  • True
  • False

Pregunta 4

Pregunta
Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
Respuesta
  • True
  • False

Pregunta 5

Pregunta
A return value must match the return type in the method header.
Respuesta
  • True
  • False

Pregunta 6

Pregunta
When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
Respuesta
  • True
  • False

Pregunta 7

Pregunta
You can have multiple methods with the same name in the same program.
Respuesta
  • True
  • False

Pregunta 8

Pregunta
A method invoked through one object may take as a parameter another oject of the same class.
Respuesta
  • True
  • False

Pregunta 9

Pregunta
Instance variables should be declared with public visibility to protect their data.
Respuesta
  • True
  • False

Pregunta 10

Pregunta
Each object has a state and a set of behaviors.
Respuesta
  • True
  • False
Mostrar resumen completo Ocultar resumen completo

Similar

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