Java developer Interview Questions | Glassdoor

Java developer Interview Questions

"Junior developers are often responsible for writing the more monotonous and simple code required by senior members of the development team. Because of this, interviews will be designed to test your knowledge of the fundamentals of Java so be prepared to answer technical questions that you likely came across in college. Data structures and algorithms will be heavily emphasised. A bachelor's degree or equivalent work experience is required. "

Top Interview Questions

Sort: RelevancePopular Date

Implement a method to determine whether a string is a palindrome.

3 Answers

Recursive method; start from the ends and work your way in. Use indices if worried about memory.

Take a string as function parameter. Copy this str value into a new var, then use .reverse() thereupon. Compare the reversed copy back against original string using turnery operator to set resVariable to "true" : "false". Return resVariable.

(Using .split(""), as well as .join(""))

Write a function to print the first letter of every word in a string.

4 Answers

How would you scale access to a system like Twitter

3 Answers

Write a method to determine if a string starts with an uppercase letter.

2 Answers

1.Java Basics. 2.Plethora of Multithreading questions.GC 3.Simple data structure. (BFS) variation 4.Database Basics

1 Answer

Q: Why multiple inheritances are not supported in Java?

1 Answer

What does the action and method attribute in the HTML <form> tag do.

1 Answer

Lots of questions about arrays, lists and hashmaps

1 Answer

If you were responsible for development and launch of a billing system, how would you handle a critical situation?

1 Answer

Coding test: 1. Given a string, find out if there's repeat characters in it. 2. SQL. Given a Customer table and a Payment table (with Customer ID as primary and foreign key), write a query to output a list of customers who have not paid their bills in the last 3 months.

17 Answers
110 of 2,271 Interview Questions