Java Developer Intern Interview Questions

26,906 java developer intern interview questions shared by candidates

They asked to code a small game where 6 knights should hit the one at their left with a random amount of damage of a range. Then they should fight until there's only one knight standing. All actions should be displayed (knight 1 hits 2 with X damage, knight 4 dies, knight 5 wins)
avatar

Java Developer

Interviewed at uberall

3.2
Jan 26, 2019

They asked to code a small game where 6 knights should hit the one at their left with a random amount of damage of a range. Then they should fight until there's only one knight standing. All actions should be displayed (knight 1 hits 2 with X damage, knight 4 dies, knight 5 wins)

Using Intellij, they provide me with an algorithm to solve. Also they provide me a code to tell what it prints like I was the compiler. In spite of passing the algorithm and all the questions, I did not receive an offer, and to be honest, with the offered wages, I would have passed.
Sep 24, 2023

Using Intellij, they provide me with an algorithm to solve. Also they provide me a code to tell what it prints like I was the compiler. In spite of passing the algorithm and all the questions, I did not receive an offer, and to be honest, with the offered wages, I would have passed.

Viewing 961 - 970 interview questions

Glassdoor has 26,906 interview questions and reports from Java developer intern interviews. Prepare for your interview. Get hired. Love your job.