Category Archives: Core Java

This Category contains all the posts related to Core Java

Association Aggregation and Composition in Java

In this post. We will talk and learn about Association Aggregation and Composition in Java Association Association is the relation between two separate classes or entities that establish through their Objects. We can categorize associations in the following types: one-to-one one-to-many many-to-one many-to-many. In the Object-Oriented programming world, an Object can communicate with other Objects by… Read More »

What is Red-Black Tree?

In this post, we will talk about What is Red-Black Tree? Red-Black Tree is usually a self-balancing Binary Search Tree (BST), In red-black trees, each node is associated with an extra attribute:  the color, which is either red or black. To get logarithmic complexity we impose the following restrictions.  Root Property: The root is black External… Read More »