CompSci.rocks

Writing Methods and Passing References

Free AP Computer Science A multiple-choice practice for topics 3.5–3.6, Unit 3 (Class Creation). Answer five random questions, check your work, and see the ideas behind each one.

Unit 3: Class Creation. Topics 3.5–3.6. This set has 59 questions. Each time the page loads you get five of them, chosen at random. Pick an answer, press Check answer, and read the explanation for every choice. Reload the page or use New questions for a fresh five. Not sure about an idea? Each question's table links to the AP CSA study guide.

Topics assessed

  • 3.5 Methods: How to Write Them
  • 3.6 Methods: Passing and Returning References of an Object

Practice questions

Loading questions…