Developer Java Interview Questions

30,897 developer java interview questions shared by candidates

There are 5 caps 2-black and 3-White. Three mens A , B and C are standing in a row and each of them randomly wear a cap. C can view the caps of B and A , B can view the cap of A. When they are asked if they know what colour cap they are wearing C says NO , B says NO , But A has a right Guess . A isn't a bluff . How does A know ? (It might be asked in different ways.)
avatar

Trainee Java Developer

Interviewed at Zycus

3.6
Dec 27, 2013

There are 5 caps 2-black and 3-White. Three mens A , B and C are standing in a row and each of them randomly wear a cap. C can view the caps of B and A , B can view the cap of A. When they are asked if they know what colour cap they are wearing C says NO , B says NO , But A has a right Guess . A isn't a bluff . How does A know ? (It might be asked in different ways.)

Viewing 2511 - 2520 interview questions

Glassdoor has 30,897 interview questions and reports from Developer java interviews. Prepare for your interview. Get hired. Love your job.