Syllabus

  1. 01Hello, JavaWrite and run your first Java programs. Meet classes and the main method, print text and numbers, write comments, and see how source code becomes bytecode that the JVM runs.6 lessons
    1. 01Welcome to Java
    2. 02The Shape of a Java Program
    3. 03Printing Output
    4. 04Comments
    5. 05Compiling and Running
    6. 06Quiz: Hello, Java
  2. 02Variables and TypesStore information in named, typed variables. Learn int, double, long, boolean, char and String, Java's naming rules, and how final turns a variable into a constant.6 lessons
    1. 01Declaring Variables
    2. 02Whole Numbers and Decimals
    3. 03Booleans and Characters
    4. 04Strings
    5. 05Static Typing and Constants
    6. 06Quiz: Variables and Types
  3. 03Operators and ExpressionsCalculate with arithmetic operators, update variables in place, control the order of operations, convert between types with casts, and compare values to get booleans.5 lessons
    1. 01Arithmetic Operators
    2. 02Updating Variables
    3. 03Order of Operations and Casting
    4. 04Comparing Values
    5. 05Quiz: Operators and Expressions
  4. 04Classes and ObjectsModel things from the real world as classes. Give objects state with fields, set them up with constructors, give them behavior with methods, and make them print nicely with toString.7 lessons
    1. 01Classes and Instances
    2. 02Constructors
    3. 03Many Objects, One Class
    4. 04Instance Methods
    5. 05Parameters and Return Values
    6. 06Printing Objects with toString
    7. 07Quiz: Classes and Objects
  5. 05Tools and Practice ProjectsSee how Java is set up outside the browser with the JDK and an IDE, then practice everything from this course in two small projects: a trip cost calculator and a library book class.4 lessons
    1. 01The JDK and IDEs
    2. 02Project: Trip Cost Calculator
    3. 03Project: Library Book Class
    4. 04Quiz: Tools and Projects