idiot@ConditionalOnProperty AnnotaionThe @ConditionalOnProperty annotation in Spring Boot is used to conditionally enable or disable a bean, configuration, or feature based on…4d ago4d ago
idiotReflectionTestUtils for Unit TestingReflectionTestUtils is a utility class provided by Spring Framework (from the package org.springframework.test.util.ReflectionTestUtils)…4d ago4d ago
idiotJava 9’s Set.of() ExplainedJava 9 introduced a new method called Set.of() to create immutable sets. These sets are unmodifiable, meaning that once created, no…6d ago16d ago1
idiotJava’s Collectors.toSet() Method ExplainedJava’s Collectors.toSet() method is part of the Stream API and is used to collect elements from a stream into a Set. A Set is a collection…6d ago6d ago
idiotJava’s String.join() Method ExplainedJava’s String.join() method is a convenient utility introduced in Java 8 that allows you to concatenate multiple strings with a specified…Sep 8Sep 8
idiotWhy is 1 == 1 is true but 1000 == 1000 is false When dealing with Wrapper Classes in Java?For Explanation watch videoAug 25Aug 25
idiotJava’s Math.pow() Method ExplainedJava’s Math.pow() method is used to raise a number to the power of another number. It’s part of the java.lang.Math class, which provides a…Aug 25Aug 25
idiot@PreConstruct and @PostConstruct annotation Spring Boot Example@PostConstruct: This method is called after the Spring bean (in this case, ExampleBean) has been created and all dependencies have been…Aug 25Aug 25