MSManikandan Sinmanikandan4411.hashnode.dev·1d ago · 5 min readLinkedHashSet in Java: Definition, Methods, Syntax and Examples1. What Is LinkedHashSet in Java? LinkedHashSet is a Java class that implements the Set interface. It stores unique elements and maintains their insertion order. Syntax: LinkedHashSet<Type> set = new 00
MSManikandan Sinmanikandan4411.hashnode.dev·3d ago · 4 min readHashSet in Java1. What is HashSet? HashSet is a class in Java that implements the Set interface. It stores unique elements and does not guarantee insertion order. Syntax: HashSet<Type> set = new HashSet<>(); Exampl00
MSManikandan Sinmanikandan4411.hashnode.dev·6d ago · 7 min readLinkedList in Java1. What is LinkedList? LinkedList in Java is a class that implements the List and Deque interfaces. It stores elements as nodes, where each node contains the data and links to other nodes. It is usefu00
MSManikandan Sinmanikandan4411.hashnode.dev·Oct 7 · 5 min readArrayList in JavaArrayList is one of the most commonly used classes in the Java Collections Framework. It provides a resizable array that can grow or shrink dynamically. 1. What is ArrayList? Definition:ArrayList is 00
MSManikandan Sinmanikandan4411.hashnode.dev·Oct 5 · 7 min readJava Collection ComparisonsJava provides different collection types for storing and managing data. Understanding the differences between them is important for Java development, DSA, and interviews. This article covers the most 00
MSManikandan Sinmanikandan4411.hashnode.dev·Oct 3 · 5 min readSorting Collections in JavaSorting means arranging elements in a specific order, such as ascending or descending order. Java provides Collections, Comparable, and Comparator to sort collections easily. 1. Collections.sort() Def00
MSManikandan Sinmanikandan4411.hashnode.dev·Oct 1 · 6 min readJava CollectionsJava Collections Framework provides a set of interfaces, classes, and methods for storing and manipulating groups of objects. It makes it easier to store, search, sort, and process data in Java. 1. W00
MSManikandan Sinmanikandan4411.hashnode.dev·Sep 29 · 6 min readJava Time Complexity and Space ComplexityTime Complexity and Space Complexity are important concepts in Data Structures and Algorithms (DSA). They help us understand how efficient a Java program or algorithm is. 1. What is Time Complexity? D00
MSManikandan Sinmanikandan4411.hashnode.dev·Sep 26 · 4 min readJava Math Methods in JavaIntroduction The Math class in Java provides built-in methods for performing common mathematical operations. It belongs to the: java.lang.Math No import is required. 1. Math.abs() Returns the absolu00
MSManikandan Sinmanikandan4411.hashnode.dev·Sep 24 · 5 min readJava 21 Features in JavaIntroduction Java 21 is an LTS (Long-Term Support) version of Java. It introduced several important language, concurrency, and API improvements. Important Java 21 features include: Virtual Threads R00