Question d’entretien chez CDK Global

why map is not part of collection interface in Java

Réponses aux questions d'entretien

Utilisateur anonyme

18 mai 2020

Asked below questions in 25 mins interview - 1) Bit about Blockchain & ledger & benefits of blockchain. 2) Give the output of given code. Employee e1 = new Employee("Employee"); Employee e2 = new Employee("Employee"); Set empSet = new TreeSet(); empSet.add(e1); empSet.add(e2); System.out.println(empSet.size()); 3) Write a code for one problem Arrange the numbers in the array - {-1, 1, 1, -1, -1, 1, 1, -1} such that all -1 are on left & 1 on right. 4) Use of actuator in springboot 5) Types of indexes in sql

Utilisateur anonyme

21 mai 2020

Beware & check with your recruiter before finalizing anything, as some division of CDK is sold out & still these recruiters are advertising the job openings & circulating the mails like the openings with that division are with CDK Global. So check this out before you think that this job is with CDK Global & once you get there then you feel cheated as you will not be part of CDK Global but under some other organisation.

Utilisateur anonyme

12 mai 2020

I told a few reasons as how Map is different than other collections & how changing Collection interface will break the SOLID principles. But if the interviewer has decided not to agree with your answer than you can't do anything. As such inexperienced interviewers not even try to give their logical reasons or arguments.