Category Archives: Java Programs

How to represent the Doubly Linked List in Java?

In this post, We will learn about How to represent the Doubly Linked List in Java? We can easily understand how the Doubly Linked List represented with the help of the below diagram: It is called two ways Linked List. In Doubly Linked List We can navigate in both forward and backward direction that is not possible in… Read More »

Iterator Design Pattern in Java

In this post, We will talk and learn about the Iterator Design Pattern in Java. Key Points About Iterator Design Pattern : Iterator design pattern falls under behavioral patterns. This pattern is mainly used to provide a standard way to traverse through a group of Objects. Iterator pattern is widely used in the Java Collection framework. Iterator interface… Read More »

Interpreter Design Pattern in Java

In this post, We will talk and learn about the Interpreter Design Pattern in Java. Key Points About Interpreter Design Pattern : Interpreter design pattern falls under behavioral design pattern. This pattern is mainly used to define a grammatical representation for a language and provides an interpreter to deal with this grammar. One of the best examples of… Read More »

Memento Design Pattern in Java

In this post, We will talk and learn about the Memento Design Pattern in Java. Key Points About Memento Design Pattern : Memento design pattern falls under behavioral design pattern. This pattern is mainly used when we want to save the state of an object so that we can restore later on. Memento pattern is used to… Read More »

Visitor Design Pattern in Java

In this post, We will talk and learn about the Visitor Design Pattern in Java. Key Points About Visitor Design Pattern : Visitor Design Pattern falls under behavioral design pattern. This Pattern is mainly used when we have to perform an operation on a group of similar kinds of Objects. This Pattern helps us to move the operational… Read More »