Filter interviews by
I applied via Naukri.com and was interviewed before Oct 2022. There were 3 interview rounds.
Questions based on SQL and java
The public static void main is the entry point of a Java program.
public: Access modifier indicating that the method is accessible from outside the class.
static: Indicates that the method belongs to the class itself, not to instances of the class.
void: Indicates that the method does not return any value.
main: The name of the method that serves as the entry point for the program.
String[] args: An array of strings that ca...
Truncate removes all records from a table, while delete removes specific records. Drop deletes the table itself.
Truncate is faster than delete as it does not log individual row deletions.
Delete can be rolled back, while truncate cannot be rolled back.
Drop removes the table structure along with all its data.
Example: TRUNCATE TABLE table_name;
Example: DELETE FROM table_name WHERE condition;
Example: DROP TABLE table_name;
The 4 pillars of Java are encapsulation, inheritance, polymorphism, and abstraction.
Encapsulation: Bundling data and methods that operate on the data into a single unit.
Inheritance: Allows a class to inherit properties and behavior from another class.
Polymorphism: Ability of an object to take on many forms.
Abstraction: Hiding the implementation details and showing only the necessary features of an object.
Top trending discussions
I applied via Naukri.com and was interviewed in Nov 2024. There were 2 interview rounds.
They asked me about my current project and asked me to design a system similar to that
posted on 6 Dec 2024
I applied via Instahyre and was interviewed in Nov 2024. There were 2 interview rounds.
Easy to medium questions, Questions on DSA and Node.js.
Middleware is software that acts as a bridge between different applications or components, allowing them to communicate and work together.
Middleware facilitates communication between different software applications or components
It can handle tasks such as data transformation, security, and routing
Examples of middleware include message brokers like RabbitMQ, web servers like Apache Tomcat, and API gateways like Kong
Routing is the process of selecting a path for network traffic to travel from its source to its destination.
Routing involves determining the best path for data packets to travel through a network.
It is typically done by routers, which use routing algorithms to make decisions.
Examples of routing protocols include OSPF, BGP, and RIP.
posted on 30 May 2024
posted on 4 Apr 2024
7,10,8,11,9,12 what number should come next?
A.7
B.10
C.12
D.13
posted on 28 Sep 2024
I applied via Naukri.com and was interviewed before Sep 2023. There were 2 interview rounds.
Polymorphism in OOPS refers to the ability of a single function or method to operate on different types of data.
Polymorphism allows objects of different classes to be treated as objects of a common superclass.
There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).
Example: Inheritance allows a child class to override a method of its parent class, providing different implem
SQL performance can be optimized by using indexes, optimizing queries, minimizing network round trips, and using proper data types.
Use indexes on columns frequently used in WHERE clauses to speed up data retrieval.
Optimize queries by avoiding unnecessary joins, using WHERE clauses effectively, and limiting the number of rows returned.
Minimize network round trips by batching multiple queries into a single request.
Use pr...
My salary expectation as a Senior Software Engineer is based on industry standards, my experience, and the responsibilities of the role.
Research industry standards for Senior Software Engineer salaries
Consider my years of experience and expertise in software development
Factor in the specific responsibilities and requirements of the role
Negotiate based on the company's budget and benefits package
Be open to discussing sa
I will investigate the root cause, analyze logs, and work on fixing the issue to prevent future crashes.
Investigate the crash logs to identify the root cause
Analyze the code to understand the issue
Implement a fix for the crash
Test the fix thoroughly before deploying it
Implement monitoring and alerting to catch similar issues in the future
I applied via Referral and was interviewed before Mar 2023. There was 1 interview round.
posted on 18 Dec 2021
I applied via Naukri.com and was interviewed in Mar 2023. There were 3 interview rounds.
Program to find last non-repeating character in a given string using Java 8 functions only.
Use Java 8 Streams and Lambda's to filter the string and find the last non-repeating character.
Create a Map to store the frequency of each character in the string.
Use the filter() method to get the non-repeating characters and find the last one using reduce().
Find the top 3 employees based on ratings in an employee table.
Sort the employee table based on ratings in descending order.
Select the top 3 employees from the sorted table.
Return the selected employees as the result.
Modify Employee class to consider objects with same names as duplicates.
Add a static HashSet
Override equals() and hashCode() methods to compare names.
In the constructor, check if the name already exists in the HashSet and mark it as duplicate if true.
Interview experience
Assistant Engineer
251
salaries
| ₹1.7 L/yr - ₹4.2 L/yr |
Diploma Trainee Engineer
194
salaries
| ₹1.5 L/yr - ₹3 L/yr |
Senior Engineer
80
salaries
| ₹4.5 L/yr - ₹9.6 L/yr |
Quality Inspector
61
salaries
| ₹1.5 L/yr - ₹3 L/yr |
Engineer
48
salaries
| ₹2.1 L/yr - ₹6.7 L/yr |
TCS
Infosys
Wipro
Tech Mahindra