OOP

Queue data structure implementation in Java (using linked lists)

The Queue data structure implementation is studied in most Computer Science courses on Data Structure and Algorithms. In this post, you will learn one implementation of this important data structure. One of my favourite books to study data structure is Introduction to Algorithms by Cormen. What is a Queue A queue is a linear data …

Queue data structure implementation in Java (using linked lists) Read More »

Undirected Simple Graph Data Structure: Implementation and usage in Java

Graph Data Structure is an important tool to model real-world situations. In this post, you will learn one of the implementations of the TDA and an example of how to use it. To use a graph, you first have to understand when and why you can use it. As in other topics, you will find …

Undirected Simple Graph Data Structure: Implementation and usage in Java Read More »

General Tree Data Structure: implementation and usage in Java

The General Tree data structure is one of the classic data structures studied in a Data Structure and Algorithms course. You will learn here how to implement the general tree data structure. So, let’s start by stating what do we mean by General Tree. General Tree Definition A tree is a mathematical model. Therefore, it …

General Tree Data Structure: implementation and usage in Java Read More »

What is an Abstract Class in Object Oriented Programming

Abstract class concept is one of the basic concepts of Object-Oriented Programming. It gives us the possibility of modelling concepts from the real world and facilitates the use of one of the OOP principles: code reuse. An abstract class in Object-Oriented Programming (OOP) is a class that cannot be instantiated. In other words, you cannot …

What is an Abstract Class in Object Oriented Programming Read More »

OOP Concepts for beginners: Illustrated guide

Beginners usually struggle to grasps OOP concepts. I trust that with this illustrated guide, beginners will get a better understanding of the basic OOP concepts. What is programming? “The process or activity of writing computer programs.” Oxford dictionary. “A computer program is a collection of instructions that can be executed by a computer to perform …

OOP Concepts for beginners: Illustrated guide Read More »