Exam prep

AP CSA Unit 1: you use objects before you build them, and that is deliberate

Unit 1 asks you to use objects before you understand how to make them, which feels backwards and is deliberate. Learning to call a method from documentation is a separate skill from writing one, and it comes first. The distinction that quietly decides marks all year is primitive against reference, and the tool below builds questions on it from your own notes.

DownloadApp StoreSoonGoogle Play
Free to startNo adsTR & EN

WeSolve+ reads the whole document and writes the questions for you

Upload your PDF, photograph your notebook, or point the camera. WeSolve+ writes questions from that material, explains why each answer is right, reads the chapter back to you as a podcast, and remembers every item you missed until you own it.

Start free!

The tool below is a small browser-only tool and it is not WeSolve+: paste a few lines and text rules turn them into cards on the spot. The real app, the one that uses AI, is behind the link above.

Java terms, from your own notes

This is a browser-only tool, and that is all it isIt splits the text you paste by rule, and nothing else. WeSolve+ is a different thing entirely: it reads your whole PDF with AI, writes the reasoning behind every question, speaks the chapter back to you, and remembers what you missed so it can return it. Try the real app now, free!

This tool splits the text you paste by rule and returns cards. It does not compile or run Java, so it works on the terms and behaviours you already wrote down.

Primitive against reference decides what copying means

A primitive variable holds a value, so copying it makes an independent second value. A reference variable holds an address, so copying it makes a second name for one object. Change it through either name and both see the change. Questions exploit this constantly and it is the highest value thing in the unit.

Strings look mutable and are not

A method that appears to change a String returns a new one and leaves the original untouched. That surprises people who assume assignment happened, and it produces a specific and common wrong answer: the original variable still holds its old value. Watch for a returned value that was never assigned to anything.

Integer division is not a rounding rule

Dividing two integers discards the remainder rather than rounding, so seven divided by two is three, not four. This appears in questions that look like they are about something else entirely, which is exactly why it is worth locking down. One deliberate check on the types involved prevents it.

Reading documentation is an examined skill

You are given method signatures and expected to work out what to pass and what comes back, for methods you have never seen. Practising with unfamiliar classes is therefore better preparation than memorising the ones your teacher used, because the exam is testing the reading rather than the recall.

Double equals compares the wrong thing for objects

For objects it compares addresses, so two separate objects with identical contents are not equal by that test. The equals method compares contents. This is one of the most reliably examined confusions in the whole course and it costs a mark every time it is not automatic.

What to photograph for Using Objects and Methods

Method signatures and your own traced examples. Related: CS Principles Unit 1, PDF to quiz and pricing.

Sources used on this page

Two kinds of variable, two behaviours
QuestionPrimitiveReference
What is storedThe value itselfThe address of an object
Copying itIndependent copySecond name, one object
Passing to a methodChanges stay localObject changes are visible outside
Comparing with double equalsCompares valuesCompares addresses
Comparing contentsDouble equals is fineUse equals
Can be nullNoYes

What is AP CSA Unit 1?

Using Objects and Methods: calling methods on objects other people wrote, primitive and reference types, and reading documentation.

Why does primitive against reference matter so much?

Because it decides what copying and passing mean. Copying a reference creates a second name for one object, so changes are visible through both.

Why do String methods seem not to work?

Because Strings are immutable. The method returns a new String and leaves the original alone, so the result has to be assigned to something.

What is seven divided by two in Java?

Three, if both are integers. Integer division discards the remainder rather than rounding, and this appears inside questions about other topics.

How should I practise reading documentation?

With classes you have never seen. The exam tests whether you can read a signature, not whether you remember the classes used in lessons.

When should I use equals instead of double equals?

Whenever you are comparing objects for content. Double equals compares addresses, so two identical objects fail that test.

Last updated: 2026-08-11