First Steps
  • Downloading and installing IntelliJ IDEA
  • Creating a new Java project
Introduction to Java Code
  • A Java program is like a recipe
  • A recipe's method and Java methods
  • The structure of a basic program
HelloWorld: Writing Our First Program
  • Displaying a message on the screen
  • Formatting text using escape sequences
  • A glimpse into methods and System.out.println()
  • Using packages to organise our classes
  • Coding Challenge 1 - HelloWorld
Variables
  • Introduction to variables
  • The int and double data types
  • Variable manipulation and integer division
  • The char, boolean, and String data types
  • Variable naming rules and best practices
  • Type casting
User Input
  • Reading input using the Scanner
  • Writing a question and answer program
  • The System.out.format() method
  • Applying System.out.format()
  • Tokens and the nextLine() method
  • Coding Challenge 2 - User Input
Conditional Statements
  • Introduction to if-statements
  • If, else-if, and else blocks
  • Complex conditions with logical operators
  • Checking String equality
  • Nesting if-statements
  • Lexical scope
  • The switch statement
  • Coding Challenge 3 - If-then Statements
Loops
  • The while loop
  • The for loop
  • Break and continue
  • The do-while loop
  • The modulo operator
  • Coding Challenge 4 - Loops
Arrays
  • Introduction to arrays
  • Adaptive iteration
  • Simple processing using arrays
  • Sizes, types, and fortune tellers
  • Inputting data and generating a statistic
  • Foreach loop
  • Coding Challenge 5 - Arrays
Methods (Functions)
  • Introduction to methods
  • Passing data to methods
  • Returning data from methods
  • Passing and returning data
  • References (part 1)
  • References (part 2)
  • Class/Static members
Java Fundamentals Wrap Up
  • Program walkthrough: Tic-Tac-Toe
  • Program walkthrough: Prime Numbers
  • Coding Challenge 6 - End of Section Challenges
Practical: A Simple Guest List Program
  • Creating the menu and displaying the guest list
  • Adding guests
  • Deleting guests (part 1)
  • Deleting guests (part 2)
  • The full code
  • Exercise 1
  • Solution: Exercise 1
  • Exercise 2
  • Solution: Exercise 2
  • Exercise 3
  • Solution: Exercise 3
  • Exercise 4
  • Solution: Exercise 4
  • Exercise 5
  • Solution: Exercise 5
  • Exercise 6
  • Solution: Exercise 6
  • Exercise 7
  • Solution: Exercise 7
  • Exercise 8
  • Solution: Exercise 8
  • Exercise 9
  • Solution: Exercise 9
  • Exercise 10
  • Solution: Exercise 10
  • Exercise 11
  • Solution: Exercise 11
  • Exercise 12
  • Solution: Exercise 12
  • Exercise 13
  • Solution: Exercise 13
  • Exercise 14
  • Solution: Exercise 14
  • Exercise 15
  • Solution: Exercise 15
  • Exercise 16