Java Programmer Interview Questions

26,928 java programmer 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.5
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 2171 - 2180 interview questions

Glassdoor has 26,928 interview questions and reports from Java programmer interviews. Prepare for your interview. Get hired. Love your job.