Filter interviews by
Basic ques on speed distance
Easy level question based on DSA
A constructor is a special type of method in a class that is automatically called when an object of that class is created.
Constructors have the same name as the class they belong to
They are used to initialize the object's state
Constructors can have parameters to customize the initialization process
Deadlock is a situation in which two or more processes are unable to proceed because each is waiting for the other to release a resource.
Occurs in multitasking environments
Caused by a circular wait, hold and wait, no preemption, and mutual exclusion
Examples include two processes waiting for each other to release a lock or resource
Threads in Java allow for concurrent execution of multiple tasks within a single program.
Threads are lightweight sub-processes within a program.
They allow for parallel execution of tasks, improving performance.
Java provides built-in support for creating and managing threads using the Thread class.
Example: Creating a new thread - Thread myThread = new Thread(() -> { // task to be executed });
Example: Starting a thread -
String Builder is mutable, String Buffer is synchronized.
String Builder is faster as it is not synchronized.
String Buffer is thread-safe, String Builder is not.
String Builder should be used in single-threaded environments, String Buffer in multi-threaded.
Example: StringBuilder sb = new StringBuilder(); StringBuffer buff = new StringBuffer();
Top trending discussions
I was interviewed in May 2024.
Question was on bitwise operator, array
I applied via Walk-in and was interviewed before Apr 2023. There were 4 interview rounds.
This is only for freshers
posted on 6 Feb 2023
I applied via Recruitment Consulltant and was interviewed in Jan 2023. There was 1 interview round.
I applied via campus placement at Mulund College of Commerce, Mumbai and was interviewed before Apr 2023. There were 2 interview rounds.
Quants, Logic and Banking awareness
I was interviewed in May 2024.
Question was on bitwise operator, array
I applied via Recruitment Consulltant and was interviewed in Feb 2022. There were 2 interview rounds.
posted on 6 Feb 2023
I applied via Recruitment Consulltant and was interviewed in Jan 2023. There was 1 interview round.
I applied via Company Website and was interviewed before Jul 2021. There were 3 interview rounds.
English, maths & logical reasoning. Great test.
I applied via Walk-in and was interviewed before Apr 2023. There were 4 interview rounds.
This is only for freshers
based on 1 interview
Interview experience
Software Developer
20
salaries
| ₹3.9 L/yr - ₹8.2 L/yr |
Junior Software Developer
12
salaries
| ₹2 L/yr - ₹6 L/yr |
Senior Software Developer
5
salaries
| ₹7.5 L/yr - ₹20 L/yr |
Software Developer Trainee
4
salaries
| ₹3 L/yr - ₹4.3 L/yr |
Junior Developer
4
salaries
| ₹3.9 L/yr - ₹7.5 L/yr |
TCS
Infosys
Wipro
HCLTech