Infosys Interview Question

What is your project, Explain? What is Polymorphism and Encapsulation, Aggregation, Abstraction, Interface with an example of your current project? When to override equals and hashcode? Given a class A{ ... ... } A a= new A("ss"); A a1= new A("ss"); a == a1 and a.equals.a1 ? What design pattern you have used so far in your project? Two lists are their list = {14,6,7,9,1}; list2= {3,7,9,2,4}, sort whole list but list should be remain 2 separate lists. How hash map works internally? what if the hashcode will be constant always? Round 2: Joins all types Index HR Round

Interview Answer

Anonymous

Sep 7, 2017

Pretty Good and I got selected after the two rounds of technical interview and I answered all the questions, My advice to the readers is that always try to figure out what interviewer knows and how they ask the set of questions and how frequently if you are able to judge that your skills are meeting up with the interviewer skills then chances are there you will drive your own interview.