Java Programmer Interview Questions

26,904 java programmer interview questions shared by candidates

Aptitude questions: (1)A number of friends decided to go on a picnic and planned to spend Rs. 96 on eatables. Four of them, however, did not turn up. As a consequence, the remaining ones had to contribute Rs. 4 each extra. The number of those who attended the picnic was (2)Suresh started a business with Rs.20,000. Kiran joined him after 4 months with Rs.30,000. After 2 months, Suresh withdrew Rs.5,000 of his capital and 2 more months later, Kiran brought in Rs.20,000 more. What should be the ratio in which they should share their profits at the end of the year? (3)A man borrows Rs. 20,000 at 10% compound interest. At the end of every year he pays Rs. 2000 as part repayment. How much does he still owe after three such installments? (4)Three taps A, B and C can fill a tank in 12, 15 and 20 hours respectively. If A is open all the time and B and C are open for one hour each alternately, the tank will be full in (5)2 hours after a freight train leaves Delhi a passenger train leaves the same station traveling in the same direction at an average speed of 16 km/hr. After traveling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was? (6)coding-decoding reasoning (7)blood relations Technical Interview: They are asking in deep not only just basic questions so thoroughly prepare well for the basic concepts (1)String (2)Garbage collection
avatar

Java Software Engineer

Interviewed at CRMIT Solutions

3.4
Sep 7, 2017

Aptitude questions: (1)A number of friends decided to go on a picnic and planned to spend Rs. 96 on eatables. Four of them, however, did not turn up. As a consequence, the remaining ones had to contribute Rs. 4 each extra. The number of those who attended the picnic was (2)Suresh started a business with Rs.20,000. Kiran joined him after 4 months with Rs.30,000. After 2 months, Suresh withdrew Rs.5,000 of his capital and 2 more months later, Kiran brought in Rs.20,000 more. What should be the ratio in which they should share their profits at the end of the year? (3)A man borrows Rs. 20,000 at 10% compound interest. At the end of every year he pays Rs. 2000 as part repayment. How much does he still owe after three such installments? (4)Three taps A, B and C can fill a tank in 12, 15 and 20 hours respectively. If A is open all the time and B and C are open for one hour each alternately, the tank will be full in (5)2 hours after a freight train leaves Delhi a passenger train leaves the same station traveling in the same direction at an average speed of 16 km/hr. After traveling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was? (6)coding-decoding reasoning (7)blood relations Technical Interview: They are asking in deep not only just basic questions so thoroughly prepare well for the basic concepts (1)String (2)Garbage collection

I liked two questions that were asked in the 2nd technical interview. 1.) Puzzel - A person can jump maximum one stair while climbing on the stair and he can do this any where in the climbing process then how many ways that person can climb on the roof if there are 10 stairs present for reaching on the roof ? 2.) Coding Question - Write a Java function that take two arguments both are string, and return true if first string is the cyclic rotated string of second otherwise return false ? Ex- First String = llohe and Second String = hello then return true First String = hello and Second String = hello then return false First String = welcome and Second String = hello then return false First String = ollhe and Second String = hello then return false
avatar

Java Developer

Interviewed at Instant Systems

4.4
May 3, 2016

I liked two questions that were asked in the 2nd technical interview. 1.) Puzzel - A person can jump maximum one stair while climbing on the stair and he can do this any where in the climbing process then how many ways that person can climb on the roof if there are 10 stairs present for reaching on the roof ? 2.) Coding Question - Write a Java function that take two arguments both are string, and return true if first string is the cyclic rotated string of second otherwise return false ? Ex- First String = llohe and Second String = hello then return true First String = hello and Second String = hello then return false First String = welcome and Second String = hello then return false First String = ollhe and Second String = hello then return false

Viewing 1361 - 1370 interview questions

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