Month: March 2020

Java Stack

Stack is a LIFO ADT (Last in first out abstract data type) and a linear data structure. In a jar…

ArrayList NullPointerException

Java’s ArrayList is a great Collection that frees us from IndexOutOfBound, one type limitation, and NullPointerException issues while providing several…

Splitting strings in Java

Java’s split function packs a powerful punch. You can use it to split string on characters, symbols, substrings, a collection…