Articles, Home

Java DOM Tutorial

Document Object Model (DOM) is a standard tree structure, where each node contains one of the components from an XML structure. Element nodes and text nodes are the two most common types of nodes. With DOM functions we can create nodes, remove nodes, change their contents, and traverse the node hierarchy.

Articles, Home

Java Stack

The Java Stack class is a classical stack data structure, where elements can be pushed onto the top of the stack, and popped off the top again. This Java Stack tutorial explains how to use the Stack class.

Articles, Home

JDK14 instanceof EA issue

Tagir Valeev recently had a tweet about the preview feature of the soon coming JDK14 release of Java: #Java14 pattern matching brings name shadowing to the next level of craziness. Here I add or re…