Unit 1 Getting Started
- What is Java? (compiled, portable, used everywhere)
- Install Java + IDE (Eclipse or IntelliJ or JDoodle online)
- First programs:
Hello World, face, etc
- Structure of a Java program (class,
main method, curly braces)
- Student Driver and Student
Unit 2 Variables, Data, and Operators
- Variables and Data Types (
int, double, boolean, char, String)
- Using input with
Scanner
- Basic Operators:
+ - * / %
- Order of Operations (PEMDAS vs Java precedence)
- Increment/Decrement:
++ --
Unit 3 Strings
- String basics, concatenation
- Common methods:
.length(), .substring(), .indexOf()
Unit 4 Decisions
- Boolean logic and Boolean expressions
if, else if, else
- Nested
if
- Logical operators:
&&, ||, !
Unit 5 Loops
while loops
for loops
- Nested loops
- Infinite loops & loop debugging
- Pattern and ASCII printing with loops
Unit 6 Arrays & ArrayLists
- Array basics: declare, initialize, index
- Looping with
for and for-each
- ArrayList basics
- ArrayList methods:
add, remove, set, get, size
Unit 7 Methods
- What are methods? Why use them?
- Method signatures (name + parameters)
- Returning values from methods
- Passing data into methods (parameters)
- Method overloading
Unit 8 Object-Oriented Programming
- Classes vs Objects
- Instance variables (fields)
- Constructors
this keyword
- UML class diagrams (simple)
- Encapsulation (private vars, getters/setters)
Unit 9 Inheritance & Polymorphism (Intro Only)
extends keyword
- Method overriding
- Using
super()
Unit 10 Practice / Projects
- Mini game: Number Guessing
- Utility: Grade Calculator
- Final project (student choice: banking simulator, adventure game, text menu)