
Install JDK 21, set up VS Code, and compile and run your first Java program from the terminal. See how the JDK, JRE, and JVM work together when you run Java code.
Store values in variables, choose between primitive and reference types, and use literals and constants. See how Java infers a local variable's type with var.
Read whole numbers and full names with Scanner. Use operators and type casting to calculate an average without losing its fractional part.
Choose between if-else, a switch statement, and a switch expression. Trace how branch order, fall-through, and the default case affect the result.
Repeat work with for, while, and do-while loops. Use break and continue, and check loop boundaries to catch off-by-one errors.
Read, update, and traverse arrays with zero-based indexes. Work with two-dimensional arrays whose rows can have different lengths.
Compare string contents and see how immutable strings behave. Use StringBuilder to assemble text and text blocks to format multiline strings.
Break a program into reusable methods, overload a method by changing its parameter list, and trace recursive calls through the base case.
Trace local variables and object references through the stack and heap. Use VS Code breakpoints and watches to investigate how Java passes values to methods.
Build a console app that finds students by roll number, updates marks, and calculates a decimal average. Test invalid marks and missing roll numbers.
Create Student objects with fields, constructors, and methods. Use this to distinguish a field from a parameter with the same name.
Share class-level data with static and organize code into packages. Protect object state with access modifiers and validation methods.
Extend a base class and override a method. Call it through a base-type reference and see how Java chooses the implementation at runtime.
Put shared behavior in an abstract class and define capabilities with interfaces. Run different implementations through the same workflow.
Implement equals and hashCode consistently for objects used in collections. Use records to represent data and see what shallow immutability means.
Handle failures with try, catch, and finally. Define a custom exception and use try-with-resources to close files automatically.
Use enums for a fixed set of choices and LocalDate for calendar dates. Write and read a dated report with the Files API.
Convert between primitives and wrapper types. Use generics to enforce element types and explore the Java Collections Framework.
Choose between ArrayList and LinkedList for a list of records. Traverse the list and remove elements safely with an iterator.
Choose collections for unique values, key-based lookup, and queued work. Compare ordering across HashSet, TreeSet, HashMap, Deque, and PriorityQueue.
Write lambdas and method references. Use Comparable for natural ordering and combine comparators to rank items and break ties.
Filter, transform, and collect data with the Stream API. Use Optional to handle missing results and provide a fallback.
Run a Java build with the Maven Wrapper and write JUnit tests for normal inputs, boundary values, and expected exceptions.
Follow a thread from start to join and reproduce a lost update. Protect shared state with synchronized and see how inconsistent lock ordering can cause a deadlock.
Run tasks in an ExecutorService and retrieve results with Callable and Future. Coordinate workers with CountDownLatch and update shared data with atomic classes and ConcurrentHashMap.
Combine asynchronous results with CompletableFuture. Run independent blocking tasks on Java 21 virtual threads and see where the program must wait for results.
Model customers and accounts, enforce transfer rules, and record transactions in a ledger. Save and restore bank state and verify the next transaction ID.
Add balance rankings and account statements. Reproduce a race condition, fix the transfer logic, and verify balances and ledger entries after 200 concurrent transfers.
Practice a two-minute interview explanation using the banking project. Explain how the solution works, add a boundary check, and choose your next Java topic.
This course contains the use of artificial intelligence.
Learn Java 21 from scratch by writing, running, and debugging real programs. You'll go from your first Java program in VS Code to a console banking app that saves account data and checks that concurrent transfers leave every balance correct.
Start with variables, conditions, loops, arrays, strings, and methods. Then apply those skills in your first project, a Student Marks Manager. You'll look up students by roll number, validate marks, and calculate averages. Along the way, you'll use breakpoints to see what your code is doing and track down common mistakes.
Next, use object-oriented programming to organize your code with classes, interfaces, and records. You'll handle exceptions, work with files, and use Java collections, lambdas, and the Stream API to filter and summarize data. You'll also use Maven and JUnit to test expected results, boundary cases, and exceptions.
In the Bank Management System project, you'll model accounts, record transactions, save and restore the ledger, and verify the results of 200 concurrent transfers. The course also introduces thread pools, CompletableFuture, and Java 21 virtual threads through runnable examples.
You get 29 video lectures covering 5 hours and 11 minutes, 29 quiz questions, 29 hands-on coding exercises with solutions, nine downloadable cheat sheets, and source code for both projects. Lessons pair synthetic narration with recorded editor and terminal demonstrations, so you can follow the code and compare your results with actual program output.
This course is designed for first-time programmers and students who want hands-on Java practice. No prior programming experience is required. The first lecture walks you through installing JDK 21 and setting up VS Code.