employer cover photo
employer logo
employer logo

codecentric (Serbia)

Is this your company?

codecentric (Serbia) interview question

When you are writing equals() method, which other method or methods you need to override(Java)?

Interview Answer

Anonymous

11 Sept 2016

"hashcode" is the right answer. Since equals and hashCode have are directly dependent on each other, so overriding one and not other will break their functionality.