It all started with a recruiter reaching out to me on LinkedIn for an open position. At the time of the interview, I have 3+ years of experience in IT and 2+ years of experience in Java 8, Spring boot, Rest API, and SQL.
No Written test.
Technical Interview 1
It is a panel of 2 interviewers. They were questions on Java 8 concepts and SQL
Java8 Questions
- What are lambda expressions why do we use lambda expressions?
- explain the try-catch block and what is try with the resource statement.
- what is the collection class you used more in your previous project?
- what is the use of stream in Java?
- write a lambda expression for selecting the highest salary of employee in each department.
- retrieve and return a list of all the employees having salaries greater than the average salary using java8 features.
SQL Questions:
- why are indexes used?
- what is the difference between where and having a clause?
- write a query to get the name of an employee whose salary is the second highest.
Technical Interview Round 2 (next day)
- The first question is “Tell me about yourself”. based on that the questions are asked
- what is dependency injection in Spring boot?
- what is the use of @profile annotation?
- where do we add data sources for SQL in the spring boot project?
- can we use 2 filters as chaining in stream API and write one example?
- what are the different levels of debugging?
- explain annotations used to write rest endpoints.
- how to test private methods using Junit and write a JUnit test case.
HR Round (same day as the technical interview round 2)
- Asked to tell me about yourself, your experience, preferred location, and notice period duration.
Received a confirmation call after 10 days of the interview process. if everything goes well, one can expect a call between 7 – 14 days.
Hope my interview experience would help someone who is preparing for the same profile. 🙂