Boiled Down Java


These notes present a simplified foundation for programming in Java. Each page covers a single simple topic. The pages are kept short, and concentrate on only the most basic aspects of Java.

These notes are not concerned much with how to solve problems using Java. Instead, they concentrate on the Java language itself. Strategies and tactics for solving problems are a separate, but just as important, issue.


 
  1. Discussion of syntax
  2. Expressions
  3. Statements
  4. Independence from context
     
  5. Primitive types
  6. Variables and assignment statements
  7. Abbreviations for assignments
     
  8. Making choices
  9. Boolean expressions
  10. While loops
  11. For loops
  12. Breaking loops
  13. Flowgraphs
     
  14. Building an elementary Java program
  15. Functions that act like expressions
  16. Creating functions that act like expressions: one argument
  17. Creating functions that act like expressions: more than one argument
  18. Naming functions
  19. Function contracts
  20. Functions that act like statements
  21. Creating functions that act like statements