Java developer Interview Questions |

Java developer Interview Questions


java developer interview questions shared by candidates

Top Interview Questions

Sort: RelevancePopular Date

How would you measure 4 litres of water if you have 3 litre and 5 litre canisters?

7 Answers

1) Pour water in 5 litre container 2) Pour 5 litre container into 3 litre until full. You are left with 2 litre in 5 litre container 3) Empty 3 liter container. Pour 2 litre into 3 litre container 4) Fill 5 litre container until full 5) Pour 1 litre into 3 litre container until full. Left with 4 litres in 5 litre container.

1. fill half of the 3 litre container 2. fill half of the 5 litre container

As such no difficult questions. Just prepare all basics of java and some sample code on parsing string and arrays.

4 Answers

What is your age

4 Answers

Aside from using a double or a float to store currency, what other alternative could be used?

3 Answers

How to avoid deadlocks?

2 Answers

Design patterns

2 Answers

Pseudo code

2 Answers

Implement a shopping cart project with multiple business rules.

2 Answers

how to execute try block with out executing finally block

2 Answers

I didn't make it to the technical interview.

2 Answers
110 of 551 Interview Questions