Java Web Applications Developer Interview Questions

9 java web applications developer interview questions shared by candidates

2 Round (Virtual)- They asked to write function to add, reverse, print and sort the linkedlist. They asked about ManyToMany mapping and implementation(create Book, Author class). The asked to write a query where there's book and author table and another table Book_Author.. now write a query to fetch all the book name by whose authore.gender == "FEMALE". 3 Round (F2F) - String s1 = new String("xyz"); String s2 = "xyz"; Map m = new HashMap(); m.put(s1,1); m.put(s2,2); m.length ???? - 1 why? ---------------------------------- class Employee{ id, name } Map h1 = new HashMap(); Can we have Employee as key here? How? what change we need to do in Employee class? and what will happen if i have 2 same id,name have? ans - hashable(), equals() method.. -------------- How can i sort the map by Employee id ? - Comparator vs Comparable -- Implementation ------------- Threads... Thread pool.. Executive Framework... ------------- if I have 5 threads and all of it have task... there's another task come up how will and which thread will be assigned ? ------------- Internal working of volatile keyword? How does it internally work? ------------------------------------------- Clustered vs Non Clustered Index in sql, postgresSQl -------------------------------------------- What is the most challenging thing have you done in your job?
avatar

Java Web Applications Developer

Interviewed at UKG

3.2
May 20, 2025

2 Round (Virtual)- They asked to write function to add, reverse, print and sort the linkedlist. They asked about ManyToMany mapping and implementation(create Book, Author class). The asked to write a query where there's book and author table and another table Book_Author.. now write a query to fetch all the book name by whose authore.gender == "FEMALE". 3 Round (F2F) - String s1 = new String("xyz"); String s2 = "xyz"; Map m = new HashMap(); m.put(s1,1); m.put(s2,2); m.length ???? - 1 why? ---------------------------------- class Employee{ id, name } Map h1 = new HashMap(); Can we have Employee as key here? How? what change we need to do in Employee class? and what will happen if i have 2 same id,name have? ans - hashable(), equals() method.. -------------- How can i sort the map by Employee id ? - Comparator vs Comparable -- Implementation ------------- Threads... Thread pool.. Executive Framework... ------------- if I have 5 threads and all of it have task... there's another task come up how will and which thread will be assigned ? ------------- Internal working of volatile keyword? How does it internally work? ------------------------------------------- Clustered vs Non Clustered Index in sql, postgresSQl -------------------------------------------- What is the most challenging thing have you done in your job?

Questions on spring,hibernate,some core java. On white board, generate fibonacci series, SOLID principle, object creation in javascript. On Coding, they have asked to desinged the form in HTML and validate it using javascript/Angular.js
avatar

Senior Java Web Applications Developer

Interviewed at Insperity

3.7
Dec 4, 2016

Questions on spring,hibernate,some core java. On white board, generate fibonacci series, SOLID principle, object creation in javascript. On Coding, they have asked to desinged the form in HTML and validate it using javascript/Angular.js

All are basic questions. For example what have you done before? what kind of tests do you do for your codes. etc. At the end of the first interview, I was asked to do a java exam on paper. All question are pretty basic and easy.
Mar 2, 2016

All are basic questions. For example what have you done before? what kind of tests do you do for your codes. etc. At the end of the first interview, I was asked to do a java exam on paper. All question are pretty basic and easy.

Viewing 1 - 10 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 9 interview questions and reports from Java web applications developer interviews. Prepare for your interview. Get hired. Love your job.