Adapter pattern comes under Structural Design Pattern. This pattern combines the capability of two independent interfaces and works as a bridge between two incompatible interfaces. The Adapter pattern usually involves one single class which provides functionality to reuse
The Decorator Pattern comes under the Structural pattern. By using the decorator pattern we can modify the functionality of an object dynamically. The functionality of an object is extended by adding additional coverage around an object. If
In continuation of our previous article 101 Core Java Interview Questions to Ace the Interview, this is the second part where we cover Advance Java Interview Questions. Read first part – 101 Most Important Frequently Asked Advance Java Interview
In this article, we are going to list down 101 Most Important and Frequently Asked Advanced Java Interview Questions that will give you enough exposure and confidence to ace at Job Interview. Java is on evolution spree.
In this article, we will discuss Factory Method Pattern. This pattern is organized under creational pattern as it deals with the creation of the object. This design pattern is based on one of the OOPs concept ie. Encapsulation. Generally, we write
In this article, we will cover one Memento Design Pattern which is categorized under behavioral design patterns. This pattern provides the capability to provide a restore (like undo) functionality over an object. The memento pattern operates on a
Observer Design Pattern is listed under Behavioral Design Patterns as it can alter the behavior of the program. In this article, we will understand this pattern with a simple example. This pattern is chosen when we have one-to-many
In this article, we will understand Mediator Design Pattern. This pattern is categorized under behavioral pattern as it can alter the program’s running behavior. In some cases, the program is made up by using many numbers of classes and these
In this article, we will go through another pattern from behavioral category: Visitor Design Pattern. The visitor design pattern is generally used when you have to do an operation on heterogeneous objects. The operation being performed is kept
In continuation of our previous article 101 Core Java Interview Questions to Ace the Interview, this is the second part. Read first part – 101 Core Java Interview Questions to Ace an Interview – Part 1 Q.51: What is
In this article, we are going to list down 101 Most Important and Frequently Asked Core Java Interview Questions that will give you enough exposure and confidence to ace at Job Interview. Java is on evolution spree.
Iterator Design Pattern is one of the Behavioural design patterns in Java. It is used for traversing through the collection of data in a particular class. This pattern hides the actual implementation of traversal through the collection.