Java
CopyOnWriteArrayList Class in Java [Complete Tutorial]
In this tutorial, we covered constructors and methods of CopyOnWriteArrayList class along with the important operations that can be performed using the built- …
Find merge point of two lists in Java [Practical Examples]
In this article we explored three different methods which can be used in Java to find merge point of two lists i.e Brute Force Approach, Marking Node as visited …
How to convert List to Map in Java [Practical Examples]
In this tutorial, we covered three different approach to convert List to Map in Java i.e Using the put() method, Collectors.toMap() method and …
4 programs that shows how Java global variables work
A Java global variable is a variable that is declared outside a method or at the start of a code is a global variable, there are no access restrictions on a …
How to find a height of a tree data structure in Java
The Tree is a non linear data structure consisting of nodes and edges. Depending upon the type of tree, it can have 0 or more child nodes. There are two ways to …
