Tool
Java
A statically-typed workhorse for enterprise software
Learn Java from the ground up — types, control flow, arrays, methods, object-oriented programming, exceptions, files, collections, generics, and streams, with real compiled labs.
13
Chapters
34
Hours (estimated)
1
Self-paced
Part-time
About 12 weeks
1 hour a day, 3 days a week
Full-time
About 4 weeks
3 hours a day, 3 days a week
Estimated from 13 chapters (notes, practice, labs, quiz, exercise, and challenge) plus the final exam. Go at your own pace.
Curriculum
13 chapters, each with a tutorial, a live example, a quiz, an exercise, a challenge, and class practice.
- 1
Introduction to Java
Classes, the main method, and compiling to the JVM.
- 2
Variables, Types & Operators
Primitive and reference types, final constants, var, type casting, and arithmetic, comparison, and logical operators.
- 3
Strings & Math
String methods, concatenation, special characters, StringBuilder, and the Math class.
- 4
Control Flow
Booleans, if/else, the ternary operator, switch, while, do/while, for, for-each, break, and continue.
- 5
Arrays
Creating arrays, indexes and length, looping through arrays, the Arrays class, and 2-D arrays.
- 6
Methods
Defining methods, parameters and return values, overloading, scope, and recursion.
- 7
Classes & Objects
Classes and objects, attributes and methods, constructors, this, access modifiers, encapsulation, and packages.
- 8
Inheritance & Polymorphism
extends and super, overriding methods, polymorphism, abstract classes, and inner classes.
- 9
Interfaces, Anonymous Classes & Enums
Interfaces and implements, default methods, anonymous classes, and enums with fields and switch.
- 10
Exceptions & Debugging
Compile vs runtime errors, try/catch/finally, multiple catches, throwing and custom exceptions, try-with-resources, and debugging.
- 11
Files & I/O
Creating, writing, reading, and deleting files with File, FileWriter, Scanner, and BufferedReader/Writer.
- 12
Collections
List, ArrayList, and LinkedList; Set and HashSet; Map and HashMap; sorting; iterators; and wrapper classes.
- 13
Generics, Lambdas & Streams
Generic classes and methods, lambda expressions, method references, Comparators, and stream operations.
Java is free to study, self-paced. Pass the final exam to earn an optional Certificate of Completion for $40.