i
10405090xyzabc
Work with us
Filter interviews by
I appeared for an interview in Jun 2025, where I was asked the following questions.
ArrayList uses dynamic arrays, while LinkedList uses doubly linked nodes for storage, affecting performance and use cases.
ArrayList is backed by a dynamic array, allowing fast random access (O(1)). Example: accessing an element at index 5 is quick.
LinkedList consists of nodes that hold data and references to the next and previous nodes, making insertions/removals faster (O(1)) when at known positions.
ArrayList has a fi...
Java's synchronized keyword offers simple thread safety but has limitations compared to ReentrantLock's flexibility and features.
Advantages of synchronized: Simple to use, built-in language feature.
Disadvantages of synchronized: Can lead to thread contention, no timeout options.
ReentrantLock allows for more advanced features like tryLock() and timed lock acquisition.
Example of synchronized: synchronized void method() {...
In Java, '==' checks reference equality, while '.equals()' checks value equality. Use them appropriately to avoid bugs.
== compares object references, checking if both refer to the same memory location.
Example: String a = new String('test'); String b = new String('test'); a == b returns false.
.equals() compares the actual content of the objects.
Example: a.equals(b) returns true because the content is the same.
Use '==' f...
Java's garbage collector automatically manages memory by reclaiming unused objects, improving performance and preventing memory leaks.
Java uses automatic garbage collection to manage memory, freeing developers from manual memory management.
The main garbage collection algorithms in Java include: Serial, Parallel, Concurrent Mark-Sweep (CMS), and G1 (Garbage-First).
The Serial GC is a simple, single-threaded collector sui...
Java 8 introduced lambdas, Stream API, and other features that enhance functional programming and improve code readability.
Lambda Expressions: Allow concise representation of single-method interfaces (functional interfaces). Example: (x, y) -> x + y.
Stream API: Facilitates functional-style operations on collections. Example: list.stream().filter(x -> x > 10).collect(Collectors.toList()).
Default Methods: Enable...
Checked exceptions must be declared or handled, while unchecked exceptions do not require explicit handling.
Checked exceptions are subclasses of Exception but not of RuntimeException.
Example: IOException, SQLException are checked exceptions.
Unchecked exceptions are subclasses of RuntimeException.
Example: NullPointerException, ArrayIndexOutOfBoundsException are unchecked exceptions.
Checked exceptions must be caught or d...
The Java Memory Model defines how threads interact through memory, ensuring visibility and ordering of shared variables.
The Java Memory Model (JMM) specifies how threads interact through memory and what behaviors are allowed.
It ensures visibility of shared variables across threads, preventing stale data issues.
Synchronization mechanisms (like synchronized blocks) enforce mutual exclusion and visibility.
The 'volatile' k...
I appeared for an interview in Apr 2025, where I was asked the following questions.
ArrayList uses dynamic arrays, while LinkedList uses linked nodes. Choose based on performance needs for insertion and access.
ArrayList is backed by a dynamic array, allowing fast random access (O(1)). Example: accessing elements by index.
LinkedList is backed by a doubly linked list, allowing fast insertions and deletions (O(1)) at both ends. Example: adding/removing elements from the front.
ArrayList has a fixed size, ...
Java's synchronized keyword offers thread safety but has limitations compared to ReentrantLock.
Advantages of synchronized: Simple to use, built-in language feature.
Disadvantages of synchronized: Can lead to deadlocks, less flexible than ReentrantLock.
ReentrantLock allows for tryLock() method, enabling non-blocking attempts to acquire a lock.
ReentrantLock supports fairness policies, allowing threads to acquire locks in ...
In Java, '==' checks reference equality, while '.equals()' checks value equality. Use them appropriately to avoid bugs.
== compares object references, checking if both refer to the same memory location.
Example: String a = new String('test'); String b = new String('test'); a == b returns false.
.equals() compares the actual content of the objects.
Example: a.equals(b) returns true because the content is the same.
Use '==' f...
Java's garbage collector automatically manages memory by reclaiming unused objects, improving performance and preventing memory leaks.
Java uses automatic garbage collection to manage memory, freeing developers from manual memory management.
The main types of garbage collection algorithms in Java include: Serial, Parallel, Concurrent Mark-Sweep (CMS), and G1 (Garbage-First).
The Serial Garbage Collector is simple and suit...
Java 8 introduced lambdas, Stream API, and other features that enhance functional programming and simplify code.
Lambdas: Enable concise representation of functional interfaces. Example: (x, y) -> x + y.
Stream API: Facilitates functional-style operations on collections. Example: list.stream().filter(x -> x > 10).collect(Collectors.toList()).
Default Methods: Allow adding new methods to interfaces without breakin...
Checked exceptions must be declared or handled, while unchecked exceptions do not require explicit handling in Java.
Checked exceptions are subclasses of Exception (excluding RuntimeException). Example: IOException.
Unchecked exceptions are subclasses of RuntimeException. Example: NullPointerException.
Checked exceptions must be either caught using try-catch or declared in the method signature with 'throws'.
Unchecked exce...
The Java Memory Model defines how threads interact through memory, ensuring visibility and ordering of shared variables.
The Java Memory Model (JMM) specifies how threads interact with memory, ensuring consistency and visibility.
It defines rules for visibility, atomicity, and ordering of operations in a multithreaded environment.
Without proper synchronization, threads may see stale or inconsistent data due to caching an...
Method overloading allows multiple methods with the same name but different parameters; overriding replaces a superclass method in a subclass.
Method Overloading: Same method name, different parameter types or counts.
Example of Overloading: 'void add(int a, int b)' and 'void add(double a, double b)'.
Use Overloading for convenience and readability when methods perform similar functions.
Method Overriding: Redefining a met...
Top trending discussions
I appeared for an interview before May 2024, where I was asked the following questions.
I applied via Recruitment Consulltant and was interviewed before Feb 2023. There were 2 interview rounds.
Create a div that starts a timer when hovered over
Create a div element in HTML
Use CSS to style the div
Add JavaScript event listeners for hover
Start a timer using JavaScript when hover event is triggered
Build a secure OTP component for authentication purposes.
Generate random one-time passwords using a secure algorithm
Implement time-based expiration for OTPs
Provide a way for users to input and verify OTPs
Store OTPs securely to prevent unauthorized access
Consider using multi-factor authentication for added security
I appeared for an interview in May 2025, where I was asked the following questions.
Python is my favorite programming language due to its simplicity, versatility, and strong community support.
Easy to learn: Python's syntax is clear and concise, making it accessible for beginners. Example: 'print("Hello, World!")'.
Versatile: Used in web development, data analysis, artificial intelligence, and more. Example: Django for web apps.
Strong libraries: Rich ecosystem with libraries like NumPy for numerical com...
I approach code reviews as collaborative opportunities for improvement, valuing feedback for personal and team growth.
I actively seek feedback from peers to enhance code quality and maintainability.
I provide constructive feedback, focusing on code clarity and best practices, like suggesting clearer variable names.
I view code reviews as learning experiences, often discussing alternative solutions or design patterns.
I en...
posted on 19 May 2025
I appeared for an interview before May 2024, where I was asked the following questions.
Processes are independent execution units with their own memory, while threads are lightweight and share memory within a process.
A process is an independent program in execution, while a thread is a smaller unit of a process.
Processes have their own memory space; threads share the same memory space of their parent process.
Creating a process is more resource-intensive than creating a thread.
Example: A web browser (proce...
REST stands for Representational State Transfer, a software architectural style for designing networked applications.
REST is based on stateless communication between client and server.
It uses standard HTTP methods like GET, POST, PUT, DELETE.
Resources are identified by URIs (Uniform Resource Identifiers).
Data is typically exchanged in formats like JSON or XML.
RESTful APIs are widely used in web services for their simpl...
Complexity level - moderate. Basic concepts.
Yes, I have experience working independently and thrive in dynamic environments.
I have successfully completed multiple projects on my own, demonstrating my ability to work independently.
I am comfortable making decisions and solving problems without constant supervision.
I have experience working in fast-paced environments where I had to adapt quickly to changing priorities and deadlines.
Stored procedures are precompiled and stored in the database, while functions are compiled and stored in memory.
Stored procedures are precompiled and stored in the database for reuse.
Functions are compiled and stored in memory for faster execution.
Stored procedures can return multiple values, while functions return a single value.
Functions can be called from within a stored procedure, but stored procedures cannot be ca...
Some of the top questions asked at the 10405090xyzabc Software Engineer interview -
based on 3 interview experiences
Difficulty level
Duration
based on 1 review
Rating in categories
Software Developer
30.9k
salaries
| ₹4 L/yr - ₹15 L/yr |
Software Engineer
8k
salaries
| ₹7 L/yr - ₹10.1 L/yr |
Sales Officer
1.7k
salaries
| ₹2.8 L/yr - ₹3.6 L/yr |
System Engineer
71
salaries
| ₹7.5 L/yr - ₹7.5 L/yr |
Project Manager
71
salaries
| ₹12 L/yr - ₹12 L/yr |
PwC
KPMG India
IQVIA
Max Healthcare