GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Quiz

APCSA Unit 5 Review

Shannon Anderson-Rush 10 Fragen 2.329 Aufrufe

Quiz starten

Fragen in diesem Quiz (10)

  1. 1What is a condition that should be true when a method is called?
    1. AConstructor
    2. BPrecondition
    3. CPostcondition
  2. 2Cannot have any return type, even void.
    1. AConstructor
    2. BPrecondition
    3. CPostcondition
  3. 3A variable declared in a method is local to that method and cannot be used outside of it.
    1. ARichtig
    2. BFalsch
  4. 4Most objects contain accessor and mutator methods to allow the client to manage data in a controlled manner.
    1. ARichtig
    2. BFalsch
  5. 5A return value must match the return type in the method header.
    1. ARichtig
    2. BFalsch
  6. 6When a method is called, the formal parameters are copied into the actual parameters. The types of the corresponding parameters must match.
    1. ARichtig
    2. BFalsch
  7. 7You can have multiple methods with the same name in the same program.
    1. ARichtig
    2. BFalsch
  8. 8A method invoked through one object may take as a parameter another oject of the same class.
    1. ARichtig
    2. BFalsch
  9. 9Instance variables should be declared with public visibility to protect their data.
    1. ARichtig
    2. BFalsch
  10. 10Each object has a state and a set of behaviors.
    1. ARichtig
    2. BFalsch

Informationen

Beschreibung
Quiz am APCSA Unit 5 Review, erstellt von Shannon Anderson-Rush am 29/10/2017.
Sprache
English
Aufrufe
2.329
Bewertung
Noch keine Bewertungen
Bewerte dieses Quiz
Bewerte dieses Quiz

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck