Java
Object-oriented programming from the ground up. After the basics, recursion and the tools for text and arrays, you build programs from classes and objects, inheritance, interfaces, records and generics, then collections, lambdas and streams, exceptions, files and threads, ending with six larger projects.
Chapters
- Comments
- Variables (Numbers)
- Variables (Strings)
- Operators
- String Concatenation
- Input
- Recap: Receipt Printer
- If/Else
- Booleans
- If/Else If/Else
- Switch Statements
- Recap: Grade Classifier
- For Loops
- While Loops
- Recap: Number Cruncher
- Methods
- Return Values
- String Methods
- Arrays
- Recap: Word Filter
- Do-While Loops
- The Ternary Operator
- Switch Expressions
- Characters (char)
- The Math Class
- Recap: Pay Phone
- StringBuilder
- Lining Up Text with format
- Splitting Text with split
- 2D Arrays
- The Arrays Class
- Varargs
- Recap: Parking Garage
- Recursion
- Recursion Practice
- Recap: Safe Cracker
- Classes and Objects
- Constructors
- Methods Inside Classes
- Method Overloading
- toString()
- Recap: Pet Shelter
- Access Modifiers
- Getters and Setters
- The static Keyword
- The final Keyword
- Recap: Bank Account
- Inheritance
- Overriding Methods
- Polymorphism
- Abstract Classes
- Recap: Vehicle Fleet
- Interfaces
- Enums
- Type Casting
- Recap: Shape Calculator
- ArrayList
- HashMap
- Sorting Collections
- Try / Catch
- Recap: Inventory Tracker
- Pass by Value
- The Object Class
- equals and hashCode
- Composition
- Inner Classes
- Anonymous Classes
- Default Methods
- Records
- Recap: Car Showroom
- Wrapper Classes
- Generic Classes
- Generic Methods
- Bounded Types
- Recap: Storage Lockers
- HashSet
- LinkedList and Queue
- ArrayDeque as a Stack
- TreeMap
- Iterator
- PriorityQueue
- Comparator
- Recap: Malibu Club Night
- Lambdas
- Functional Interfaces
- Method References
- Streams: filter and map
- Streams: collect and reduce
- Optional
- Recap: Hiring the Crew
- throw and throws
- Checked and Unchecked
- Your Own Exceptions
- try-with-resources
- Writing a File
- Reading a File
- Recap: The Paper Trail
- Threads
- Runnable
- Race Conditions and synchronized
- ExecutorService
- Recap: Heist Night
- Project: Inventory System
- Project: Battle Simulator
- Project: Student Gradebook
- Project: Library System
- Project: Flight Booking
- Project: Word Stats