First interview was easy asked basic java questions and asked to write program for merge sort. then in the same 2 hours another interviewer called me and asked for another interview. then in second interview they asked java internals and some configurations in spring boot jdbc.
Software Developer Java Interview Questions
4,199 software developer java interview questions shared by candidates
What is Inheritance, Encapsultion etc
Rest api security protocol set Spring boot start happen spring boot property file how to get value java 8 ,java 11 and java 17 what are the different mondo db Jenkin pipeline step SOLID Principal Kubernaties Docker Compare and Comparator different map and treemap different ArrayList sort by firstName { Employee : id,lastName,firstName} Put and Patch in Rest SOAP and Rest diff how to communicate with microservice in spring boot Service Discovery and Load Balancing: Jmeter Unit Testing Thread Life Cycle
Mainly Spring framework (Security, MVC, Data...) and Java related questions. Some "what's the output of this code snippet" type questions.
Serialization in java and how it works internally
Print all the numbers present in an IP Address when that is stored in a string
self intro and leadership and behavioral ques
Round 1: Test with one person sitting in MS teams - 5 MCQ,2 Java Code , 1 SQL query(easy) 1. first non-recurring character of string 2. given candles and wax of burned candle. if( 4 candle's burned wax then 4) return number of candles that can be burned with given waxes. (was tricky one but did trial and error using ip/op) Round 2: F2F Internal working Hashmap. Can class be used as Key. coding: split array in K sizes Multithreading on Object Level Lock and Class level Lock. Deck of cards problem to solve. Easy SQL query 3rd Round : he wanted one Data structure so that he will provide range of Date and wanted me to return all the students who birthday come in that range 2. Code remove duplicates from sorted array without using extra space. (in-place) 3. Multithreading code to print : thread1 - 1 thread2- 2 thread3- 3 thread1-4 likewise Easy SQL query with aggregate function
simple Oops, collections, multithreading, Springboot
Coding questions in all Rounds , Java8, stream, Springboot, microservices related
Viewing 2411 - 2420 interview questions