Autoplay
Autocomplete
Previous Lesson
Complete and Continue
Java for Beginners
Welcome to the Course!
Introduction (1:57)
What is Programming? (5:06)
The Tools You Need (3:20)
Setting Up
Section Introduction (0:50)
Installing the JDK on Windows (8:07)
Setting up Environment Variables on Windows (6:23)
Installing IntelliJ IDEA on Windows (4:05)
Installing the JDK on Mac (3:37)
Setting up Environment Variables on Mac (6:31)
Installing IntelliJ IDEA on Mac (4:18)
First Steps
Section Introduction (0:31)
Creating a New Project (12:33)
Creating and Loading a Template Project (1:20)
Welcome to Your Challenge! (2:17)
Challenge Part 1 - Exercise (0:30)
Challenge Part 1 - Solution (1:37)
Variables
Section Introduction (1:04)
What are Variables? (1:31)
ints (5:32)
doubles (1:40)
booleans (1:40)
Strings (1:11)
Primitive vs Class Types (4:44)
Conclusion (0:35)
Challenge Part 2 - Exercise (0:38)
Challenge Part 2 - Solution (1:38)
Expressions
Section Introduction (0:24)
Numeric Expressions (3:21)
Boolean Expressions (2:00)
Simplifying Boolean Expressions (1:43)
Logical Operators (3:17)
Challenge Part 3 - Exercise (1:34)
Challenge Part 3 - Solution (6:15)
Strings
Section Introduction (0:41)
String Concatenation (0:47)
String Operations (0:29)
Transforming Strings (1:20)
Boolean-based String Checks (2:39)
Int-based String Checks (1:29)
Creating New Strings (2:04)
Challenge Part 4 - Exercise (0:48)
Challenge Part 4 - Solution (3:21)
Conditionals
Section Introduction (0:24)
Logical Operators Recap (1:24)
The If Block (2:33)
The Else Block (2:28)
Alternate Flows with Elseif (1:51)
Thinking About Conditionals (2:43)
Dead Branches (2:03)
Nested Conditionals (1:39)
Good vs Bad Refactoring (3:20)
The Switch Statement (3:57)
Break Statements in Switches (2:05)
The Ternary Operator (4:12)
Challenge Part 5 - Exercise (0:33)
Challenge Part 5 - Solution (1:52)
Loops
Section Introduction (0:29)
What are Loops? (1:43)
The While Loop (2:32)
The Do While Loop (1:44)
The For Loop (2:13)
Esoteric Loops (1:25)
The For Each Loop with Collections (1:36)
Processing Collections with Streams (3:11)
Challenge Part 6 - Exercise (0:53)
Challenge Part 6 - Solution (4:05)
Methods
Section Introduction (0:20)
What are Methods? (0:37)
Creating a Method (2:43)
Calling a Method (1:43)
Passing Parameters (1:21)
Passing Multiple Parameters (1:43)
Returning Output from a Method (1:07)
Using a Returned Value (2:02)
Refactoring: Inlining (1:16)
Refactoring: Removing Unnecessary Variables (1:18)
Challenge Part 7 - Exercise (0:36)
Challenge Part 7 - Solution (3:17)
Classes and Objects
Section Introduction (0:46)
What are Objects? (1:23)
Creating a Class (1:43)
Visibility Modifiers (3:55)
Constructors (1:43)
The Default Constructor (1:55)
Instances and State (1:43)
Adding Methods to Classes (3:29)
Getters and Setters (1:57)
Why Encapsulation is Important (3:02)
Protecting the Integrity of Your Objects (4:05)
Composing Objects (3:01)
Referencing Other Objects (1:55)
Object References (2:21)
Stepping into an Objects Methods (1:46)
Concept of Inheritance (1:07)
Extending a Class (1:54)
Adding Custom Methods (1:43)
Creating Another Subclass (2:13)
Viewing the Type Hierarchy (0:56)
Superclass Variable References (1:45)
Concept of Polymorphism (0:41)
Abstract Methods (2:00)
Non-Instantiability of Abstract Classes (0:52)
Implementing Abstract Methods (3:00)
Custom Implementation of Superclass Methods (2:16)
Polymorphism in Action (4:59)
Recap of OO Concepts (1:47)
Challenge Part 8 - Exercise (0:30)
Challenge Part 8 - Solution (4:01)
Exceptions
Section Introduction (0:53)
Concept of an Exception (5:02)
Try Catch Blocks (3:31)
Scoping in Try Blocks (1:18)
Happy Path and Error Path (1:43)
Throwing Exceptions (3:23)
Creating and Throwing Your Own Exceptions (2:20)
Chaining Exceptions (2:05)
Checked Exceptions (3:00)
Non-checked Exceptions (1:43)
Differences Between Checked and Non-Checked Exceptions (4:16)
Bubbling Exceptions Up the Call Stack (4:09)
Runtime Exception Handling in Nested Method Calls (9:09)
Checked Exception Handling in Nested Method Calls (7:35)
Exceptions and Non-Void Methods (4:15)
Multiple Catch Blocks (5:32)
Alternate Exceptions in a Catch Block (3:47)
Ordering of Catch Blocks (8:18)
Challenge Part 9 - Exercise (0:45)
Challenge Part 9 - Solution (5:08)
Collections
Section Introduction (0:24)
Lists (6:56)
The Collection Interface (1:47)
Sets (3:07)
Lists vs Sets (3:55)
Maps (4:50)
Coding with Classes and Collections (3:19)
Using Your Own Classes with Collections (3:14)
The Equals Method with Collections (9:40)
Implementing Hash Code and Equals (5:15)
Wrapping Up
Well Done and Thanks! (0:34)
Frequently Asked Questions for Java Beginners
What is this FAQ section?
What is Java? And how does it differ from other programming languages? (2:28)
Do I need to know how to program in other languages to learn Java? (2:22)
What kind of computer do I need to code with Java? (2:37)
Do I need to know math to program with Java? (1:53)
What can you do with Java? (3:20)
What tools do you need to write Java code / create apps? (3:21)
How do you get a job once you know Java? (7:01)
The While Loop
Lesson content locked
If you're already enrolled,
you'll need to login
.
Enroll in Course to Unlock