Sunday, 3 September 2023

Capco Java Interview Questions and answers

 Capco Java Interview questions and answers

1. Can you explain your roles and responsibilities in your current project.

2.  What are the coding advantages we have in coding using Java 8 over other below Java 8 versions
  • Functional Interfaces 
  • Lambda Expressions
  • forEach() Method In Iterable Interface
  • Optional Class
  • Default And Static Methods In Interfaces
  • Java Stream API For Bulk Data Operations On Collections
  • Java Date Time API
  • Collection API Improvements
  • Java IO Improvements
  • Miscellaneous Core API Improvements
  • Base64 Encode Decode
3. Give me an Example of you used Java 8 features in your project and significant advantage of it

4. Take a scenario of employee class has employee name, salary, manager attributes and we want to filter employee based on salary, later after some days we tell you to filter using employee name starting with some character. How would you design this class.

5. What do you mean by Dependency Injection?

6. How does Dependency Injection make the code loosely coupled?

7. Is it possible to do what Spring is doing like Dependency Injection by our self without using Spring?

















No comments:

Post a Comment