State Design Pattern

State Design Pattern is also one of the Behavioral Design Patterns. As per the behavioural design pattern, the state design pattern solves the problems of sharing responsibilities between objects. The aspect behind this pattern is the change of behaviour of the object on the change of state. State design pattern…

Continue reading

Java Collection Interview Questions

1. What is Java Collection Framework? List out some benefits of the Collection framework.Java Collection Framework is a collection of data structure tools with the best-optimized performance, for example, fetching data from ArrayList gives O(1) times complexity and updating data in LinkedList takes O(1) times complexity. It provides many tools…

Continue reading