Java Foundation

Java Foundation course intends to help learners build fundamental java programming concepts, including object-oriented programming (OOP).The learners would be able to write basic programs using the concepts taught using a variety of examples.

Last updated: April 02, 2026

What is Java Foundation Training about?

Java Foundation course intends to help learners build fundamental java programming concepts, including object-oriented programming (OOP).The learners would be able to write basic programs using the concepts taught using a variety of examples.

Objectives of Java Foundation Training

At the end of Java Foundation training, you will be able to: Explain the concept of Java, Explain the basic concept of OOPs, List the features of Java, Develop basic Java programs

Who is Java Foundation Training for?

Developers, Web Designers, Programmers, Students, Individuals who wish to become a Java developer

prerequisites for Java Foundation Training

Knowledge of any programming language

Training Modes

Online

Attend the course online at your convenience.

In-person

Attend classroom sessions led by expert instructors.

Course Outline

Training Level: BEGINNER

Java Basics

Introduction to the Java programming language.

Programming Concepts

Programming Paradigms

What Is Java?

The Object-Oriented Paradigm and Java

Abstraction

Encapsulation and Information Hiding

Inheritance

Polymorphism

Setting Up the Environment

Understanding the software's and tools required to run Java programs.

Installing JDK 17

The JDK Directory Structure

Verifying the JDK Installation

Starting the JShell Tool

Installing different IDE's

Writing Java Programs

The main goal of this chapter is simple — write a Java program to print a message on the console

Using the JShell Tool

Writing the Source Code

Declaring Types

Compiling the Source Code

Running a Java Program

Writing Java Programs Using the Eclipse IDE

Data Types & Operators

Get to know Data types, learn the types of operators in Java

Primitive Data Types in Java

Java Compiler and Unicode Escape Sequence

What Is an Operator?

Declaration, Initialization, and Assignment

Arithmetic Operators

Relational Operators

Ternary & Bitwise Operators

Operator Precedence

Statements

A statement specifies an action in a Java program, such as assigning the sum of x and y to z, printing a message to the standard output, writing data to a file, looping through a list of values, conditionally executing a piece of code...

Types of Statements

A Block Statement

If-else, switch, for, for-each

while, do-while, break, continue

Classes

Classes are the basic units of programming in object-oriented paradigm...

What Is a Class?

Declaring Fields in a Class

Creating Instances of a Class

The null Reference Type

Using Dot Notation to Access Fields of a Class

Access Level Modifiers for a Class

Import Declarations

Methods

A method in a class defines the behavior of the objects of that class or the behavior of the class itself...

What Is a Method?

Local Variables

Instance Methods and Class Methods

Invoking a Method

The Special main() Method

Access Levels for Class Members

Parameter-Passing Mechanisms

Constructors

A constructor is a named block of code that is used to initialize an object of a class immediately after the object is created...

Declaring a Constructor

Overloading a Constructor

Calling a Constructor from Another Constructor

Access Level Modifier for a Constructor

Default Constructor

Access Levels for Class Members

Parameter-Passing Mechanisms

Object and Objects Classes

Class structure, methods of Object class, Object equality...

The Object Class

What Is the Class of an Object?

Computing the Hash Code of an Object

Comparing Objects for Equality

Cloning Object

Finalizing an Object

Immutable Objects

The Objects Class

Wrapper Classes

Wrapper classes in Java and how to use them...

Numeric, Character, Boolean wrapper classes

Autoboxing and Unboxing

Collections and Autoboxing/Unboxing

Exception Handling

How to handle exceptional conditions in the program...

Using a try-catch Block

Exception Class Hierarchy

A Multi-catch Block

Checked and Unchecked Exceptions

Throwing an Exception

Creating an Exception Class

The finally Block

Rethrowing an Exception

The try-with-resources Block

Strings

Create, use and manipulate String objects...

What Is a String?

String Literals

Creating String Objects

String Objects Are Immutable

Comparing Strings

String Pool

String Operations

StringBuilder and StringBuffer

Multiline Strings

Inheritance

What is Inheritance, early/ late bindings, overloading/overriding...

What Is Inheritance?

Inheriting Classes

Inheritance and Hierarchical Relationship

Upcasting and Downcasting

The instanceof Operator

Binding

Method Overriding/ Overriding

Inheritance and Constructors

Abstract Classes and Methods

Is-a, Has-a, and Part-of Relationships

Generics

Generics let you write true polymorphic code that works with any type....

What Are Generics?

Generic Types

Generics and Legacy Code

Mixing Generic and Non-generic Collections

Polymorphism and Generics

Generic Methods

Generic Declarations

Collections

Let's discuss the Collection API...

What Is a Collection?

Need for a Collection Framework

Architecture of the Collection Framework

The Collection<E> Interface

Using Different Types of Collections - Set/ List/ Queue/ Map

Creating Empty Collections

Creating Immutable and unmodifiable Collections

Applying Algorithms to Collections