Start Coding Now
1

Classes and Objects in Java - OOP Fundamentals

Learn about classes and objects in Java. Understand OOP fundamentals with practical examples and best practices.

📖 20 min readintermediate
2

Constructors in Java - Types & Examples

Learn about constructors in Java. Default constructor, parameterized constructor, and copy constructor explained.

📖 12 min readintermediate
3

This Keyword in Java - Current Class Instance

Understand the "this" keyword in Java. Refer to the current class instance variable, method, or constructor.

📖 8 min readintermediate
4

Inheritance in Java - Extends Keyword

Learn about inheritance in Java. Single, Multilevel, and Hierarchical inheritance explained with "extends" keyword.

📖 15 min readintermediate
5

Super Keyword in Java - Accessing Parent Class

How to use the "super" keyword in Java to access inherited members or invoke parent class constructors.

📖 10 min readintermediate
6

Method Overloading in Java - Compile-time Polymorphism

Learn about method overloading. How to create multiple methods with the same name but different parameters.

📖 10 min readintermediate
7

Method Overriding in Java - Runtime Polymorphism

Understand method overriding. How a subclass allows to provide specific implementation of a method executing in superclass.

📖 12 min readintermediate
8

Polymorphism in Java - Types & Examples

Master polymorphism in Java. Learn about compile-time (overloading) and runtime (overriding) polymorphism.

📖 15 min readintermediate
9

Encapsulation in Java - Data Hiding

Learn about encapsulation in Java. How to wrap code and data together into a single unit using private fields and public methods.

📖 10 min readintermediate
10

Abstraction in Java - Hiding Implementation Details

Understand abstraction in Java. Learn how to hide internal details and show only functionality using abstract classes and interfaces.

📖 12 min readintermediate
11

Interfaces in Java - Multiple Inheritance

Learn about interfaces in Java. How to achieve multiple inheritance and loose coupling using interface keyword.

📖 12 min readintermediate
12

Abstract Classes in Java

Detailed guide on abstract classes. When to use abstract classes vs interfaces in Java.

📖 10 min readintermediate
13

Final Keyword in Java - Variables, Methods & Classes

Master the final keyword. Learn how to create constants, prevent method overriding, and prevent inheritance.

📖 8 min readintermediate
14

Static Keyword in Java - Memory Management

Understand the static keyword in Java. Static variables, methods, blocks, and nested classes explained.

📖 10 min readintermediate
15

Access Modifiers in Java - Public, Private, Protected

Complete guide to access modifiers in Java. Understand the scope and visibility of classes, variables, and methods.

📖 10 min readintermediate

Explore Other Categories

Practice What You Learn

Try out the code examples in our free online Java compiler.

Open Java Compiler