Java Junior Interview Questions

25,492 java junior interview questions shared by candidates

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)
avatar

Java Developer

Interviewed at SecurView

3.7
Apr 29, 2017

Write a program to accept pool of strings and accept 1 choice between 4 operations and do the selected operation 1.Undo(Remove last entered string) 2.Redo(Again add the removed string) 3.Display(Display the pool after operation) 4.Exit(exit the pool)

1) Update the existing map without creating another map. 2) Write code to show the deadlock. 3) Find the maximum number from the given array. 4) Write the signature of service returning all the records from the provided table. 5) Explain about the Json format.
avatar

Senior Java Developer/Lead

Interviewed at WhizAI, an IQVIA business

4.7
May 5, 2022

1) Update the existing map without creating another map. 2) Write code to show the deadlock. 3) Find the maximum number from the given array. 4) Write the signature of service returning all the records from the provided table. 5) Explain about the Json format.

Familiar questions on spring mvc,spring aop,restful API,collections,run time polymorphism,design patterns. HR interview questions: What is difference between Agile and waterfull that you have observed? Major drawback of agile? how is your normal day? what is your future aspiration?
avatar

Java Developer

Interviewed at TIAA

3.7
Aug 28, 2016

Familiar questions on spring mvc,spring aop,restful API,collections,run time polymorphism,design patterns. HR interview questions: What is difference between Agile and waterfull that you have observed? Major drawback of agile? how is your normal day? what is your future aspiration?

After a night of wild revelry, a group of local intoxicated hoodlums stumble into a children's playground. One of these hoodlums, Phil, climbs to the middle of a spin-around carousel and his friends push the carousel so it rotates once every five seconds. Phil, who is trying not to get sick, holds a flashlight motionless in his hand. There is a straight path running by the playground that, at its closest point, is 30 meters from the middle of the carousel. Unknown to Phil, there are two cops facing him on the path, shocked at the spectacle. One of them is standing on the path at the point closest to the carousel, while the other is standing 60 meters down the path. At approximately what speed (in meters per second) does the spot illuminated by the flashlight traverse each of the cops' bodies? State speed at the closest cop first.
avatar

Senior Java Developer

Interviewed at Acuitus

4.4
Apr 6, 2010

After a night of wild revelry, a group of local intoxicated hoodlums stumble into a children's playground. One of these hoodlums, Phil, climbs to the middle of a spin-around carousel and his friends push the carousel so it rotates once every five seconds. Phil, who is trying not to get sick, holds a flashlight motionless in his hand. There is a straight path running by the playground that, at its closest point, is 30 meters from the middle of the carousel. Unknown to Phil, there are two cops facing him on the path, shocked at the spectacle. One of them is standing on the path at the point closest to the carousel, while the other is standing 60 meters down the path. At approximately what speed (in meters per second) does the spot illuminated by the flashlight traverse each of the cops' bodies? State speed at the closest cop first.

Viewing 111 - 120 interview questions

Glassdoor has 25,492 interview questions and reports from Java junior interviews. Prepare for your interview. Get hired. Love your job.