Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Java Programming for Complete Beginners
Rating: 4.2 out of 5(16,763 ratings)
543,755 students

Java Programming for Complete Beginners

Learn Core Java Skills including the lastest version of Java
Last updated 1/2026
English
English [Auto],Spanish [Auto],

What you'll learn

  • Learn core Java skills from complete beginner to advanced features

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

14 sections257 lectures32h 29m total length
  • Installing JDK and Eclipse IDE3:05

    Install the Java Development Kit and the Eclipse IDE to begin developing Java programs. Include the Java Runtime Environment bundled with the JDK, and let Eclipse handle text-file editing.

  • Your First Hello World Program2:49

    Create a hello world program in Eclipse by making a Java project, adding a class with a main method, and printing 'hello world' to the console.

  • Variables6:14

    Learn how to declare and initialize variables in Java, print results, and explore primitive types such as int, short, long, float, double, char, boolean, and byte with examples.

  • Strings6:29

    Learn how strings serve as non-primitive text types in Java, create string variables as objects of class String, concatenate with numbers, and print results to the console using Eclipse.

  • Quiz 1
  • While Loops6:05

    Learn how to implement while loops in Java by using boolean conditions, updating the control variable, and ensuring termination to avoid infinite loops.

  • For Loops5:14

    Explore how for loops control iteration in Java by initializing a counter, setting a condition, and updating it, then print values with System.out.printf and format specifiers like %d.

  • If Statements9:38

    Explore how Java if statements evaluate boolean conditions using equals and not equals, apply else and else if branches, and use break to control loops.

  • Quiz 2
  • Getting User Input6:20

    Explore getting user input with the scanner class, using System.in, prompts, and nextLine, nextInt, and nextDouble to read strings, integers, and decimals, while noting basic robustness and exception handling.

  • Comments, Variable Scope, Do While Loops6:01

    Learn to write single-line and multi-line comments in Java, and grasp variable scope with braces. Implement a do-while loop with a scanner to prompt the user until they enter 9.

  • Switch Statements5:40

    Compare java switch statements with if statements, test text input with cases and breaks, and handle a default path using scanner input to control program actions like run or stop.

  • Arrays7:04

    Explore arrays in java: distinguish primitive ints from reference types, allocate memory with new int[n], access elements by zero-based indexing, and iterate with a for loop, including inline initialization.

  • Multidimensional Arrays, Nested For Loops13:24

    Master multidimensional arrays in Java, from two dimensional to four dimensional, using nested for loops to iterate and access elements with zero-based indexing and default values.

  • Classes, Methods, and Objects7:00

    Explore classes, objects, and methods in Java, learn the structure of a method with void return, and practice creating objects, initializing variables, and calling methods.

  • Return Types and Method Parameters11:18

    Learn how void and return types shape what a method outputs and how to return values. Master passing parameters, maintaining order, and matching types for method calls.

  • Packages8:15

    Learn how Java packages structure code, prevent class name conflicts, organize subpackages with dots, imports, and conventions like reverse website names for unique package names.

  • Constructors and this vs. this()11:08

    Learn how constructors run when you create an instance and initialize instance variables. Use the this keyword to distinguish local from instance variables and explore constructor overloading and chaining.

  • Static and Final12:21

    Explore static and final keywords in Java, distinguish class variables from instance variables, and see how static data, constants, and object counting work.

  • Inheritance and Access Modifiers8:34

    Learn how inheritance lets a car class extend a factory, share methods, and access modifiers public, protected, default, and private control visibility.

  • Polymorphism8:13

    Polymorphism in Java lets a subclass be used wherever a superclass is expected, demonstrated by vehicle and its car, with overridden design method.

  • Encapsulation3:58

    Demonstrates encapsulation in Java by using private instance data, public getters and setters, and final constants, while protecting internal logic and reducing class coupling.

  • Casting Numerical Values5:46

    Explore java's numeric types, including byte, short, int, long, float, and double, and master casting between them, noting max/min values, decimal truncation, and string-to-integer conversion with parsing.

  • Interfaces12:22

    Explore interfaces in Java by creating and implementing an information interface across computer and vehicle classes, and learn how to use them to display consistent information.

  • Anonymous Classes6:53

    Explore anonymous classes in Java by overriding methods on the fly with anonymous subclass and interface implementations, illustrating with a computer class and a phone interface.

  • Reading Files with Scanner Class8:18

    Learn to read a file line by line in Java using the Scanner class, creating a File object and handling path syntax such as backslashes.

  • StringBuilder6:54

    Explore the string builder class in Java and its mutability advantages over strings. Learn to use append for efficient concatenation, convert to string with toString, and master method chaining.

  • toString Method5:21

    Learn how the Java toString method, inherited from the object class, provides readable string representations for objects like Employee by returning id and name when printed.

  • The Equals Method11:30

    Learn how to compare objects in Java by overriding the equals method and choosing which fields define equality, with guidance on hashCode and using equals for strings.

  • Ternary Operator6:05

Requirements

  • No previous programming knowledge is required
  • All the tools needed are free to install
  • Willingness to learn

Description

Do you want to learn how to code and land a cool Java programming job? Java is a really popular language for creating applications and websites.

It's awesome because the code you write can run on any computer. Now is a great time for Java programmers to find jobs and freelance gigs.

This course is taught by super knowledgeable Java experts certified by Oracle. Once you finish, understanding Java will be a breeze. Moreover, this course includes the updates of Java.

The course covers each topic and makes things easy with simple examples. You get coding notebooks with each lesson for practice.

Learning Java can open up exciting opportunities in the tech industry. Java is widely used, making it a valuable skill for employers. This course not only equips you with the knowledge but also provides hands-on practice with coding notebooks.

The instructors, certified by Oracle, bring a wealth of expertise to guide you through the learning process. Whether you're a complete beginner or looking to enhance your coding skills, this course is suitable for all types of learners.

Don't miss the chance to improve your career and be part of the Java programming community.

Enroll today and embark on a journey to master these valuable and in-demand skills!

Who this course is for:

  • Anyone who wants to learn Java Programming