Staging · for review, not public

Week 2 · Thursday, Jan 14 · 2.4

Reading the documentation, and Quiz 1

A class's documentation lists its attributes, the data it keeps, and its behaviors, what it can do, so you can use a class without seeing its code.

Minutes for each part of a 90-minute class.

Today we will

  • A library is a collection of classes, grouped into packages
  • An API specification tells you how to use those classes
  • Attributes are the data a class keeps; behaviors are what it can do
  • Integer.MAX_VALUE in the Quick Reference is an attribute of Integer
  • Review: errors, types, output, assignment, casting, shortcuts, comments
  • Quiz 1 on paper starts at minute 45

Terms

libraryAPIpackageattributebehaviordocumentation

AP topics 1.7 · Learning objectives 1.7.A · Skills 1.A, 3.A, 3.D, 4.A, 4.B

0–10 min

Do Now

Warm up the moment you sit down. One code when you finish.

Open the Do Now
10–35 min

Demonstration

Chromebooks open. Follow along on the Follow along jobs in We Do / You Do while Mr. Muggivan works the examples.

10–45 min

Review

Review for today's quiz. One code when you finish.

Open We Do / You Do
45–90 min

Quiz (paper)

Today’s quiz is on paper. No exit ticket today.

Missed class? The Do Now and We Do / You Do stay open. Do them any time and submit your codes.