The interview was scheduled through Monjin. Although the interviewer joined 10 minutes late, the overall experience was good, and the questions were not difficult.
Here are the questions asked:
1) Java 11, 17, and 21 features.
2) What is the use of Optional?
3) What are intermediate and terminal operations?
4) In an interface, what is the purpose of default and static methods?
5) What is the Builder pattern?
6) How do you create an immutable class?
7) How do you share requests from one microservice to another?
8) Write a program to find the 2nd largest numbers in an unsorted array without using an inbuilt sort function.
9) How can we restrict a list from being modified?
10) What is transient?
11) What is volatile?