Free Course Image Java for Beginners: Complete Java Programming Course

Free online courseJava for Beginners: Complete Java Programming Course

Duration of the online course: 16 hours and 31 minutes

New

Free Java course for beginners: learn syntax, variables, control flow, OOP, data structures, files, exceptions, and simple GUI projects.

In this free course, learn about

  • Getting Started: IDE Setup and First Output
  • Java Syntax Essentials: Comments, Strings, and Output Formatting
  • Variables, Numeric Types, and Arrays
  • User Input with Scanner and Simple Programs
  • Booleans, Comparisons, and Branching Logic
  • Math Basics and Looping Fundamentals
  • Methods, Parameters, and Working with Strings
  • Dates, Control Flow Variants, and Collections Basics
  • File I/O, Iteration Patterns, and Practice Programs
  • Exceptions and Error Handling
  • Reading Data Files and Maps/Sets
  • Scope, Casting, and Program Structure
  • Practice Programs: Timing, Strings, and Basic Algorithms
  • Data Structures: Stack, Queue, LinkedList, and Iterators
  • Recursion and Classic Recursion Examples
  • Object-Oriented Programming Foundations
  • Advanced OOP: Interfaces, Abstraction, and Class Design
  • Inheritance and Polymorphism
  • Enums, Formatting, and Desktop GUI Projects

Course Description

Learn Java from the ground up with a free beginner-friendly course designed to take you from your first line of code to building complete programs. Start by setting up your development environment and understanding core syntax, then move quickly into writing clean output, using comments, working with strings, and handling common data types.

As you progress, you will practice real input and output with user interaction, apply operators and conditional logic, and strengthen your fundamentals with loops, methods, parameters, and return values. You will also work with arrays and collections, including multi-dimensional structures, and learn practical techniques for string processing and small problem-solving challenges.

The course goes beyond basics by introducing dates and time, file handling, and reading structured data such as CSV files. You will also explore essential error handling concepts with exceptions, null safety, and try-catch patterns, helping you write more reliable Java applications.

To round out your skills, you will dive into key data structures and iteration, then build confidence with recursion and classic programming exercises. Finally, you will develop a strong foundation in object-oriented programming, including classes, constructors, static members, interfaces, abstract classes, encapsulation, inheritance, polymorphism, enums, and common best practices. You will even get an introduction to GUI programming and small projects that make learning Java feel practical and fun.

Course content

  • Video class: How To Install Eclipse On Windows And Mac For Java #1 12m
  • Exercise: In Java, which line prints text like Hello World to the console?
  • Video class: System.out.println In Java #2 06m
  • Video class: Comments in Java #3 07m
  • Exercise: Which syntax correctly creates a single-line comment that disables a line of Java code?
  • Video class: Escape Sequences In Java #4 08m
  • Video class: Animated ASCII Art Java Code #5 09m
  • Exercise: Which Java construct is used to repeatedly swap between two ASCII-art frames so the animation keeps running?
  • Video class: Java Strings Tutorial #6 06m
  • Video class: Java Int Variables #7 05m
  • Exercise: Which statement correctly describes an int in Java?
  • Video class: Simple Java Dice Program #8 07m
  • Video class: Double, Long and Float Java Tutorial #9 04m
  • Exercise: Which Java data type is best for a decimal value that can be very large, and does not require a suffix like F or L?
  • Video class: Arrays In Java Tutorial #10 09m
  • Video class: 2D Array Java Tutorial #11 08m
  • Exercise: When accessing a 2D array element in Java like array[row][col], what is the correct rule for indexes?
  • Video class: How to get String Input from a User in Java #12 06m
  • Video class: Java Program Example: Add Two Numbers From a User #13 03m
  • Exercise: Which Scanner method reads an integer typed by the user from the console?
  • Video class: Java Scanner Tutorial #14 12m
  • Video class: Boolean Java Tutorial #15 13m
  • Exercise: Which values can a Java boolean variable store?
  • Video class: How To Use Comparison Operators In Java #16 11m
  • Video class: If Else Statement In Java Tutorial #17 07m
  • Exercise: Which Java operator is used to combine two conditions in an if statement so both must be true (e.g., grade >= 90 and grade <= 100)?
  • Video class: Java Program For Beginners - Magic 8 Ball #18 15m
  • Video class: Fortune Cookie Java Program #19 10m
  • Exercise: In a Java fortune cookie program, what is the best way to generate a valid random index for the fortunes array?
  • Video class: Logical Operators In Java #20 09m
  • Video class: Math.pow Java Exponents Tutorial #21 04m
  • Exercise: Which Java method is used to calculate an exponent like 5 raised to the power of 2?
  • Video class: Java Math Library #22 18m
  • Video class: For Loop Java Tutorial #23 07m
  • Exercise: In Java, what does the condition `i < 15` mean in a for loop like `for (int i = 0; i < 15; i++)`?
  • Video class: Nested For Loop In Java Tutorial #24 10m
  • Video class: For Loop Pattern Program In Java #25 15m
  • Exercise: In a nested loop that prints a growing star pattern (1 star on row 1, 2 stars on row 2, etc.), which condition should the inner loop use to match the number of stars to the current row?
  • Video class: Methods in Java Tutorial #26 05m
  • Video class: Return Statement in Java #27 14m
  • Exercise: In Java, what change is needed so a method like add(a, b) can be used in an assignment such as int sum = add(5, 4);?
  • Video class: Parameters in Java Tutorial #28 08m
  • Video class: String Method Java Tutorial #29 08m
  • Exercise: In Java, which string method returns the first character of a string?
  • Video class: Capitalize The First Letter of a String in Java #30 09m
  • Video class: Java Multiple Choice Quiz Program Tutorial #31 13m
  • Exercise: In a Java console multiple-choice quiz, which tool is used to read user input (A, B, C, or D) from the console?
  • Video class: Find Duplicate Characters In A String Java Program #32 08m
  • Video class: Java Date and Time Tutorial #33 09m
  • Exercise: Which code snippet correctly gets the current date/time using Java's built-in Date class?
  • Video class: Java Date - Calculate Age From Date of Birth #34 06m
  • Video class: Switch Case in Java #35 09m
  • Exercise: In a Java switch statement, what is the purpose of the default case?
  • Video class: ArrayList in Java Tutorial #36 05m
  • Video class: While Loop Java Tutorial #37 08m
  • Exercise: What is the key difference between a while loop and a do-while loop in Java?
  • Video class: Files In Java - Read Text File Easily #38 07m
  • Video class: For Each Loop In Java Tutorial #39 09m
  • Exercise: Which enhanced for (for-each) loop correctly prints every String in the array cars?
  • Video class: Basic Encryption And Decryption In Java #40 07m
  • Video class: Reverse String in Java Practice Program #41 11m
  • Video class: Break Java Tutorial #42 12m
  • Video class: Java Exceptions - Learn Exceptions in Java #43 11m
  • Exercise: In Java, what is an exception?
  • Video class: Java Null Keyword - How To Use Null in Java #44 04m
  • Video class: Null Pointer Exception Java Tutorial #45 10m
  • Video class: Try Catch Java Tutorial #46 11m
  • Video class: Java Finally Keyword - Try Catch Finally Java Tutorial #47 10m
  • Exercise: In a try-catch-finally structure, when does the code inside the finally block run?
  • Video class: Throw And Throws In Java Tutorial #48 09m
  • Video class: Java: Read a CSV File into an Array #49 13m
  • Exercise: Which approach is used to read a CSV file line-by-line in Java in this lesson?
  • Video class: HashMap Java Tutorial #50 11m
  • Video class: Simple Java Program In Eclipse - Fart Generator #51 12m
  • Exercise: Which Java data structure is used to map each input (letter or day) to its corresponding adjective?
  • Video class: HashSet In Java Tutorial #52 12m
  • Video class: Java Scope - Scope of Variables in Java Tutorial #53 09m
  • Exercise: In Java, why does a variable declared inside an if-statement block usually cause an error when used after the block ends?
  • Video class: Initialization, Declaration and Assignment in Java #54 03m
  • Video class: Java Type Casting Tutorial #55 05m
  • Exercise: In Java, what happens when you cast the double value 0.5 to an int using (int) 0.5?
  • Video class: parseInt Java Tutorial - String to Integer #56 05m
  • Video class: Main Method In Java Tutorial #57 09m
  • Exercise: What does the keyword static in the main method allow you to do?
  • Video class: Practice Java Program - Reaction Timer #58 11m
  • Video class: Practice Java Program - Java Pangram Program #59 16m
  • Exercise: In the pangram checker program, what is the main purpose of creating a boolean array of size 26?
  • Video class: Typing Speed Java Program - Calculate WPM #60 13m
  • Video class: Java Modulus Tutorial #61 06m
  • Exercise: What does the modulus operator (%) return in Java?
  • Video class: Prime Number Program in Java #62 10m
  • Video class: Palindrome Program In Java Tutorial #63 09m
  • Exercise: In a Java palindrome checker, why must you write `original = original.replace(" ", "");` instead of just `original.replace(" ", "");`?
  • Video class: Java Conditional Operator Tutorial #64 04m
  • Video class: Stack Java Tutorial #65 09m
  • Exercise: In Java, which Stack method lets you view the top element without removing it?
  • Video class: Queue In Java Tutorial #66 07m
  • Video class: Linked List Java Tutorial #67 07m
  • Exercise: In Java, which statement best describes why a LinkedList can be fast for insertions/removals compared to an array?
  • Video class: Iterator Java Tutorial #68 07m
  • Video class: Recursion Java Tutorial #69 09m
  • Exercise: In recursion, what is the purpose of a base case?
  • Video class: Factorial Program in Java with Recursion #70 09m
  • Video class: Object-Oriented Programming Java Tutorial (Java OOP) #71 14m
  • Exercise: In object-oriented programming, what are the two main parts used to model a real-world object (like a pen) in Java?
  • Video class: Java Classes - How To Use Classes in Java #72 07m
  • Video class: Array of Objects Java Tutorial #73 05m
  • Exercise: Which syntax correctly declares an array of Monkey objects named monkeys in Java?
  • Video class: Java Constructor Tutorial - How To Use A Constructor in Java #74 12m
  • Video class: Static in Java Tutorial #75 06m
  • Exercise: In Java, why would you add the static keyword to a class variable?
  • Video class: Static Method In Java Tutorial #76 05m
  • Video class: Naming Convention In Java Tutorial #77 05m
  • Exercise: Which naming convention is recommended for a constant variable in Java whose value never changes?
  • Video class: Java Interface Tutorial #78 06m
  • Video class: Abstract Class In Java Tutorial #79 08m
  • Exercise: Why can’t you create an object directly from an abstract class in Java?
  • Video class: This Keyword in Java Tutorial #80 10m
  • Video class: Inner Class Java Tutorial #81 04m
  • Exercise: How do you create an instance of a non-static inner class named Inside inside an outer class named Outside?
  • Video class: Access Modifiers Java Tutorial #82 11m
  • Video class: Encapsulation in Java Tutorial #83 11m
  • Exercise: In Java encapsulation, what is the main purpose of using private fields with public getters and setters?
  • Video class: Getters and Setters Java Tutorial #84 14m
  • Video class: Java Method Chaining Tutorial #85 08m
  • Exercise: What change is needed in a setter method to enable method chaining on a Student object?
  • Video class: Inheritance in Java Tutorial #86 10m
  • Video class: Java Super Keyword Tutorial #87 15m
  • Exercise: In an inheritance relationship, what does the Java keyword super refer to?
  • Video class: Java Inheritance - Subclass and Superclass Program #88 14m
  • Video class: Final Keyword In Java Tutorial #89 07m
  • Exercise: What does the Java final keyword prevent when applied to a method?
  • Video class: instanceof Java Keyword Tutorial #90 05m
  • Video class: toString Method Java Tutorial #91 06m
  • Video class: Polymorphism In Java Tutorial #92 05m
  • Video class: Method Overloading In Java Tutorial #93 06m
  • Exercise: What does Java method overloading mean?
  • Video class: Method Overriding In Java Tutorial #94 07m
  • Video class: Java OOP in 10 Minutes (Java Object Oriented Programming) #95 10m
  • Exercise: In Java OOP, what does it mean when one class uses the keyword extends another class?
  • Video class: Java Enum Tutorial #96 10m
  • Video class: Java Currency Formatter Practice Program #97 19m
  • Exercise: How do you format a double as a US currency String in Java?
  • Video class: How To Detect Arrow Keys In Java #98 18m
  • Video class: Java GUI Tutorial - Make a GUI in 13 Minutes #99 12m
  • Exercise: In a basic Java Swing GUI, what is the main purpose of adding an ActionListener to a JButton?
  • Video class: Java GUI Tutorial - Make a Login GUI #100 19m
  • Video class: Tic Tac Toe Java Game - Build a Tic Tac Toe Game in 30 Minutes #101 31m
  • Exercise: In a console-based Java Tic-Tac-Toe program, what data structure is used to represent the game board for printing and updating X/O placements?

This free course includes:

16 hours and 31 minutes of online video course

Digital certificate of course completion (Free)

Exercises to train your knowledge

100% free, from content to certificate

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

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

Free Ebook + Audiobooks! Learn by listening or reading!

Download the App now to have access to + 5000 free courses, exercises, certificates and lots of content without paying anything!

  • 100% free online courses from start to finish

    Thousands of online courses in video, ebooks and audiobooks.

  • More than 60 thousand free exercises

    To test your knowledge during online courses

  • Valid free Digital Certificate with QR Code

    Generated directly from your cell phone's photo gallery and sent to your email

Cursa app on the ebook screen, the video course screen and the course exercises screen, plus the course completion certificate