Beginner course
Java Programming
Master Java from JVM foundations and object-oriented design through collections, concurrency, databases, networking, modules, and production practices.
37 chapters About 1334 minutes 80% to pass
Start learningCourse outline
Learn step by step
01Introduction to JavaTrace Java history and understand the JVM, JDK, JRE, bytecode, and toolchain. 26 min02Basic Syntax and StructureBuild classes, main methods, statements, blocks, packages, and console programs. 26 min03Data Types, Variables, and OperatorsUse primitives, references, conversions, constants, and Java operators safely. 34 min04Control FlowMake decisions with if, else, classic switch, and modern switch expressions. 28 min05LoopsRepeat work with for, while, do-while, enhanced for, break, and continue. 28 min
06MethodsDesign signatures, parameters, return values, overloads, varargs, and recursion. 34 min07ArraysWork with fixed-size one-dimensional, multidimensional, and ragged arrays. 32 min08Strings and String HandlingUse String, StringBuilder, StringBuffer, Unicode-aware operations, and formatting. 36 min09Classes and ObjectsModel state and behavior with fields, methods, static members, and object identity. 36 min10Constructors and Object LifecycleInitialize objects, delegate constructors, and manage resources without destructors. 36 min
11InheritanceApply single, multilevel, and hierarchical inheritance while favoring composition. 36 min12PolymorphismUnderstand overload selection, overriding, dynamic dispatch, upcasting, and type patterns. 36 min13Abstract Classes and InterfacesDesign extensible contracts with abstract, default, sealed, and implemented behavior. 38 min14Encapsulation and Access ModifiersProtect invariants with private, package, protected, and public boundaries. 30 min15Inner and Nested ClassesUse member, static nested, local, and anonymous classes with clear lifetimes. 30 min
16Exception HandlingHandle checked and unchecked failures with try, catch, throw, finally, and resources. 38 min17Packages and Access ControlOrganize types, imports, classpaths, visibility, and package-level APIs. 28 min18Collections: List, Set, and MapChoose ordered, unique, keyed, sorted, and concurrent collection implementations. 44 min19IteratorsTraverse and modify collections with Iterator, ListIterator, Iterable, and Spliterator. 30 min20GenericsWrite reusable type-safe APIs with bounds, wildcards, PECS, and type erasure. 42 min
21File I/ORead and write bytes, characters, buffered streams, Paths, and Files safely. 42 min22Threads and RunnableStart, join, interrupt, and coordinate Thread and Runnable tasks. 38 min23SynchronizationProtect shared state with monitors, locks, volatile fields, and happens-before rules. 42 min24Concurrency UtilitiesUse executors, futures, concurrent collections, atomics, and synchronizers. 46 min25Memory Management and Garbage CollectionReason about heap, stacks, reachability, collectors, leaks, and resource cleanup. 40 min
26Java Standard LibrariesNavigate java.lang, java.util, java.io, java.nio, time, math, and documentation. 34 min27Lambda ExpressionsCreate target-typed behavior with captures, method references, and local functions. 34 min28Streams APIBuild lazy pipelines with filtering, mapping, reduction, collection, and parallel execution. 44 min29Functional InterfacesCompose Predicate, Function, Consumer, Supplier, and specialized interfaces. 34 min30OptionalModel possibly absent return values with safe mapping, composition, and fallbacks. 28 min
31JDBC Database ConnectivityConnect safely with DataSource, prepared statements, result sets, and transactions. 46 min32Networking: Sockets and HTTPBuild bounded TCP clients/servers and asynchronous HTTP integrations. 44 min33ReflectionInspect runtime types and invoke members while respecting access and module boundaries. 38 min34AnnotationsDeclare metadata, control retention and targets, and process it at compile time or runtime. 36 min35SerializationDesign versioned data formats and understand native serialization security risks. 38 min
Final assessment
Java Programming final exam
Complete all 37 chapters to unlock the exam.
Exam locked