Java Learning Roadmap

BasicsBasicsOverviewOverviewJava Learning roadmapJava Learning roadmapOOPOOPException handlingException handlingMulti threadingMulti threadingJava I/OJava I/OGenericsGenericsCollectionsCollectionsjava utilsjava utilsHistoryHistoryversionsversionsenvironnementenvironnementStandard Edition (SE)Standard Edition (SE)Enterprise Edition (EE)Enterprise Edition (EE)Micro Edition (ME)Micro Edition (ME)Wrapper classesWrapper classesPass by value referencePass by value referen...Methods overriding/overloadingMethods overriding/ov...Type CastingType CastingStringBuffer/StringBuilderStringBuffer/StringBuilderBasic interfacesBasic interfacesBasic ClassesBasic ClassesArraysArraysenumenumOperatorsOperatorsstatic final super thisstatic final super th...EncapsulationEncapsulationInheritanceInheritanceAbstractionAbstractionAccess ModifiersAccess ModifiersNested/Inner classNested/Inner classtype exceptionstype exceptionstry/catchtry/catchthrow throws…

0 Comments

Spring Boot learning roadmap

Spring CoreSpring CoreSpring WebSpring WebArchituctural PatternArchituctural...Spring AOPSpring AOPSpring SecuritySpring SecuritySpring DataSpring DataSpring TestSpring TestSpring CloudSpring CloudSpring BatchSpring BatchSpring ShellSpring ShellObservabilityObservabilitySpring ReactiveSpring ReactiveInversion of ControlInversion of ControlDependency InjectionDependency InjectionService Locator PatternService Locator Patt...Event-driven AchitectureEvent-driven Achitec...Service DiscoveryService DiscoveryAPI GatewayAPI GatewayLoad BalancingLoad BalancingConfiguration ManagementConfiguration Manage...Resilience & Fault ToleranceResilience & Fault T...Distributed TracingDistributed TracingEvent-driven SystemsEvent-driven SystemsDistributed TasksDistributed TasksjdbcjdbcORMORMRelationalRelationalNoSQlNoSQlCacheCacheHibernateHibernateJPAJPASearch…

0 Comments

System Design Principles

System Design Principles are the fundamental guidelines and best practices used to build scalable, maintainable, and reliable software systems. They help backend developers and architects make decisions about architecture, data flow, and infrastructure to handle real-world requirements like performance, reliability, and growth. Here’s a detailed breakdown: 1. Scalability Ability of a system to handle…

0 Comments

Casting Array to Collection and vice versa in Java

1. Array → Collection (List/Set) Java provides multiple ways to convert an array into a collection (usually a List or Set). ✅ Using Arrays.asList() import java.util.*; public class Main { public static void main(String[] args) { String[] array = {"Java", "Python", "C++"}; // Convert to List List<String> list = Arrays.asList(array); System.out.println(list); // [Java, Python,…

0 Comments

Regex (Regular Expressions) in Java

Java provides java.util.regex package with two main classes: Pattern → Compiles the regex. Matcher → Used to match patterns against text. Basic Example import java.util.regex.*; public class RegexExample { public static void main(String[] args) { String text = "My email is test@example.com"; String regex = "\\w+@\\w+\\.\\w+"; // Simple email regex Pattern pattern = Pattern.compile(regex);…

0 Comments

Reflection in Java

1. What is Reflection in Java? Reflection is a feature in Java that allows a program to inspect and manipulate classes, methods, fields, and constructors at runtime, even if you don’t know their names at compile time. It’s like having a “mirror” into the internals of a class. Key uses: Inspect class information at…

0 Comments

Palindrome checking in Java

Let’s go over Palindrome checking in Java. A palindrome is a string, number, or sequence that reads the same forward and backward, e.g., "madam" or "12321". There are multiple ways to check for a palindrome. I’ll cover the common approaches. 1️⃣ Using StringBuilder Reverse Method public class PalindromeCheck { public static boolean isPalindrome(String str)…

0 Comments

Anagram checking in Java

Let's go over Anagram checking in Java. An anagram is when two strings have the same characters in a different order, e.g., "listen" and "silent". There are multiple ways to check for anagrams. I’ll cover the most common and efficient methods. Using Sorting Idea: Convert strings to char arrays. Sort both arrays. If they…

0 Comments

String reversal in Java

Let's go over string reversal in Java. There are several ways to reverse a string, from simple to more advanced. I’ll cover the most common methods. 1️⃣ Using a for loop public class StringReversal { public static String reverseString(String str) { String reversed = ""; for (int i = str.length() - 1; i >=…

0 Comments

Linear Search in Java

Linear Search Algorithm Linear Search checks each element one by one until it finds the target. Works on unsorted or sorted arrays. Time Complexity: O(n) Space Complexity: O(1) Iterative Linear Search public class LinearSearch { public static int linearSearch(int[] arr, int target) { for (int i = 0; i < arr.length; i++) { if…

0 Comments

End of content

No more pages to load