Generics in Java with Examples
Generics in Java with Examples Generics allows us to pass the generic types as parameters to a class or methods. Example: class A<T> Generics Advantages: Stronger type checking Casting elimination…
Learn Together
Generics in Java with Examples Generics allows us to pass the generic types as parameters to a class or methods. Example: class A<T> Generics Advantages: Stronger type checking Casting elimination…
SpringBoot – @Scheduler Annotation with Examples In our applications we might need certain logic or method that needs to be executed at certain intervals. For ex: We might require a…
SpringBoot – Executing method when Application Starts and Periodically When building an application, We might face an requirement that some tasks needs to be executed along with the application when…