General java questions (But not a matter of listing but scenario based to ensure you understanding of concepts and theories) Go through your CV and ask questions based on the technologies and experience list on your CV. Technical session, Go through solving a small problem and building on from it, Architecture session (Give you a problem and ask you to design a solution by drawing flow diagram, I think also sequence diagram cant remember properly)
Java Senior Interview Questions
6,007 java senior interview questions shared by candidates
What do you like the most in your recent job
Hashmap working
How u used oops concept in ur project
L-1: Top10Employees list using Java 8 streams. Salary > 50000/- using Java 8 streams Salary > 50000/- and age < 40 (DOB) using Java 8 streams {1,2,3,4,5} sum = 6 Output {1,5} {2,4} using loops Questions: Java8 streams Functional interfaces HashMap internally working Red black tree @SpringBoot Application What happens without giving to the query params in @put method Schedulers CB pattern Uses of Kafka L-2: Spring boot & Microservices architect How to communicate Micro services How to call external APIs
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? 12) put vs patch ?
Can you tell us about a time where you made a change to code that needed to be taken back out again?
No difficult questions
Basically OOPs concepts on 1st round and Mostly questions on Design in 2nd round
1. How does Hashmap works internally. 1.2. Hasmap vs Hashtable vs SynchronizedHashmap 2. How to reverse array 3. What is synchronized keyword? and lot many questions followed it up. 4. Exceptions (Specially hierarchy related) 5. Spring Basics 6. Spring annotations 7. Hibernate Basics And Yes In MR round the interviewer may like to test your basic logic. He asked me to solve a puzzle like: How to get 2L water from using a 5L and 3L Bucket. and similarly 4L water.
Viewing 5891 - 5900 interview questions