Software Developer 2 Interview Questions

2,525 software developer 2 interview questions shared by candidates

In coding round 1) question related to array custom sorting 2) easy with something like string with numbers In tech 1st round 1) given array of nums and asked to find the count of maximum continuos sequence ex [4,88,3,9,0,2,1] out-4 because 1,2,3,4 max increase subse. 2) hash map with array problem, sorting involved 3) LRU cache design For each problem i have given 2 solutions they are asking to for optimized one with time and space complexity. In tech 2 round - asked question regarding some design, async and sync calls in spring boot. Hr round. The general round discussion about the benefits.
avatar

SDE-2

Interviewed at Entain India

3.6
Jul 12, 2024

In coding round 1) question related to array custom sorting 2) easy with something like string with numbers In tech 1st round 1) given array of nums and asked to find the count of maximum continuos sequence ex [4,88,3,9,0,2,1] out-4 because 1,2,3,4 max increase subse. 2) hash map with array problem, sorting involved 3) LRU cache design For each problem i have given 2 solutions they are asking to for optimized one with time and space complexity. In tech 2 round - asked question regarding some design, async and sync calls in spring boot. Hr round. The general round discussion about the benefits.

What are the main differences between == and .equals() in Java? (Covers object comparison and string handling.) Explain how Java achieves platform independence. (JVM, bytecode, JIT compilation.) What is the difference between ArrayList and LinkedList? (Performance trade-offs, memory usage, internal implementation.) What is the difference between final, finally, and finalize()? (Covers keywords, exception handling, garbage collection.) What are checked and unchecked exceptions in Java? (Difference, examples, best practices for handling.) How does Java handle memory management and garbage collection? (Heap, stack, GC algorithms, System.gc().) What is the difference between abstract class and interface? (Default methods in Java 8+, multiple inheritance issues.) Explain how multithreading works in Java. How do you create a thread? (Extending Thread vs implementing Runnable, thread lifecycle.) What is the difference between HashMap, TreeMap, and LinkedHashMap? (Ordering, performance, use cases.) What are Java Streams and how are they different from Collections? (Functional programming, lazy evaluation, parallel streams.)
avatar

SE 2

Interviewed at Infosys

3.6
Sep 10, 2025

What are the main differences between == and .equals() in Java? (Covers object comparison and string handling.) Explain how Java achieves platform independence. (JVM, bytecode, JIT compilation.) What is the difference between ArrayList and LinkedList? (Performance trade-offs, memory usage, internal implementation.) What is the difference between final, finally, and finalize()? (Covers keywords, exception handling, garbage collection.) What are checked and unchecked exceptions in Java? (Difference, examples, best practices for handling.) How does Java handle memory management and garbage collection? (Heap, stack, GC algorithms, System.gc().) What is the difference between abstract class and interface? (Default methods in Java 8+, multiple inheritance issues.) Explain how multithreading works in Java. How do you create a thread? (Extending Thread vs implementing Runnable, thread lifecycle.) What is the difference between HashMap, TreeMap, and LinkedHashMap? (Ordering, performance, use cases.) What are Java Streams and how are they different from Collections? (Functional programming, lazy evaluation, parallel streams.)

Viewing 1021 - 1030 interview questions

Glassdoor has 2,525 interview questions and reports from Software developer 2 interviews. Prepare for your interview. Get hired. Love your job.