- 1 Introduction to Java and Setup The "Why" Before the "How": Why Java?Understanding the Ecosystem: JDK, JRE, and JVMSetting Up Your Development Environment (IDE selection)Your First Java Program: "Hello World" and the main method +1
- 2 Java Fundamentals: Building Blocks Variables and Primitives: Memory Boxes for Your DataOperators: Performing Math, Logic, and ComparisonsControl Flow (If/Else, Switch): Making DecisionsLoops (For, While, Do-While): Repeating Actions Efficiently
- 3 Object-Oriented Programming (OOP) Part 1: The Basics Classes and Objects: Blueprints and InstancesMethods and Constructors: Behavior and InitializationAccess Modifiers: Controlling Who Sees What (Public, Private, Protected)The 'this' Keyword and Understanding Variable Scope
- 4 Object-Oriented Programming (OOP) Part 2: Core Pillars Encapsulation: Protecting Your Data StateInheritance: Reusing Code with Superclasses and SubclassesPolymorphism: One Interface, Multiple ImplementationsAbstraction: Abstract Classes vs. Interfaces
- 5 Arrays and Strings: Handling Sequences Working with 1D and Multi-dimensional ArraysThe String Class: Understanding Immutability and the String PoolStringBuilder and StringBuffer: Efficient String ManipulationCommon String and Array Utility Methods
- 6 Exception Handling: Expecting the Unexpected Understanding the Exception Hierarchy (Checked vs. Unchecked)Try, Catch, and Finally: Safely Handling Runtime ErrorsThrow and Throws: Passing the BuckCreating Custom Exceptions for Your Domain
- 7 The Java Collections Framework: Managing Data Structures Introduction to Generics: Writing Type-Safe CodeLists (ArrayList, LinkedList): Ordered CollectionsSets (HashSet, TreeSet): Ensuring UniquenessMaps (HashMap, TreeMap): Storing Key-Value Pairs
- 8 File I/O and NIO.2: Interacting with the Outside World Byte Streams vs. Character StreamsReading and Writing Files (FileReader, FileWriter, BufferedReader)Java NIO.2: Modern File, Path, and Directory OperationsSerialization: Saving and Restoring Object States
- 9 Functional Programming in Java Lambda Expressions: Anonymous Functions SimplifiedFunctional Interfaces: The Target Type for LambdasThe Stream API: Processing Collections DeclarativelyOptional: Banishing the NullPointerException safely
- 10 Concurrency and Multithreading: Doing Things Simultaneously Threads and Runnables: Creating Concurrent TasksSynchronization and Thread Safety: Preventing Data RacesThe Concurrency API: Thread Pools and ExecutorsCompletableFuture: Modern Asynchronous Programming
- 11 Java Database Connectivity (JDBC) Setting up JDBC Drivers and Establishing ConnectionsExecuting SQL Queries and Processing ResultSetsPreparedStatements: Preventing SQL InjectionManaging Database Transactions (Commit and Rollback)
- 12 Modern Java Features (Java 11 to Recent) The 'var' Keyword: Local Variable Type InferenceRecords: Concise Data Carrier ClassesSwitch Expressions and Pattern MatchingSealed Classes: Controlling Inheritance
- 13 Build Tools and Dependency Management Introduction to Maven: The Project Object Model (POM)Managing External Dependencies and PluginsUnderstanding the Maven Build LifecycleGradle Basics: An Alternative to Maven
- 14 Testing Your Java Code JUnit 5 Basics: Writing Your First Unit TestAssertions and Test Lifecycle AnnotationsMocking Dependencies with MockitoTest-Driven Development (TDD) Concepts
- 15 Introduction to Spring Boot (Practical Next Step) Dependency Injection and Inversion of Control (IoC)Spring Boot Basics: Autoconfiguration and StartersCreating a RESTful API: Controllers and RoutingSpring Data JPA: Simplifying Database Access