Skip to main content

← Computer Science syllabus

United StatesComputer Science

Unit 2: Using Objects

9 dot points across 9 inquiry questions. Click any dot point for a focused answer with worked past exam questions where available.

How does a non-void method return a value, and how do you use that returned value?

How do you pass arguments to a void method, and how do parameters and arguments correspond?

How do you call a void method on an object using dot notation, and what does void mean?

How do you create an object with the new keyword and a constructor, and store it in a reference variable?

What is the relationship between a class and an object, and what does it mean to say an object is an instance of a class?

How are String objects created and joined, and what does string concatenation do with different operand types?

Which String methods does AP CSA require, and how do length, substring, indexOf, equals and compareTo behave?

Which Math class methods does AP CSA require, and how do you generate a random number in a chosen range?

What are the Integer and Double wrapper classes, and how do autoboxing, unboxing and their useful constants and methods work?