This unit is about objects
By the end of this unit you should know
- what static means
- ★ static vs instance vs local variables
- static vs instance methods
- the difference between public, default and private access
- getters and setters
- how to create a constructor
- why one would make a constructor private
- how one constructor can call another
- how and why to write a .toString() method
- how to make a constant in Java
how to make subclasses
- how to check if two objects are equal (write a equals() method)
- how to use @Override (and how to override methods)
- overriding variables (don't do it) and methods
- super, this, final
- hiding vs overriding
and also this page: http://javainsimpleway.com/variable-hiding-in-java/
- overriding vs overloading
- inner classes
- anonymous inner classes
- ★ null pointer errors
You might want to look over the modifiers page as well.