Free Course Image Java Programming from Scratch: OOP, Collections, Streams, and Multithreading

Free online course Java Programming from Scratch: OOP, Collections, Streams, and Multithreading

Duration of the online course: 18 hours and 35 minutes

New

Write your first Java program and build your skills in OOP, collections, streams, and multithreading with this free online Java course.

In this free course, learn about

  • Compile and run Java classes and test code interactively with JShell.
  • Use Java variables, data types, arrays, type inference, and operators, and identify local variable scope.
  • Control program flow with conditionals, switch expressions, and loops.
  • Define classes, methods, and constructors, initialize fields, and distinguish stack from heap memory.
  • Organize code into packages and JPMS modules and use encapsulation to control access.
  • Overload methods, trace recursive calls, and use nested classes.
  • Apply inheritance and identify runtime polymorphism.
  • Define interfaces with default methods and restrict inheritance with sealed classes.
  • Distinguish exception types and catch, throw, and define custom exceptions.
  • Read and write data with byte and character streams in the Java I/O hierarchy.
  • Manage thread lifecycles, synchronize shared data, and run and await tasks using fixed thread pools.
  • Use generic classes and methods, wrapper types, and collection algorithms with lists, sets, and maps.
  • Use lambdas and method references with functional interfaces, and build sequential and parallel stream pipelines.
  • Manipulate strings and replace sequences of digits using regular expressions.

About the free online course

Go from running your first Java program to understanding how larger applications organize code, process data, and run tasks concurrently. This free online course starts with the basics of compiling and running a Java class, then shows how variables, arrays, and control flow shape what a program does. You will also see how to use JShell to test a small idea without writing an entire program.

As you move into object-oriented programming, you will learn to give objects clear responsibilities and keep their internal state private. Rather than treating inheritance and interfaces as abstract concepts, the course shows how they let different objects respond to the same method call in their own way. You will also explore what happens when a program encounters an error and how exception handling lets you respond to it.

When you start working with groups of values, you will see why choosing the right collection depends on what your program needs to do with the data. Generics help catch type mistakes before the program runs, while lambdas and the Stream API offer a concise way to filter, transform, and combine results. The course distinguishes these data-processing pipelines from the I/O streams Java uses to read and write data.

The multithreading lessons explain what changes when tasks can run concurrently. You will see why shared data needs careful coordination, how to wait for a task to finish, and why a thread pool can be useful when there is more work to schedule. Exercises alongside the videos give you a chance to predict what code will do, trace how it runs, and fill in missing pieces. Whether you are new to programming or learning Java after another language, you will build a foundation for reading Java code and writing programs of your own.

Course content

  • Video class: Java Tutorial for Beginners | Full Java Course | Getting Started with Java | Karpado Java Part 1 43m
  • Exercise: Order the steps to compile and run a Java class named Hello.
  • Video class: Java Variables | Data Types | Arrays | Type Inference & More | Karpado Java Part 2 1h09m
  • Exercise: What is the length of the array after this code runs?
  • Video class: Operators in Java | Karpado Java Course Part 3 33m
  • Exercise: Identify where a local variable can be accessed.
  • Video class: Control Statements in Java | Switch exps | Loop statements & more | Karpado Java Course Part 4 53m
  • Exercise: Match each Java control construct to its behavior.
  • Video class: Classes and Objects in Java | Stack Memory | Heap Memory | Methods | construct | Karpado Java Part 5 1h40m
  • Exercise: Complete the constructor assignment to initialize the instance field.
  • Video class: Java Packages | JPMS (Java Platform Module System) | Project Jigsaw | Karpado Java Part 6 1h04m
  • Exercise: Build a sentence about encapsulation in Java.
  • Video class: Classes and Objects | Overloading | Recursion | Nested classes | Strings | Karpado Java Part 7 1h22m
  • Exercise: Order the calls and returns for factorial(3), where factorial(1) returns 1 and factorial(n) returns n * factorial(n - 1).
  • Video class: Java JShell Tutorial | Karpado Java Part 8 13m
  • Exercise: What is a key benefit of using JShell?
  • Video class: Inheritance in Java Tutorial | Types of Inheritance | Polymorphism & More | Karpado Java Part 9 1h39m
  • Exercise: Identify runtime polymorphism in Java
  • Video class: Interfaces in java Tutorial | Default Methods | Sealed Classes & more | Karpado Java Part 10 48m
  • Exercise: Match each Java interface concept with its role.
  • Video class: Exceptions Handling In Java Tutorial | Custom Exceptions | Exception Types | Karpado Java Part 11 40m
  • Exercise: Complete the Java exception-handling statement.
  • Video class: Java IO Tutorial | Streams | IO Hierarchy and more | Karpado Java Part 12 1h03m
  • Exercise: Build a sentence about Java I/O streams.
  • Video class: Java Multithreading Tutorial | Thread lifecycle | Synchronization and more | Karpado Java Part 13 2h24m
  • Exercise: Order the steps to run a Runnable task and wait for it to finish.
  • Video class: Java Generics Tutorial | Generic Methods and Classes | Wrapper classes & more | Karpado Java Part 14 34m
  • Exercise: Why use a generic class instead of storing values as Object?
  • Video class: Java Collection Framework Tutorial | List | Set | Map | Algorithms and more | Karpado Java Part 15 1h01m
  • Exercise: Evaluate this statement about Java lists.
  • Video class: Java Lambdas and Method References Tutorial | Lambda Expressions and more | Karpado Java Part 16 47m
  • Exercise: Match each Java functional interface to its operation.
  • Video class: Java Streams Tutorial | Creating Streams | Parallel Streams and many more | Karpado Java Part 17 46m
  • Exercise: Complete the Java Stream pipeline.
  • Video class: Java Multithreading Extended | Karpado Java Part 18 47m
  • Exercise: Build a sentence about fixed thread pools.
  • Video class: Random Topics in Java | Karpado Java Part 19 18m
  • Exercise: Order the steps to replace every sequence of digits in an existing Java string named text.

This free course includes:

Icon for learning via the audio course

18 hours and 35 minutes of online video course

Icon for the digital course completion certificate

Digital certificate of course completion (Free)

Icon for exercises to practice what you've learned

Exercises to train your knowledge

Icon for courses that are 100% free from start to finish

100% free, from content to certificate

What is the difference between a List and a Set in Java?

A List allows duplicates and maintains element order; a Set does not allow duplicates.

How do Java Streams filter elements in a collection?

Use the filter() method with a predicate, such as stream.filter(x -> x > 0).

How can you wait for a Java thread to finish?

Call join() on the thread after starting it.

Ready to get started?Download the app and get started today.

Install the app now

to access the course
Icon representing technology and business courses

Over 5,000 free courses

Programming, English, Digital Marketing and much more! Learn whatever you want, for free.

Calendar icon with target representing study planning

Study plan with AI

Our app's Artificial Intelligence can create a study schedule for the course you choose.

Professional icon representing career and business

From zero to professional success

Improve your resume with our free Certificate and then use our Artificial Intelligence to find your dream job.

You can also use the QR Code or the links below.

QR Code - Download Cursa - Online Courses

Video Courses

More free courses at Programming Languages ( Python, Ruby, Java, C )

See all video courses

Interactive tutorials

Step-by-step tutorials on Programming Languages ( Python, Ruby, Java, C )

See all tutorials (6)