Cognizant Interview Question

Which Java version you worked on? Featured of Java-8. What is functional Interface. What is the need of Functional Interface. Stream API Interface vs abstract Can we create object of Abstract class? OOPs Pillars, why is Encapsulation needed if we have Abstraction. Interface used in your Spring Project. How can remove the dependency of that interface? If we create a simple POJO class, what oops concepts are present? Comparator vs Comparable Encapsulation vs Abstraction. How is implemetation of Abstraction & Encapsulation done. 3 methods of Object class Why Lambda expressions were Introduced? Implement Lamba Expression and Steam API in a given code. Hashmap and Internal Working of Hashmap. Few o/p questions on HashMap.