What You’ll Learn
✔ Core Java fundamentals — variables, types, strings, loops, conditions ✔ Object‑oriented programming — classes, methods, constructors, inheritance, interfaces ✔ Working with data — arrays, collections, generics, enums ✔ Error handling — exceptions, call stack, try‑with‑resources ✔ Files and I/O — text files, binary files, serialization, parsing ✔ Modern Java features — lambdas, functional interfaces, streams ✔ GUI programming — Swing components, events, layouts, desktop apps ✔ Hands‑on projects — Hangman, Rock‑Paper‑Scissors, Game of Life, and more
Who This Course is For
✔ Complete beginners who have never written a line of code ✔ Self‑taught learners who want a structured, step‑by‑step path ✔ Students taking their first programming or computer science class ✔ Professionals switching careers and starting with Java ✔ Developers from other fields who want a solid foundation before moving to advanced topics ✔ Anyone who wants to learn Java 11+ in a clear, practical, project‑based way
Curriculum
-
1
Hello World
-
(Included in full purchase)
What is Java
-
(Included in full purchase)
How Java Works
-
(Included in full purchase)
Installing the JDK
-
(Included in full purchase)
Installing Eclipse
-
(Included in full purchase)
Creating a Class
-
(Included in full purchase)
Running Your First Program
-
(Included in full purchase)
The Structure of a Java Program
-
(Included in full purchase)
A Closer Look at Hello World
-
(Included in full purchase)
The Main Method
-
(Included in full purchase)
Formatting and Code Blocks
-
(Included in full purchase)
Auto-format
-
(Included in full purchase)
-
2
Using Variables
-
(Included in full purchase)
Integer Variables
-
(Included in full purchase)
Addition
-
(Included in full purchase)
Outputting Variables and Text
-
(Included in full purchase)
Doubles
-
(Included in full purchase)
Arithmetic
-
(Included in full purchase)
Variable Assignment
-
(Included in full purchase)
Calculations
-
(Included in full purchase)
Coding Tips
-
(Included in full purchase)
How to Get the Most From This Course
-
(Included in full purchase)
Converting Temperatures
-
(Included in full purchase)
-
3
Strings and Text
-
(Included in full purchase)
Strings
-
(Included in full purchase)
Joining Strings
-
(Included in full purchase)
Control Characters
-
(Included in full purchase)
Outputting a Menu
-
(Included in full purchase)
Format Specifiers
-
(Included in full purchase)
Format Specifiers Example
-
(Included in full purchase)
User Input
-
(Included in full purchase)
Stack Traces
-
(Included in full purchase)
Eclipse Themes_ Tasks and Working Sets
-
(Included in full purchase)
-
4
Loops and Conditions
-
(Included in full purchase)
While Loops
-
(Included in full purchase)
Loop Conditions
-
(Included in full purchase)
Some Comments on While
-
(Included in full purchase)
Increment and Decrement
-
(Included in full purchase)
PostfixAndPrefix
-
(Included in full purchase)
Postfix and Prefix Expressions
-
(Included in full purchase)
More While Loops
-
(Included in full purchase)
For loops
-
(Included in full purchase)
Boolean
-
(Included in full purchase)
Equality
-
(Included in full purchase)
If
-
(Included in full purchase)
Using If
-
(Included in full purchase)
If Else
-
(Included in full purchase)
If Else If
-
(Included in full purchase)
More If Else If
-
(Included in full purchase)
One Line If
-
(Included in full purchase)
Converting If Else to Switch
-
(Included in full purchase)
Switch
-
(Included in full purchase)
Switch Fallthrough
-
(Included in full purchase)
The String Equals Method
-
(Included in full purchase)
The Final Keyword
-
(Included in full purchase)
Break
-
(Included in full purchase)
Checking Passwords
-
(Included in full purchase)
Password Loops
-
(Included in full purchase)
Do While Loops
-
(Included in full purchase)
Not
-
(Included in full purchase)
Not Equal
-
(Included in full purchase)
Variable Scope
-
(Included in full purchase)
Checking Passwords with Do While
-
(Included in full purchase)
Flags
-
(Included in full purchase)
Limited Attemps
-
(Included in full purchase)
String Methods
-
(Included in full purchase)
Case Insensitivity Exercise
-
(Included in full purchase)
Case Insensitivity Exercise Solution
-
(Included in full purchase)
Stream Loops
-
(Included in full purchase)
-
5
Arrays
-
(Included in full purchase)
Arrays
-
(Included in full purchase)
Arrays of Strings
-
(Included in full purchase)
Iterating Over Arrays
-
(Included in full purchase)
Iterating with IntStream
-
(Included in full purchase)
Primitive Arrays - A Closer Look
-
(Included in full purchase)
Primitive Arrays Exercise Solution
-
(Included in full purchase)
For Each Loops
-
(Included in full purchase)
Stream For Each Loops
-
(Included in full purchase)
Primitive Arrays - A Closer Look
-
(Included in full purchase)
Non-Primitive Arrays
-
(Included in full purchase)
Multidimensional Arrays
-
(Included in full purchase)
Working With Multidimensional Arrays
-
(Included in full purchase)
Multidimensional Array Exercise
-
(Included in full purchase)
Multidimensional Arrays Exercise Solution
-
(Included in full purchase)
Multiplication Tables
-
(Included in full purchase)
-
6
Methods
-
(Included in full purchase)
Classes and Objects
-
(Included in full purchase)
Instance Variables
-
(Included in full purchase)
Methods
-
(Included in full purchase)
Accessing Instance Variables
-
(Included in full purchase)
Menu Example
-
(Included in full purchase)
Menu Example Implementation
-
(Included in full purchase)
Return Values
-
(Included in full purchase)
Menu Returning String
-
(Included in full purchase)
Method Parameters
-
(Included in full purchase)
Multiple Parameters
-
(Included in full purchase)
Getters and Setters
-
(Included in full purchase)
This
-
(Included in full purchase)
Public and Private
-
(Included in full purchase)
Window Example
-
(Included in full purchase)
Window Example Implementation
-
(Included in full purchase)
Constructors
-
(Included in full purchase)
Constructors with Parameters
-
(Included in full purchase)
toString
-
(Included in full purchase)
Automatically Generating Classes
-
(Included in full purchase)
-
7
Exercise — Hangman in Java
-
(Included in full purchase)
Hangman
-
(Included in full purchase)
Top Down Design
-
(Included in full purchase)
A RandomWord Class
-
(Included in full purchase)
Random
-
(Included in full purchase)
The char Type
-
(Included in full purchase)
Char Arrays
-
(Included in full purchase)
StringBuilder
-
(Included in full purchase)
Using StringBuilder
-
(Included in full purchase)
The Ternary Operator
-
(Included in full purchase)
Using the Ternary Operator
-
(Included in full purchase)
Filling in Characters
-
(Included in full purchase)
Closing the Scanner
-
(Included in full purchase)
Checking User Input
-
(Included in full purchase)
Limited Tries
-
(Included in full purchase)
Further Practice
-
(Included in full purchase)
-
8
Booleans and Conditions
-
(Included in full purchase)
Boolean And
-
(Included in full purchase)
Boolean Or
-
(Included in full purchase)
Complex Boolean Conditions
-
(Included in full purchase)
-
9
Static
-
(Included in full purchase)
Static and Final
-
(Included in full purchase)
Static Variables
-
(Included in full purchase)
Static Methods
-
(Included in full purchase)
Assigning IDs
-
(Included in full purchase)
Static Initialization Blocks
-
(Included in full purchase)
-
10
Inheritance
-
(Included in full purchase)
Inheritance
-
(Included in full purchase)
Overriding Methods
-
(Included in full purchase)
The Override Annotation
-
(Included in full purchase)
Subtype Polymorphism
-
(Included in full purchase)
Casting and Runtime Errors
-
(Included in full purchase)
Protected
-
(Included in full purchase)
Final Classes
-
(Included in full purchase)
The Garbage Collector
-
(Included in full purchase)
-
11
Exercise — Rock, Paper, Scissors
-
(Included in full purchase)
Rock Paper Scissors
-
(Included in full purchase)
A Game Object
-
(Included in full purchase)
Game Objects
-
(Included in full purchase)
Naming Objects
-
(Included in full purchase)
Choosing Objects
-
(Included in full purchase)
Comparing Objects
-
(Included in full purchase)
CompareTo
-
(Included in full purchase)
The Comparable Interface
-
(Included in full purchase)
User Picks An Object
-
(Included in full purchase)
Win Draw Lose
-
(Included in full purchase)
Game Loop
-
(Included in full purchase)
Announcing the Winner
-
(Included in full purchase)
Some Comments on Rock Paper Scissors
-
(Included in full purchase)
-
12
Overloading Methods and Constructors
-
(Included in full purchase)
Method Overloading
-
(Included in full purchase)
Default Constructors
-
(Included in full purchase)
Constructor Chaining
-
(Included in full purchase)
Super
-
(Included in full purchase)
Swing and JavaFX
-
(Included in full purchase)
-
13
Exercise — A Swing Desktop Program
-
(Included in full purchase)
Hello World Swing
-
(Included in full purchase)
SwingUtilities
-
(Included in full purchase)
Swing Custom Components
-
(Included in full purchase)
Panels and Layouts
-
(Included in full purchase)
Toolbars
-
(Included in full purchase)
About Swing
-
(Included in full purchase)
-
14
Interfaces
-
(Included in full purchase)
Packages
-
(Included in full purchase)
AccessModifiers
-
(Included in full purchase)
The API Docs
-
(Included in full purchase)
Main Methods
-
(Included in full purchase)
Upcasting
-
(Included in full purchase)
Downcasting
-
(Included in full purchase)
Object
-
(Included in full purchase)
Interface Inheritance
-
(Included in full purchase)
Abstract Classes
-
(Included in full purchase)
Interfaces
-
(Included in full purchase)
Interface Default Methods
-
(Included in full purchase)
Multiple Inheritance
-
(Included in full purchase)
Abstract Class Example
-
(Included in full purchase)
Interface Example
-
(Included in full purchase)
Combining Code Exercise
-
(Included in full purchase)
An Egg Timer
-
(Included in full purchase)
-
15
Swing — Handling Button Clicks
-
(Included in full purchase)
About Interfaces
-
(Included in full purchase)
Starting Point and GitHub
-
(Included in full purchase)
Button Clicks
-
(Included in full purchase)
Changing Color
-
(Included in full purchase)
Naive App Control
-
(Included in full purchase)
About References
-
(Included in full purchase)
Naive App Control Review
-
(Included in full purchase)
Color Button Listener
-
(Included in full purchase)
What is Wrong With Our Swing App
-
(Included in full purchase)
Decoupling Using Interfaces
-
(Included in full purchase)
-
16
Inner Classes
-
(Included in full purchase)
HashCode and This
-
(Included in full purchase)
Local Inner Classes
-
(Included in full purchase)
Local Inner Classes Example
-
(Included in full purchase)
Effectively Final
-
(Included in full purchase)
Static Inner Classes
-
(Included in full purchase)
Non-static Inner Classes
-
(Included in full purchase)
Anonymous Classes
-
(Included in full purchase)
Inner Class Review
-
(Included in full purchase)
-
17
Swing — Handling Button Clicks with Inner Classes
-
(Included in full purchase)
Handling Button Clicks With Inner Classes
-
(Included in full purchase)
Handling Button Clicks With Lambda Expressions
-
(Included in full purchase)
-
18
Enumerations
-
(Included in full purchase)
Enum
-
(Included in full purchase)
Enum Useful Methods
-
(Included in full purchase)
Enum Constructors
-
(Included in full purchase)
Enum and Switch
-
(Included in full purchase)
Enum Exercise
-
(Included in full purchase)
Enum Exercise Solution
-
(Included in full purchase)
Improving Rock_ Paper_ Scissors
-
(Included in full purchase)
Implementing the Beats Method
-
(Included in full purchase)
Using Beats
-
(Included in full purchase)
Eliminating Unecessary Code
-
(Included in full purchase)
-
19
Exceptions
-
(Included in full purchase)
Introducing Exceptions
-
(Included in full purchase)
Try Catch
-
(Included in full purchase)
Some Exception Exercises
-
(Included in full purchase)
Throwing Exceptions
-
(Included in full purchase)
The Call Stack
-
(Included in full purchase)
Throwing Runtime Exceptions
-
(Included in full purchase)
Custom Exceptions
-
(Included in full purchase)
Handling Multiple Exceptions
-
(Included in full purchase)
Catching Multiple Exceptions
-
(Included in full purchase)
Exception Flow Control
-
(Included in full purchase)
NullPointerException
-
(Included in full purchase)
AutoCloseable
-
(Included in full purchase)
Constructor Exceptions and Close
-
(Included in full purchase)
Handling Constructor And Close Exceptions
-
(Included in full purchase)
Try With Resources
-
(Included in full purchase)
Try With Resources Example
-
(Included in full purchase)
-
20
More Basic Types
-
(Included in full purchase)
Integer Types
-
(Included in full purchase)
Minimum And Maximum Values
-
(Included in full purchase)
Floating Point Types
-
(Included in full purchase)
Class Equivalents of Primitive Types
-
(Included in full purchase)
Widening and Narrowing Conversions
-
(Included in full purchase)
Numeric Literals
-
(Included in full purchase)
The Mod Operator
-
(Included in full purchase)
-
21
Exercise — Conway's Game of Life in Swing
-
(Included in full purchase)
Introducing the Game of Life
-
(Included in full purchase)
Basic Swing App - Again
-
(Included in full purchase)
Painting and Drawing
-
(Included in full purchase)
About the Grid
-
(Included in full purchase)
Calculating Margins
-
(Included in full purchase)
Drawing the Grid
-
(Included in full purchase)
Numeric Class Methods
-
(Included in full purchase)
Filling Cells
-
(Included in full purchase)
Front End vs Back End
-
(Included in full purchase)
The Model
-
(Included in full purchase)
Displaying the Model
-
(Included in full purchase)
Handling Mouse Clicks
-
(Included in full purchase)
Converting Mouse Coordinates
-
(Included in full purchase)
Handling Key Presses
-
(Included in full purchase)
Randomizing the Grid
-
(Included in full purchase)
Clearing the Grid
-
(Included in full purchase)
Iterating Over Cells
-
(Included in full purchase)
Counting Neighbours
-
(Included in full purchase)
Life and Death
-
(Included in full purchase)
Implementing the Game of Life Algorithm
-
(Included in full purchase)
Fixing Resize
-
(Included in full purchase)
Game of Life Conclusion
-
(Included in full purchase)
-
22
Reading and Writing Files
-
(Included in full purchase)
The File Class
-
(Included in full purchase)
Reading and Writing Text Files
-
(Included in full purchase)
File Locations
-
(Included in full purchase)
Reading Text Files Line By Line
-
(Included in full purchase)
Writing Text Files Line By Line
-
(Included in full purchase)
Serializing Objects
-
(Included in full purchase)
Deserializing Objects
-
(Included in full purchase)
Transient
-
(Included in full purchase)
Serial Version UIDs
-
(Included in full purchase)
Serializing Multiple Objects
-
(Included in full purchase)
Writing Binary Files
-
(Included in full purchase)
Reading Binary Files
-
(Included in full purchase)
Reading Java Class Files
-
(Included in full purchase)
Endianness
-
(Included in full purchase)
File Parsing Exercise
-
(Included in full purchase)
File Parsing Exercise Solution
-
(Included in full purchase)
-
23
Exercise — Implementing Save and Load
-
(Included in full purchase)
Swing Menus
-
(Included in full purchase)
Save Dialogs
-
(Included in full purchase)
Getting the Selected File
-
(Included in full purchase)
Saving the Grid
-
(Included in full purchase)
File Open Dialogs
-
(Included in full purchase)
Loading Files
-
(Included in full purchase)
Error and Warning Messages
-
(Included in full purchase)
Saving and Loading Conclusion
-
(Included in full purchase)
-
24
Generics
-
(Included in full purchase)
A Simple Hierarchy
-
(Included in full purchase)
A Wrapper Class
-
(Included in full purchase)
Introducing Generics
-
(Included in full purchase)
Type Erasure
-
(Included in full purchase)
A Pair Class
-
(Included in full purchase)
An Array Class
-
(Included in full purchase)
Generic Methods
-
(Included in full purchase)
Generic Bounds
-
(Included in full purchase)
Super and PECS I
-
(Included in full purchase)
Super and PECS 2
-
(Included in full purchase)
Util Copy Exercise
-
(Included in full purchase)
Add All Exercise
-
(Included in full purchase)
-
25
The Java Collections API
-
(Included in full purchase)
ArrayList
-
(Included in full purchase)
Iterating through ArrayList
-
(Included in full purchase)
Custom Objects in ArrayLists
-
(Included in full purchase)
Sorting Lists
-
(Included in full purchase)
Implementing Comparable
-
(Included in full purchase)
How Comparable Works
-
(Included in full purchase)
Comparable Example
-
(Included in full purchase)
Comparators
-
(Included in full purchase)
ArrayList Exercise
-
(Included in full purchase)
LinkedList
-
(Included in full purchase)
The List Interface
-
(Included in full purchase)
Initializing Lists With Lists
-
(Included in full purchase)
Static Methods in Interfaces
-
(Included in full purchase)
Variable Arguments
-
(Included in full purchase)
Timing List Operations Exercise
-
(Included in full purchase)
Timing List Operations Solution
-
(Included in full purchase)
Time Complexity
-
(Included in full purchase)
Instanceof
-
(Included in full purchase)
Equals
-
(Included in full purchase)
Removing Items From Lists
-
(Included in full purchase)
ConcurrentModificationException
-
(Included in full purchase)
Iterators
-
(Included in full purchase)
Getting Creative With Iterators
-
(Included in full purchase)
Modifying Lists While Iterating
-
(Included in full purchase)
Ring Buffer Exercise
-
(Included in full purchase)
Ring Buffer Solution
-
(Included in full purchase)
Implementing Iterable
-
(Included in full purchase)
Circular Iterator Exercise
-
(Included in full purchase)
Circular Iterator Solution
-
(Included in full purchase)
For Each And Iterators
-
(Included in full purchase)
HashSet
-
(Included in full purchase)
Hashing Algorithms
-
(Included in full purchase)
The hashCode Method
-
(Included in full purchase)
UnionAndIntersection
-
(Included in full purchase)
RemoveAll
-
(Included in full purchase)
LinkedHashSet
-
(Included in full purchase)
TreeSet
-
(Included in full purchase)
Set and SortedSet
-
(Included in full purchase)
Collections Review
-
(Included in full purchase)
Sets And Lists Exercise
-
(Included in full purchase)
Sets And Lists Solution 1
-
(Included in full purchase)
Sets and Lists Solution 2
-
(Included in full purchase)
Sets And Lists Solution 3
-
(Included in full purchase)
HashMaps
-
(Included in full purchase)
Static Imports
-
(Included in full purchase)
Initializing Maps
-
(Included in full purchase)
Iterating Through Maps
-
(Included in full purchase)
Ordered Maps
-
(Included in full purchase)
Custom Objects in Maps Exercise
-
(Included in full purchase)
Custom Objects in Maps Solution
-
(Included in full purchase)
Lists of Sets
-
(Included in full purchase)
MapsOfLists
-
(Included in full purchase)
Complex Data Structures
-
(Included in full purchase)
CollectionsAndInheritance
-
(Included in full purchase)
-
26
MIDI Exercise
-
(Included in full purchase)
Playing a Note
-
(Included in full purchase)
Playing Chords
-
(Included in full purchase)
MidiExerciseSolution
-
(Included in full purchase)
-
27
Collections Exercise — A Rota
-
(Included in full purchase)
Collections Rota Exercise
-
(Included in full purchase)
PersonClass
-
(Included in full purchase)
LoadingTheData
-
(Included in full purchase)
Rota Class
-
(Included in full purchase)
Implementing the Rota
-
(Included in full purchase)
Vital Skill Set
-
(Included in full purchase)
Rota Algorithm
-
(Included in full purchase)
Testing The Rota Algorithm
-
(Included in full purchase)
Exercise Conclusion
-
(Included in full purchase)
Adding People
-
(Included in full purchase)
Custom Objects in Maps Exercise
-
(Included in full purchase)
Custom Objects in Maps Solution
-
(Included in full purchase)
-
28
Lambda Expressions
-
(Included in full purchase)
Lambda Expression Example
-
(Included in full purchase)
Functional Interfaces
-
(Included in full purchase)
A Lambda Expression From Scratch
-
(Included in full purchase)
Lambda Expressions With Single Parameters
-
(Included in full purchase)
Multiple Parameter Lambdas
-
(Included in full purchase)
Return Values in Lambdas
-
(Included in full purchase)
Lambdas And Capture
-
(Included in full purchase)
Functional Programming
-
(Included in full purchase)
Unmodifiable Lists
-
(Included in full purchase)
Predicates
-
(Included in full purchase)
Filtering Lists
-
(Included in full purchase)
Function
-
(Included in full purchase)
ReplaceAll
-
(Included in full purchase)
Lambda Exercise
-
(Included in full purchase)
Multithreading
-
(Included in full purchase)
Incrementing via Threads
-
(Included in full purchase)
Synchronized
-
(Included in full purchase)
Lambda Expressions Summary
-
(Included in full purchase)
-
29
Method References
-
(Included in full purchase)
Method References
-
(Included in full purchase)
Breaking Down Method References
-
(Included in full purchase)
Method Reference Examples
-
(Included in full purchase)
References to Methods of Particular Objects
-
(Included in full purchase)
References to Methods of Arbitary Objects
-
(Included in full purchase)
Compare To Method Reference
-
(Included in full purchase)
References to Constructors
-
(Included in full purchase)
-
30
Streams
-
(Included in full purchase)
Streams
-
(Included in full purchase)
Generating Streams
-
(Included in full purchase)
Generating Streams from Files
-
(Included in full purchase)
Transforming Streams
-
(Included in full purchase)
Regular Expressions
-
(Included in full purchase)
Collectors
-
(Included in full purchase)
Peek
-
(Included in full purchase)
FlatMap
-
(Included in full purchase)
Stream Exercise 1
-
(Included in full purchase)
Reduce
-
(Included in full purchase)
Combiners
-
(Included in full purchase)
Stream Exercise 2
-
(Included in full purchase)
Implementing Collectors
-
(Included in full purchase)
Streams Exercise 3
-
(Included in full purchase)
Combining Maps
-
(Included in full purchase)
Implementing the Solution
-
(Included in full purchase)
Filter
-
(Included in full purchase)
Map Exercise
-
(Included in full purchase)
Sorting Streams
-
(Included in full purchase)
Group By
-
(Included in full purchase)
Streams and Static Imports
-
(Included in full purchase)
Streams Conclusion Almost
-
(Included in full purchase)
Stream Exercise 4
-
(Included in full purchase)
Multiplication Table With ForEach
-
(Included in full purchase)
Stream Multiplication in a Single String
-
(Included in full purchase)
-
31
Jar Files
-
(Included in full purchase)
Jar Files
-
(Included in full purchase)
Creating and Using a Jar File
-
(Included in full purchase)
About Jar Files
-
(Included in full purchase)
Runnable Jars
-
(Included in full purchase)
-
32
Bitwise Operators
-
(Included in full purchase)
Numbering Systems
-
(Included in full purchase)
Formatting Binary Numbers
-
(Included in full purchase)
Bitwise And Or
-
(Included in full purchase)
Bitwise Exclusive Or and Not
-
(Included in full purchase)
Bitwise Shift
-
(Included in full purchase)
Bitwise Hexadecimal
-
(Included in full purchase)
Bitwise Exercise Solution
-
(Included in full purchase)
-
33
Cellular Automata
-
(Included in full purchase)
Hello Again Swing
-
(Included in full purchase)
Setting Pixels
-
(Included in full purchase)
Wolfram Code
-
(Included in full purchase)
Using the Wolfram Code
-
(Included in full purchase)
Getting Colors
-
(Included in full purchase)
Forming the Index
-
(Included in full purchase)
Implementing the Rule
-
(Included in full purchase)
About the Wolfram Codes
-
(Included in full purchase)
-
34
Modules
-
(Included in full purchase)
About Modules
-
(Included in full purchase)
Creating a Module
-
(Included in full purchase)
Using Modules
-
(Included in full purchase)
-
35
Debugging
-
(Included in full purchase)
Using the Debugger
-
(Included in full purchase)
Conditional and Exception Breakpoints
-
(Included in full purchase)
-
36
Conclusion
-
(Included in full purchase)
Course Conclusion
-
(Included in full purchase)
Meet Your Instructor: John Purcell
I’ve taught programming to millions of students through YouTube and online courses. My focus is always on clarity, hands‑on practice, and building real intuition — not memorising syntax.
Start Learning Java Today
Build real programming skills from scratch with a clear, practical course based on Java 11.
€34,00