Learn Java — Basic
Learn Java fundamentals: data types, program control, objects, collections and stream data processing. Create reports, handle exceptions, and work with dates, amounts and regular expressions.
COURSE OVERVIEWREADY
Lessons: 70
Quizzes: 12
All steps: 82
$Ready to start
What you will learn
- Create programs with methods, conditions and loops, and process arrays and text.
- Model objects using classes, constructors, interfaces, inheritance and encapsulation.
- Use collections, generic types, lambdas and streams for filtering, sorting, grouping and calculations.
- Handle exceptions and resources, format numbers correctly, and process dates, BigDecimal amounts and regex patterns.
SYLLABUS / 82
Course curriculum
Work through the curriculum step by step. Completed stages are marked, and you can open the next available stage.
70 lessons12 quizzes82 steps total
- 01LESSONLESSON 1: Hello World and println – you run your first programAvailable now
- 02LESSONLESSON 2: Scanner input – you read numbers and textLocked
- 03LESSONLESSON 3: Comments // and /* … */ – you document your codeLocked
- 04LESSONLESSON 4: Variables and final: declaration, initialization, mutabilityLocked
- 05LESSONLESSON 5: Integer types byte / short / int / long – ranges and conversionsLocked
- 06LESSONLESSON 6: Floating-point types float / double – precision and errorsLocked
- 01QUIZQuiz 1: lessons 1–6Locked
- 07LESSONLESSON 7: char and String – special characters, UnicodeLocked
- 08LESSONLESSON 8: Arithmetic operators and order of operations – a mini calculatorLocked
- 09LESSONLESSON 9: Assignments, ++ and -- – shortcuts and pitfallsLocked
- 10LESSONLESSON 10: Comparisons and logic (&&, ||, !) – compound conditionsLocked
- 11LESSONLESSON 11: if/else – decisions that control the flowLocked
- 12LESSONLESSON 12: Nested if (multi-variant logic)Locked
- 02QUIZQuiz 2: lessons 7–12Locked
- 13LESSONLESSON 13: The ternary operator ?: – shorter conditionsLocked
- 14LESSONLESSON 14: classic switch (int/String) – a text menuLocked
- 15LESSONLESSON 15: The while loop – repeating until a condition is metLocked
- 16LESSONLESSON 16: The do-while loop – input validationLocked
- 17LESSONLESSON 17: The for loop: counter and controlled iterationLocked
- 18LESSONLESSON 18: break and continue: controlling the flow of a loopLocked
- 03QUIZQuiz 3: lessons 13–18Locked
- 19LESSONLESSON 19: The for-each loop – iterating over collections/arraysLocked
- 20LESSONLESSON 20: Nested loops – generating patterns and tablesLocked
- 21LESSONLESSON 21: 1D Arrays – creating, filling, readingLocked
- 22LESSONLESSON 22: Array operations: minimum, maximum, sum and averageLocked
- 23LESSONLESSON 23: Linear search vs Arrays.binarySearchLocked
- 24LESSONLESSON 24: Sorting with Arrays.sort – ascending/descendingLocked
- 04QUIZQuiz 4: lessons 19–24Locked
- 25LESSONLESSON 25: 2D Arrays: matrices, row and column sumsLocked
- 26LESSONLESSON 26: Jagged arrays: “triangles” and zigzagsLocked
- 27LESSONLESSON 27: String: equals vs == – comparing correctlyLocked
- 28LESSONLESSON 28: String methods: substring, indexOf, replaceLocked
- 29LESSONLESSON 29: Split and join: split, String.join, mini‑CSV in memoryLocked
- 30LESSONLESSON 30: StringBuilder: efficient string concatenationLocked
- 05QUIZQuiz 5: lessons 25–30Locked
- 31LESSONLESSON 31: Formatting – printf and String.formatLocked
- 32LESSONLESSON 32: Methods: parameters and return valueLocked
- 33LESSONLESSON 33: Method overloadingLocked
- 34LESSONLESSON 34: Variable scope: locals, parameters, and name shadowingLocked
- 35LESSONLESSON 35: Recursion: factorial and Fibonacci with limitsLocked
- 36LESSONLESSON 36: Classes and objects: the first domain modelLocked
- 06QUIZQuiz 6: lessons 31–36Locked
- 37LESSONLESSON 37: Constructors and this – initializing stateLocked
- 38LESSONLESSON 38: Encapsulation: access modifiers, getters/settersLocked
- 39LESSONLESSON 39: static members – instance counter / utility methodsLocked
- 40LESSONLESSON 40: final in OOP: immutability and class constantsLocked
- 41LESSONLESSON 41: toString – a readable description of an objectLocked
- 42LESSONLESSON 42: equals and hashCode: the contract and equality testsLocked
- 07QUIZQuiz 7: lessons 37–42Locked
- 43LESSONLESSON 43: enum: enumerated types with methodsLocked
- 44LESSONLESSON 44: Inheritance (extends) and superLocked
- 45LESSONLESSON 45: Overriding methods – polymorphismLocked
- 46LESSONLESSON 46: Abstract classes: a shared API and partial implementationLocked
- 47LESSONLESSON 47: Interfaces: implementation and “programming to an interface”Locked
- 48LESSONLESSON 48: Comparable and Comparator – ordering objectsLocked
- 08QUIZQuiz 8: lessons 43–48Locked
- 49LESSONLESSON 49: Exceptions: checked vs unchecked — when to use whichLocked
- 50LESSONLESSON 50: try/catch – safe error handlingLocked
- 51LESSONLESSON 51: Multiple catch and the exception hierarchyLocked
- 52LESSONLESSON 52: finally and try-with-resources (on in-memory objects)Locked
- 53LESSONLESSON 53: throw and a custom exception – you define MyExceptionLocked
- 54LESSONLESSON 54: ArrayList: a dynamic list and basic operationsLocked
- 09QUIZQuiz 9: lessons 49–54Locked
- 55LESSONLESSON 55: HashSet: unique elements and a fast membership testLocked
- 56LESSONLESSON 56: HashMap – a key→value map, counting occurrencesLocked
- 57LESSONLESSON 57: Iterators and for‑each – safe iteration over collectionsLocked
- 58LESSONLESSON 58: Generics - classes and methods parameterized by typeLocked
- 59LESSONLESSON 59: Generic Bounds: extends and super (wildcards)Locked
- 60LESSONLESSON 60: Stack and Queue: Deque as a stack/queueLocked
- 10QUIZQuiz 10: lessons 55–60Locked
- 61LESSONLESSON 61: PriorityQueue – a priority queue in practiceLocked
- 62LESSONLESSON 62: Functional interfaces and lambdas: Predicate, FunctionLocked
- 63LESSONLESSON 63: Method and constructor referencesLocked
- 64LESSONLESSON 64: Streams: creating and map/filterLocked
- 65LESSONLESSON 65: Streams: collect into lists, sets, and mapsLocked
- 11QUIZQuiz 11: lessons 61–65Locked
- 66LESSONLESSON 66: reduce and Optional – aggregations and missing valuesLocked
- 67LESSONLESSON 67: Grouping and statistics in streams: groupingBy, summarizingLocked
- 68LESSONLESSON 68: java.time: LocalDate, LocalDateTime, Duration, PeriodLocked
- 69LESSONLESSON 69: BigDecimal – exact financial calculationsLocked
- 70LESSONLESSON 70: Regular expressions: Pattern/Matcher, validationLocked
- 12QUIZQuiz 12: lessons 66–70Locked
- +EXAMConfirm your skills with an examPreparing with this course is optional. You can choose a certification exam for this language and level without completing the course or quizzes. Check your account access and confirm exam authorization.Other status