Now that you've scratched the surface, go deeper:
Read Sections 2.1 and 2.2 in Java Concepts by Cay Horstmann.