JHandlerExceptionResolversException handling in Spring involves the use of multiple resolvers. When an error occurs and is addressed by multiple resolvers, it raises…Feb 2Feb 2
JSOLID principlesThere are 5 important principles in OOP : SRP, OCP, LSP, ISP, DIP.Jul 22, 2023Jul 22, 2023
JJava String charAt(int index)How does Java String’s charAt method work? How does it find a character at a particular index? Computers deal with binary values, which is…Jul 18, 2023Jul 18, 2023
JEffective java — item 28 prefer lists to arrays, item 32 Combine generics and varargs judiciouslyArray’s inheritance hierarchy works differently from generic’s. Arrays are covariant , while generics are invariant.Jan 3, 2023Jan 3, 2023
JEffective java item 26 -Don’t use raw typesUsing raw type is not the same as using any of generic types.Dec 31, 2022Dec 31, 2022
JLeetcode Binary Tree ProblemsA binary tree is a data structure where each node can have a maximum of two children. This post aims to guide you through approaching some…Dec 18, 2022Dec 18, 2022
JBuilder pattern — Effective java item2Builder pattern can be useful when there is a need to set values of only few fields during instance initialization and many fields can have…Dec 1, 2022Dec 1, 2022
JSort ProblemsMany sorting algorithms exist, and their performance can significantly vary based on the chosen strategy for a given application. This…Nov 24, 2022Nov 24, 2022