Object Oriented Programming in Java with Examples

This page contains a list of articles, tutorials, and examples on important OOPS concepts and OOPS principles.

Well, in order to design strong object-oriented design for Java or JavaEE Web Applications, you need to have strong knowledge of OOPS concepts and OOPS principles.

All OOPS concepts and OOPS principles are explained with real-world examples, lots of source code with an explanation, applicability, class diagrams, etc.

OOPS Concepts 

In this section of the tutorials, we cover basic and advanced OOPS concepts for beginners: 
- Object 
- Class 
- Abstraction 
- Encapsulation 
- Inheritance 
- Polymorphism 
- Composition 
- Aggregation 
- Association 
- Cohesion 
- Coupling 
- Delegation

What Is Object in Java with Programming Examples - In this article, we will learn what is Object in Java. How to declare, create and initialize objects in Java with examples. We will also look into different ways to create an object in Java. We will also explore java.lang.Object class methods with examples.

What is a Class in Java with Programming Examples - In this article, we will learn how to declare, and create a Class in Java with examples. We will also look into different component classes like member variables, constructors, methods, etc.

What Are All the Different Ways to Create an Object in Java? - In this quick article, we will discuss 5 different ways to create an object in Java.

Abstraction in Java with Example - In this article, we will learn Abstraction with real-world examples, class diagrams, and implementation with lots of examples.

Encapsulation in Java with Example - In this article, we will learn Encapsulation with real-world examples, class diagrams, and implementation with lots of examples.

Inheritance in Java with Example - In this article, we will learn Inheritance with real-world examples, class diagrams, and implementation with lots of examples.

Polymorphism in Java with Example - In this article, we will learn Polymorphism with real-world examples, class diagrams, and implementation with lots of examples.

Composition in Java with Example - In this article, we will learn Composition with real-world examples, class diagrams, and implementation with lots of examples.

Aggregation in Java with Example - In this article, we will learn Aggregation with real-world examples, class diagrams, and implementation with lots of examples.

Association in Java with Example - In this article, we will learn the Association with real-world examples, class diagrams, and implementation with lots of examples.

Cohesion in Java with Example - In this article, we will learn Cohesion with real-world examples, class diagrams, and implementation with lots of examples.

Coupling in Java with Example - In this article, we will learn Coupling with real-world examples, class diagrams, and implementation with lots of examples.

Delegation in Java with Example - In this article, we will learn Delegation with real-world examples, class diagrams, and implementation with lots of examples.

Object Class Methods in Java with Examples - The Object class, in java.lang package sits at the top of the class hierarchy tree. This article describes the Object class methods with examples.

Java Interface - This post walks you through how to create interfaces in real projects, using Java 8 static and default methods in java projects.

Java Abstract Class - In this guide, we will learn about Abstract class, Abstract Definition Rules, its usage, real-world examples, and how to use it in real-time projects.

Nested Classes in Java - This post walks you through the basics of nested classes, different types of nested classes, and examples.

Packages in Java with Examples - In this article, you will learn everything about packages in Java.
The source code is available on GitHub: Object-Oriented Design Guide

Free Spring Boot Tutorial | Full In-depth Course | Learn Spring Boot in 10 Hours


Watch this course on YouTube at Spring Boot Tutorial | Fee 10 Hours Full Course

Comments

Post a Comment