---
title: "Deepak A L (@DeepakLalchandani) | Hashnode"
description: "Deepak A L (@DeepakLalchandani) writes on Hashnode. Read their latest articles and follow their work."
url: "https://hashnode.com/@DeepakLalchandani"
---

@DeepakLalchandani

# Deepak A L

@DeepakLalchandani · Joined August 2021

## Comments

[I have not got the subscription email](https://hashnode.com/posts/same-named-methods-in-java-1/68e4173c3de33475e6901dc1/comment/68e5620acdf8795968f80638)

Comment · Article · Oct 7, 2025 · [Same named methods in Java.](https://hashnode.com/posts/same-named-methods-in-java-1/68e4173c3de33475e6901dc1)

[public class codeTest { public static void main(String\[\] args) { Bank b1 = new Bank("Harsh", 999); Bank b2 = new Bank("Arjun", 999); Bank b3 = new Bank("Arjun", 1199); Bank b4 = new Bank("Harsh", 999); HashMap<Bank,String> map = new HashMap<>(); map.put(b1 , "Delhi"); map.put(b2 , "Mumbai"); map.put(b3,"Hyderabad"); System.out.println(map.get(b4)); //Here you would expect the answer should be Delhi, but it would be null. } } class Bank { String customerName; int accountBalance; public Bank(String name, int balance) { customerName = name; accountBalance = balance; } @Override public boolean equals(Object o) { //some implementation of equals method } } Can you post the complete code here which is working](https://hashnode.com/posts/reason-to-override-equals-hashcode/6305bd13750cde48abba9f96/comment/63062072d69cbd567158787e)

Comment · Article · Aug 24, 2022 · [Reason To Override equals() & hashCode()](https://hashnode.com/posts/reason-to-override-equals-hashcode/6305bd13750cde48abba9f96)

[Did you fix the error and is it working now correctly? 2021-03-19 02:01:55.434 ERROR 66059 --- \[nio-8080-exec-1\] o.a.c.c.C.\[.\[.\[/\].\[dispatcherServlet\] : Servlet.service() for servlet \[dispatcherServlet\] in context with path \[\] threw exception \[Request processing failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate \[com.example.indianstates.State\]: No default constructor found; nested exception is java.lang.NoSuchMethodException: com.example.indianstates.State.<init>()\] with root cause](https://hashnode.com/posts/spring-boot-and-java-16-records/6053d1308899a615727e64c1/comment/611bd2168b9c03054649ec2e)

Comment · Article · Aug 17, 2021 · [Spring Boot and Java 16 Records](https://hashnode.com/posts/spring-boot-and-java-16-records/6053d1308899a615727e64c1)
