Maheshkumar Srinivasan·Jun 17, 2025📚 Day 2: Sort a HashMap by Keys and Values in JavaProgram 1: Sort HashMap by Keys (Ascending)
Maheshkumar Srinivasan·Jun 16, 2025📚 Day 1: Remove Duplicates from a List (Case-Insensitive)1.Simple program for removing duplicate
Maheshkumar Srinivasan·Jun 16, 2025Comparable vs ComparatorBoth Comparable and Comparator are used to compare objects in Java — especially when you are sorting or ordering collections of objects…
Maheshkumar Srinivasan·Jun 12, 2025equals() and hashCode()in Java — Simple Explanationequals() → Check if two objects have same values
Maheshkumar Srinivasan·Jun 12, 2025Understand Design Patterns: Singleton, Factory, Abstract factory and SagaDesign patterns is a blueprint and its represents a best practices followed by the experienced senior developer,
Maheshkumar Srinivasan·Jun 10, 2025== vs .equals() in Java – Know the Real DifferenceWhen comparing objects in Java, We are all confusing between using == and .equals()A response icon1A response icon1
Maheshkumar Srinivasan·Jun 10, 2025Mastering Java Strings: String vs StringBuilder vs StringBufferTill today, we knew that String is a non-primitive data type in Java. But technically, String is a class in Java used to store text data.
Maheshkumar Srinivasan·Jun 7, 2025Java Map Showdown: HashMap vs Hashtable vs Synchronized Map vs Concurrent HashMapIn Java, when we work with Key-value Pairs, We often use Map implementations.
Maheshkumar Srinivasan·Jun 1, 2025Write code for tomorrow, not just for today: SOLID PrinciplesThis Principle Written for making our code Easily readable, Maintainable, avoid messy codes, Flexible to change and reusable.