Java
Java learning path from interview fundamentals to design patterns and coding problem-solving.
Explore subtopics:
-
Is Java Pass by Value or Pass by Reference?
Series: Java Interview & Problem Solving Series
Understand why Java is pass by value with clear examples for primitives, objects, and collections, plus the common interview trap.
-
Java Regex Quiz: 20 MCQ Questions with Answers
Series: Java Interview & Problem Solving Series
Test your Java regex knowledge with 20 MCQ questions and answers covering Pattern, Matcher, syntax basics, and common matching rules.
-
Java Interfaces Explained: How to Code to an Interface
Series: Java Interview & Problem Solving Series
Learn Java interfaces with clear examples and understand what 'code to an interface' means for flexibility, testing, and cleaner design.
-
Builder Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Builder pattern in Java with a clear example, method chaining, immutable objects, advantages, and common trade-offs.
-
Composite Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Composite pattern in Java with a clear tree-structure example, uniform object handling, advantages, and common pitfalls.
-
Factory Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Factory pattern in Java with a clear example, object creation flow, benefits, trade-offs, and when to use it.
-
Factory Method Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Factory Method pattern in Java with a clear example, subclass-based creation, benefits, trade-offs, and use cases.
-
Prototype Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Prototype pattern in Java with cloning examples, shallow vs deep copy, benefits, pitfalls, and practical use cases.
-
Adapter Design Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Adapter design pattern in Java with class and object adapter examples, use cases, pitfalls, and real-world analogies.
-
Abstract Factory Pattern in Java: Explanation and Example
Series: Java Design Patterns Series
Learn the Abstract Factory pattern in Java with a clear example, object families, advantages, trade-offs, and when to use it.