Core Java
From your first println to threads and streams, see what the JVM does at every step.
84 of 84 lessons published
Syllabus
01 Introduction to JavaWhat Java is, why it runs everywhere, and what happens when you press Run. 6 lessons
- 1.1What is Java and why learn it?15 minStart
- 1.2History and key features of Java18 minStart
- 1.3JDK vs JRE vs JVM16 minStart
- 1.4How Java code runs: source → bytecode → JVM18 minStart
- 1.5Installing Java and your first program17 minStart
- 1.6Structure of a Java program (class, main, statements)17 minStart
02 Language BasicsVariables, data types, operators and taking input from the user. 7 lessons
- 2.1Variables: boxes in memory16 minStart
- 2.2Primitive data types (int, double, char, boolean…)18 minStart
- 2.3Reference types and how they differ17 minStart
- 2.4Type casting: widening and narrowing17 minStart
- 2.5Operators: arithmetic, relational, logical, bitwise19 minStart
- 2.6Taking input with Scanner17 minStart
- 2.7Comments, keywords and naming conventions15 minStart
03 Control FlowMaking decisions and repeating work: if, switch and loops. 6 lessons
04 Arrays and StringsStoring many values together and working with text. 6 lessons
05 MethodsBreaking programs into reusable pieces, and what the call stack does. 6 lessons
06 Object-Oriented Programming: BasicsClasses, objects, constructors and the keywords that hold them together. 6 lessons
07 Object-Oriented Programming: The Four PillarsEncapsulation, inheritance, polymorphism and abstraction with real-world models. 8 lessons
- 7.1Encapsulation: getters and setters22 minStart
- 7.2Inheritance and types of inheritance24 minStart
- 7.3The super keyword22 minStart
- 7.4Method overriding24 minStart
- 7.5Polymorphism: compile-time and runtime25 minStart
- 7.6Abstraction with abstract classes23 minStart
- 7.7Interfaces (default and static methods)25 minStart
- 7.8The final keyword21 minStart
08 Inside the JVM: MemoryStack, heap, garbage collection and class loading, the behind-the-scenes view. 5 lessons
09 Exception HandlingWhat happens when things go wrong, and how to recover gracefully. 6 lessons
10 Core Classes and Language FeaturesWrapper classes, the Object class, enums and inner classes. 5 lessons
11 Collections FrameworkLists, sets and maps, plus how HashMap works internally. 8 lessons
- 11.1Collections Framework overview22 minStart
- 11.2Generics24 minStart
- 11.3ArrayList22 minStart
- 11.4LinkedList20 minStart
- 11.5HashSet, LinkedHashSet and TreeSet22 minStart
- 11.6HashMap and how it works internally28 minStart
- 11.7Iterator and ListIterator20 minStart
- 11.8Comparable vs Comparator24 minStart