Java Interview Questions | Glassdoor

Find jobs for Java

Java Interview Questions

2,245

Java interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How many credit cards does Amex issue in a year in US?

11 Answers

They asked me about the Java Object - Oriented, Inheritance and Out-put the single value of the 2 dimension array

7 Answers

Assume there is a method provided getNextperson() which gives Person objects which have comparable interface implemented, now read from a file records and sort it and give first 1000 records, write code on the paper

6 Answers

Write code to return a sorted array of int, when passed in 2 sorted array of int to the method.

4 Answers

How to prove your honesty?

4 Answers

What is the difference between an abstract class and an interface?

3 Answers

A rustic village contains one million married couples and no children. Each couple has exactly one child per year. Each couple wants a girl, but also wants to minimize the number of children they have, so they will continue to have children until they have their first girl. Assume that children are equally likely to be born male or female. Let p(t) be the percentage of children that are female at the end of year t. What is p(t)? "Can't tell" is a potential answer if you don't have sufficient information.

6 Answers

Fibonacci implementation

3 Answers

Given two files that has list of words (one per line), write a program to show the intersection.

5 Answers

Given an array of N integers, find the missing integer.

3 Answers
1120 of 2,245 Interview Questions