Please enable JavaScript to use CodeHS

AP CSA: MOD-1.E.8

CodeHS Lessons

Using a null reference to call a method or access an instance variable causes a NullPointerException to be thrown.

8.4 Calling a Void Method
12.12 Objects vs Primitives
2.4 Calling a Void Method
6.12 Objects vs Primitives
4.12 Objects vs Primitives