Why 1==1 is true but 128==128 is false in JavaUnderstanding Integer Caching in Java: Why 128 == 128 Can Be False If you’ve ever worked with Java, you might expect that comparing two equal numbers with == would always return true. But have you ever encountered a scenario where 128 == 128 results ...Sep 24, 2024·4 min read
Understanding Creational Design Patterns in Java: A Deep Dive into Factory and Abstract Factory PatternsJan 26, 2024·5 min read
Setting Up PostgreSQL Database and Admin on Local Windows MachineSetting up a database environment on Windows involves a series of steps and configurations to ensure smooth operations. In this guide, we'll walk through the setup process for XAMPP, PostgreSQL, and Adminer, along with troubleshooting tips for common...Jan 4, 2024·2 min read
Exploring Sealed Interfaces in Java 17Sealed Interfaces Java continues to evolve, and with the release of Java 17, we see the introduction of sealed interfaces. Sealed interfaces enhance the way we define and control the inheritance hierarchy in Java, providing a more structured and sec...Nov 12, 2023·2 min read
Java Annotations: Your Key to Cleaner and Safer CodeExploring Common Java Annotations In this blog post, we will delve into several essential Java annotations used for various purposes, including validation and code organization. @NotNull The @NotNull annotation is used to indicate that a field or par...Sep 19, 2023·2 min read
How to kill the process currently using a port on localhost in windowsStep 1:- Run the command line as an Administrator. Then run the below-mentioned command. netstat -ano | findstr :port number Copy from here:- netstat -ano | findstr :8080 Step2 :- After that, you will get this kind of result so here last digit 344...Aug 30, 2023·1 min read
Searching and filtering using JPA specificationDynamic Filtering with JPA Specification and Jakarta Criteria APIAug 26, 2023·4 min read
Microservices Architecture: A Hotel BackEndLearn how to implement Microservices architecture by building a Hotel BackEnd from scratchFeb 22, 2023·1 min read