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

Strategy Design Pattern

Strategy Design Pattern is one of the behavioural design patterns. This pattern helps to bring different strategies to the table, which means implementing different strategies for a task For example, payment services have different strategies (options) on e-commerce platforms e.g. credit card, net banking, UPI, pay later, wallets, etc. Some…

Continue reading

Spring Security

Note: Small discussion on the spring security filter chain. Spring Security is the most used framework to secure spring-based applications. It integrates authentication and authorization in your spring-based application to access resources. Unlike authentication and authorization, Spring security protects from common attacks like CSRF, session-management issues, etc. Web application security…

Continue reading