EXL - Java Developer | Interview Experience
Summary
I attended the first round interview for a Java Developer position at EXL, which included Java and DSA sections, and I believe I did not pass.
Full Experience
Hi all,
I recently gave the first round of an interview at EXL for a Java Developer role. I have 7+ years of experience and am currently working at a service-based company.
The interview had two sections:
- Java
- DSA
Some of the questions asked were:
- Use of the `intern()` method
- Different ways to create objects in Java
- Using `try/catch` inside `finally` - why and when
- Whether `final` and `static` can be used with an abstract class and explain reason.
- Explain Bubble Sort and its time complexity (first time I was asked this in an interview!)
DSA question:
- Move Zeroes to the End
I think I flunked it.
Interview Questions (6)
intern() method usage
Explain the purpose and typical use cases of the String.intern() method in Java.
Object creation ways in Java
Describe the different ways to create objects in Java (e.g., using new, reflection, cloning, deserialization, etc.).
try/catch inside finally
Explain why and when you might use a try/catch block inside a finally block in Java.
final and static with abstract class
Can the keywords final and static be used with an abstract class in Java? Provide reasons.
Bubble Sort explanation
Explain how Bubble Sort works and state its time complexity.
Move Zeroes to the End
Given an array of integers, move all zeroes to the end while maintaining the relative order of the non‑zero elements.