Filter interviews by
I applied via Naukri.com and was interviewed in Oct 2023. There were 2 interview rounds.
OOPs concepts are fundamental principles of object-oriented programming that help in designing and implementing software solutions.
Encapsulation: Bundling data and methods together in a class.
Inheritance: Creating new classes by inheriting properties and behaviors from existing classes.
Polymorphism: Ability of an object to take on many forms.
Abstraction: Hiding complex implementation details and providing a simplified ...
This program counts the occurrence of each letter in a given string.
Use a HashMap to store the count of each letter.
Iterate through the characters of the string and update the count in the HashMap.
Finally, print the count of each letter.
SQL query to find third highest salary from employee table.
Use the ORDER BY clause to sort the salaries in descending order
Use the LIMIT clause to limit the result to the third row
Use a subquery to exclude the highest and second highest salaries
Array is a fixed-size data structure while ArrayList is a dynamic-size data structure in Java.
Array has a fixed length, while ArrayList can grow dynamically.
Array can store both primitive types and objects, while ArrayList can only store objects.
Array uses square brackets [] for declaration, while ArrayList uses angle brackets <>.
Array provides direct access to elements using index, while ArrayList provides methods for...
ArrayList is a dynamic array that can grow or shrink in size. It stores objects and provides methods for adding, removing, and accessing elements.
ArrayList is part of the Java Collections Framework.
It is implemented as a resizable array.
Elements can be added using the add() method.
Elements can be accessed using the get() method.
Elements can be removed using the remove() method.
The size() method returns the number of el...
The default size of an ArrayList is 10.
The default initial capacity of an ArrayList is 10.
If the number of elements exceeds the initial capacity, the ArrayList automatically increases its size.
The capacity of an ArrayList can be increased manually using the ensureCapacity() method.
I applied via Recruitment Consulltant and was interviewed in Feb 2023. There were 3 interview rounds.
1 hr withs ome basic english grammer
Servlet life cycle refers to the sequence of events that occur during the lifespan of a servlet.
Servlet is loaded into memory when the server starts
init() method is called to initialize the servlet
service() method is called to handle client requests
destroy() method is called when the servlet is removed from memory
Servlet can be reloaded if the server is restarted
Try with resources is a feature introduced in Java 7 to automatically close resources after use.
It simplifies the code by eliminating the need for a finally block to close the resource
The resource must implement the AutoCloseable interface
Multiple resources can be declared in a single try-with-resources statement
Example: try(FileInputStream fis = new FileInputStream("file.txt")) { //code }
Top trending discussions
I applied via Naukri.com and was interviewed in Jul 2020. There were 4 interview rounds.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via LinkedIn and was interviewed before Dec 2020. There was 1 interview round.
C++ is an extension of C with object-oriented programming features.
C++ supports object-oriented programming while C does not.
C++ has classes and templates while C does not.
C++ has better support for function overloading and default arguments.
C++ has a standard library that includes many useful functions.
C++ allows for both procedural and object-oriented programming.
C++ is generally considered to be a more complex langu
I applied via Naukri.com and was interviewed before Dec 2020. There were 3 interview rounds.
I applied via Naukri.com and was interviewed before May 2021. There was 1 interview round.
based on 2 interviews
Interview experience
based on 12 reviews
Rating in categories
Software Engineer
2k
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior Software Engineer
1.8k
salaries
| ₹0 L/yr - ₹0 L/yr |
Applications Engineer
531
salaries
| ₹0 L/yr - ₹0 L/yr |
Team Lead
488
salaries
| ₹0 L/yr - ₹0 L/yr |
Software Developer
407
salaries
| ₹0 L/yr - ₹0 L/yr |
TCS
Infosys
Wipro
HCLTech