Software Developer Java Interview Questions

4,198 software developer java interview questions shared by candidates

1. merge 2 sorted Array 2. flatten the array of object type ex: Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 } }; o/p: {1,2,3,4,5,6,7} .using stream Api 3. Stock Buy and sell 4.Array with -ve and positive integer.. return pair with max product. 5. LRU cache Impl 6.We have Order class with orderId and OrderTime.. In a function we have startTime and endTime.. we needed to return all the order placed with in that time range[startTime, endTime];
avatar

Software Engineer - Java Developer

Interviewed at Wissen Infotech

3.8
Jun 3, 2024

1. merge 2 sorted Array 2. flatten the array of object type ex: Object[] array = { 1, 2, new Object[]{ 3, 4, new Object[]{ 5 }, 6, 7 } }; o/p: {1,2,3,4,5,6,7} .using stream Api 3. Stock Buy and sell 4.Array with -ve and positive integer.. return pair with max product. 5. LRU cache Impl 6.We have Order class with orderId and OrderTime.. In a function we have startTime and endTime.. we needed to return all the order placed with in that time range[startTime, endTime];

On the first interview session there were average Java questions, focused on multithreading and collections (How does HashMap work?). The assessment consisted on 2 problems, one was focused on efficiency, the other was focused on logic. On the last round, the technical interview was more complex, addressing subjects like Java memory.
avatar

Software Engineer - Java Developer

Interviewed at Phi Partners

3.9
Dec 5, 2024

On the first interview session there were average Java questions, focused on multithreading and collections (How does HashMap work?). The assessment consisted on 2 problems, one was focused on efficiency, the other was focused on logic. On the last round, the technical interview was more complex, addressing subjects like Java memory.

Viewing 2621 - 2630 interview questions

Glassdoor has 4,198 interview questions and reports from Software developer java interviews. Prepare for your interview. Get hired. Love your job.