Here’s a comprehensive list of design patterns, categorized into the three main types: Creational, Structural, and Behavioral. These patterns, popularized by the “Gang of Four”
Category: Core Java
End to End implementing ideas about Core Java with Relevant Examples in it to make it interesting and crisp in understanding.
In concurrent package, ArrayBlockingQueue, LinkedBlockingQueue, PriorityBlockingQueue, and DelayQueue are implementations of the BlockingQueue interface. Each serves distinct purposes based on their structure and behavior. Below
Java’s Collections provides a set of interfaces and classes to manage and manipulate groups of objects. Below is a comprehensive list of the key interfaces
Immutable class is a key concept in Core Java that ensures an object’s state cannot be changed after creation. Lets explore with a practical example
Java’s concurrency framework, primarily housed in the java.util.concurrent package, provides a rich set of interfaces and classes to manage multithreading, synchronization, and concurrent data structures.
Both methods belong to the Optional<T> class and are used to handle optional values in Java. ifPresent() (Java 8) Example: Using ifPresent() Output: If the
1. Count the Characters from a String 2. Convert character into lower case 3. Count the unique letters 4. Extract all words starting with a
Inversion of Control (IoC) is a principle in software design where the control of object creation and dependency management is inverted from the class itself
The SOLID principles in Java (and object-oriented programming in general) are five design principles that help developers create scalable, maintainable, and robust code. Each letter
In Java, a singleton class is a class that allows only one instance of itself to be created and provides a global access point to