ASAfzal Shaikinafzxl.hashnode.dev·May 27, 2023 · 4 min readUnderstanding Java GenericsIntroduction to Java Generics Generics were introduced in J2SE 5.0 to provide compile-time type safety and reduce programming errors. Before generics, there was no way to restrict the types of objects that could be stored in collections. This allowed...00
ASAfzal Shaikinafzxl.hashnode.dev·Mar 29, 2023 · 7 min readPrepending a Singly Linked List in JavaWhat is a Singly Linked List (SLL)? Linked Lists and arrays are data structures that are used to hold similar types of data., where data can be anything of primitive data types such as integers or complex objects of a custom class. However, Arrays ar...00