Java Interview Questions | Glassdoor

Find jobs for java

Java Interview Questions


java interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

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

4 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.

5 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

Difference between JDBC and Hibernate

1 Answer
110 of 2,606 Interview Questions