
2. Using ObjectsΒΆ
In this unit, you will learn how to create and use objects in Java.
Class Periods: 13-15
AP CS A Exam Weighting: 5-7.5%
Unit 2 Table of Contents
- 2.1. Objects - Instances of Classes
- 2.2. Creating and Initializing Objects: Constructors
- 2.2.1. Overloading Constructors, the No-Argument Constructor, and Parameters
- 2.2.2. The World Class Constructors
- 2.2.3. The Turtle Class Constructors
- 2.2.4. Object Variables and References
- 2.2.5. Constructor and Method Signatures
- 2.2.6. Calendar Example
- 2.2.7. Formal Parameters, Actual Parameters, and Call by Value
- 2.2.8. Programming Challenge : Debugging
- 2.2.9. Summary
- 2.2.10. AP Practice
- 2.3. Calling Methods Without Parameters
- 2.4. Calling Methods With Parameters
- 2.5. Calling Methods that Return Values
- 2.6. Strings
- 2.7. String Methods
- 2.8. Wrapper Classes - Integer and Double
- 2.9. Using the Math Class
- 2.10. Unit 2 Summary
- 2.11. Mixed Up Code Practice
- 2.12. Coding Practice
- 2.13. Practice Test for Objects (2.1-2.5)
- 2.14. Multiple Choice Exercises
- 2.15. Java Swing GUIs (optional)
You have attempted of activities on this page