Learn Java for free with this interactive course, and get a handle on one of the most popular programming languages in the world. You'll start with a simple hello world program and proceed to cover common concepts such as Conditional Statements, Loop Statements, Math, and Logic in Jav...

Hands-on coding environments

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

Faster than videos

Videos are holding you back. The average video tutorial is spoken at 150 words per minute, while you can read at 250. That‘s why our courses are text-based.

No set-up required

Start learning immediately instead of fiddling with SDKs and IDEs. It‘s all on the cloud.

Progress you can show

Built in assessments let you test your skills. Completion certificates let you show them off.

Hands-on coding environments

You don’t get better at swimming by watching others. Coding is no different. Practice as you learn with live code environments inside your browser.

Faster than videos

Videos are holding you back. The average video tutorial is spoken at 150 words per minute, while you can read at 250. That‘s why our courses are text-based.

No set-up required

Start learning immediately instead of fiddling with SDKs and IDEs. It‘s all on the cloud.

Progress you can show

Built in assessments let you test your skills. Completion certificates let you show them off.

Hello World!Hello World: Code ExplanationCompiling Your First Java Program!Challenge: Play Around With 'print' StatementSolution Review: Play Around With 'print' StatementQuick Quiz!

Variables in JavaData TypesVariable SyntaxTaking Variable Value From UserChallenge: Declaring VariablesSolution Review: Declaring VariablesQuick Quiz!

Simple Java MathsMathematical FunctionsLogical ExpressionsChallenge 1: Compute an Expression Using MathsSolution Review: Compute an Expression Using MathsChallenge 2: Compute an Expression Using Logical OperatorsSolution Review: Compute an Expression Using LogicQuick Quiz!

Java StringsString MethodsChallenge: Finding the Right WordsSolution Review: Finding the Right WordsQuick Quiz!

Conditional Statementif Conditional Statementsswitch StatementConditional ExpressionChallenge 1: Even or OddSolution Review: Even or OddChallenge 2: What Day is it?Solution Review: What Day Is It?Quick Quiz!

while & do-while Loopsfor LoopInfinite LoopsChallenge 1: Multiplication Table of a NumberSolution Review: Multiplication Table of a NumberChallenge 2: Calculating the First 'n' Fibonacci NumbersSolution Review: Calculating the first 'n' Fibonacci numbersChallenge 3: Pyramid Printing by Using 'for' LoopSolution Review: Pyramid Printing by Using 'for' LoopQuick Quiz!

Methods in JavaParameters and Return Types in MethodsReturn Parameters in MethodsConstructorStatic MethodsChallenge 1: Method to Check SumSolution Review: Method to Check SumChallenge 2: Letter Grade to GPASolution Review: Letter Grade to GPAChallenge 3: Sum of Digits in an IntegerSolution Review: Sum of Digits in an IntegerChallenge 4: Playing With StringsSolution Review: Playing With StringsQuick Quiz!

What Are Arrays?A Bit More About ArraysTwo Dimensional ArraysChallenge 1: Find the Maximum ValueSolution Review: Find the Maximum ValueChallenge 2: Sorting an ArraySolution Review: Sorting an ArrayChallenge 3: Print a MatrixSolution Review: Print a MatrixChallenge 4: Pascal's TriangleSolution Review: Pascal's TriangleQuick Quiz!

Introduction to ClassesConstructorsClass Member MethodsInheritance in JavaChallenge 1: Calculating the AreaSolution Review: Calculating the AreaChallenge 2: Displaying Message Using InheritanceSolution Review: Displaying Message Using InheritanceQuick Quiz!

Introduction to GenericsGeneric ClassChallenge 1: Finding Max in an ArraySolution Review: Finding Max in an ArrayQuick Quiz!

ArrayLists in JavaCreating an ArrayList ObjectInbuilt MethodsChallenge 1: Gathering Zeros to the StartSolution Review: Gathering Zeros to the StartChallenge 2: Remove Duplicates From an ArrayListSolution Review: Remove Duplicates From an ArrayListQuick Quiz!

Course Assessment

Java Exam

Join more than 1.4 million learners from companies like

COURSE BY:

Educative

Teams of every size choose

Educative for Business

to train, upskill & onboard their developers