You are given 8 identical looking balls. One of them is heavier than the rest of the 7 (all the others weigh exactly the same). You a provided with a simple mechanical balance and you are restricted to only 2 uses. Find the heavier ball.
Java Developer Interviews
Java Developer Interview Questions
In your interview for a java developer position, be prepared to answer technical questions that test your understanding of Java basics. Interviewers may also ask open-ended questions to assess your coding and problem-solving abilities. Prepare for non-technical questions that focus on time management, interpersonal communication, and work ethic.
Top Java Developer Interview Questions & How to Answer
Question #1: What is the difference between HashTable and HashMap in Java?
Question #2: Write a program to determine if 243 is an Armstrong number.
Question #3: How do you produce quality code when you have several Java projects to complete at once?
30,885 java developer interview questions shared by candidates
Can you explain the difference between C and C++?
OOps Concepts
Round 1 - Core Java questions
Explain about yourself, project and technology used
All oops concepts,java 8 ,hibernate ,spring basics ,springboot, rest apis , Microservices and junit
Can we have multiple main method in same class ? List down methods of String class ? As if I carry JDK library in my head List down differences between comparable and comparator ? Basic java questions
Write palindrome program
You have 25 electronic horses, you don't have any way of measuring time. You have a racetrack with 5 lanes so that you can race the horses against each other. What is the least number of races required to find the top 3 fastest horses?
What is HashMap?
Viewing 1511 - 1520 interview questions