Java Senior Interview Questions

6,012 java senior interview questions shared by candidates

first round : Telephonic round 1. java concepts like collections, memory types, array and array list, diff between collections and array, list map set differences, java program like reverse string with out using functions. 2. selenium concepts like alert, diff ways to find frames, and alerts. how to handle windows, how to handle dynamic elements, how to find duplicate elements, types of locators in selenium, about jxl and poi jars, explain about maven, testNG, any api used in ur app and what are they, how to handle to upload file or image, autoIT and current version of selenium. 3. manual testing , what is regression testing, white box testing and black box testing, SDLC phases, Bug life cycle, smoke testing.
Jun 3, 2016

first round : Telephonic round 1. java concepts like collections, memory types, array and array list, diff between collections and array, list map set differences, java program like reverse string with out using functions. 2. selenium concepts like alert, diff ways to find frames, and alerts. how to handle windows, how to handle dynamic elements, how to find duplicate elements, types of locators in selenium, about jxl and poi jars, explain about maven, testNG, any api used in ur app and what are they, how to handle to upload file or image, autoIT and current version of selenium. 3. manual testing , what is regression testing, white box testing and black box testing, SDLC phases, Bug life cycle, smoke testing.

What is the difference between abstract classes and interfaces in Java? Explain the concept of multithreading in Java and how it is achieved. How does Java handle memory management and garbage collection? What are the access modifiers in Java, and how do they differ from each other? What is the difference between static and non-static methods in Java? How do you handle exceptions in Java? Explain the try-catch-finally block. What is the purpose of the "final" keyword in Java, and where is it used? What are the different types of inheritance in Java, and how do you implement them? How does Java support method overloading and method overriding? Explain the "equals" and "hashCode" methods in Java, and why are they important when dealing with objects. How would you read and write data to a file in Java using I/O streams?
avatar

Sr. Java/J2EE Developer

Interviewed at KREATIVE

3.9
Jul 17, 2023

What is the difference between abstract classes and interfaces in Java? Explain the concept of multithreading in Java and how it is achieved. How does Java handle memory management and garbage collection? What are the access modifiers in Java, and how do they differ from each other? What is the difference between static and non-static methods in Java? How do you handle exceptions in Java? Explain the try-catch-finally block. What is the purpose of the "final" keyword in Java, and where is it used? What are the different types of inheritance in Java, and how do you implement them? How does Java support method overloading and method overriding? Explain the "equals" and "hashCode" methods in Java, and why are they important when dealing with objects. How would you read and write data to a file in Java using I/O streams?

Round 1-> create threads, SQL query for top 3 salary. Round 2-> Question 1) Insertion sort Question 2) Loop in a link list Question 3) String Manipulation Question 4) Merge sort Round 4: Q1) Duplicate char in a String using java-8 Q2) completable future example Q3) Java-8 related programs Q4) MongoDB queries
avatar

Senior Java Developer

Interviewed at Knoldus Software

3.8
Aug 6, 2020

Round 1-> create threads, SQL query for top 3 salary. Round 2-> Question 1) Insertion sort Question 2) Loop in a link list Question 3) String Manipulation Question 4) Merge sort Round 4: Q1) Duplicate char in a String using java-8 Q2) completable future example Q3) Java-8 related programs Q4) MongoDB queries

Viewing 271 - 280 interview questions

Glassdoor has 6,012 interview questions and reports from Java senior interviews. Prepare for your interview. Get hired. Love your job.