Domanda di colloquio di Infrrd

1st round: Questions based on Java Object methods for object identity use cases in Java collections. For example, how do you enforce object equality on a business entity so that a Set implementation takes care of the duplicate entity as per business semantics. 2nd round: Questions based on coding standards like "Is it necessary to use List list = new ArrayList() over ArrayList list = new ArrayList()?"

Risposta di colloquio

Anonimo

18 lug 2018

Answers were expected to be backed up with logical reasoning behind the concept. So, if you know how, why and when to use the basic Object methods and how it is leveraged in Java collections API, the answer is very simple.