Filter interviews by
To count duplicate names in SQL, use the GROUP BY clause with the COUNT function.
Use GROUP BY clause to group the names together
Use COUNT function to count the number of occurrences
Use HAVING clause to filter out names with count less than 2
A program to create custom exceptions in Java.
Create a class that extends Exception or RuntimeException
Add constructors to the custom exception class
Throw the custom exception in the code when needed
Singleton is a design pattern that restricts the instantiation of a class to one object.
To create a singleton class, make the constructor private, create a static method to get the instance of the class, and create a private static variable to hold the instance.
Benefits of singleton include ensuring only one instance of the class exists, providing a global point of access to the instance, and reducing the number o...
Immutable objects are those whose state cannot be changed after creation.
Use final keyword to make class immutable
Make all fields private and final
Do not provide setter methods
If a field is mutable, return a copy of it instead of the original object
Examples: String, Integer, LocalDate
Microservices communicate through lightweight protocols like HTTP/REST or messaging systems like RabbitMQ.
Microservices can communicate through synchronous protocols like HTTP/REST, where one service sends a request to another service and waits for a response.
Microservices can also communicate through asynchronous messaging systems like RabbitMQ, where one service publishes a message to a queue and other services ...
The @Component annotation is used to mark a class as a bean, while @Configuration is used to define a configuration class.
The @Component annotation is used to auto-detect and auto-configure beans using classpath scanning.
@Configuration classes are used to define beans and their dependencies explicitly.
A @Configuration class can contain @Bean methods that return bean instances.
A @Component class can be used as a be...
Volatile is a keyword in Java used to indicate that a variable's value may be modified by multiple threads.
Volatile variables are not cached in thread's local memory
Changes made to volatile variables are immediately visible to other threads
Volatile keyword is used to ensure visibility and ordering of variables in multithreaded environment
Example: volatile int count = 0;
Java 1.8 introduced lambda expressions, default methods, and functional interfaces.
Lambda expressions allow functional programming in Java.
Default methods allow adding new methods to interfaces without breaking existing implementations.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Stream API for processing collections and arrays.
Date and Time API for easier handlin...
I applied via Naukri.com and was interviewed in Jun 2021. There were 4 interview rounds.
Immutable objects are those whose state cannot be changed after creation.
Use final keyword to make class immutable
Make all fields private and final
Do not provide setter methods
If a field is mutable, return a copy of it instead of the original object
Examples: String, Integer, LocalDate
Singleton is a design pattern that restricts the instantiation of a class to one object.
To create a singleton class, make the constructor private, create a static method to get the instance of the class, and create a private static variable to hold the instance.
Benefits of singleton include ensuring only one instance of the class exists, providing a global point of access to the instance, and reducing the number of obj...
Volatile is a keyword in Java used to indicate that a variable's value may be modified by multiple threads.
Volatile variables are not cached in thread's local memory
Changes made to volatile variables are immediately visible to other threads
Volatile keyword is used to ensure visibility and ordering of variables in multithreaded environment
Example: volatile int count = 0;
A program to create custom exceptions in Java.
Create a class that extends Exception or RuntimeException
Add constructors to the custom exception class
Throw the custom exception in the code when needed
To count duplicate names in SQL, use the GROUP BY clause with the COUNT function.
Use GROUP BY clause to group the names together
Use COUNT function to count the number of occurrences
Use HAVING clause to filter out names with count less than 2
Microservices communicate through lightweight protocols like HTTP/REST or messaging systems like RabbitMQ.
Microservices can communicate through synchronous protocols like HTTP/REST, where one service sends a request to another service and waits for a response.
Microservices can also communicate through asynchronous messaging systems like RabbitMQ, where one service publishes a message to a queue and other services consu...
The @Component annotation is used to mark a class as a bean, while @Configuration is used to define a configuration class.
The @Component annotation is used to auto-detect and auto-configure beans using classpath scanning.
@Configuration classes are used to define beans and their dependencies explicitly.
A @Configuration class can contain @Bean methods that return bean instances.
A @Component class can be used as a bean in...
Java 1.8 introduced lambda expressions, default methods, and functional interfaces.
Lambda expressions allow functional programming in Java.
Default methods allow adding new methods to interfaces without breaking existing implementations.
Functional interfaces are interfaces with a single abstract method, used for lambda expressions.
Stream API for processing collections and arrays.
Date and Time API for easier handling of ...
Top trending discussions
posted on 9 May 2017
I appeared for an interview before May 2016.
posted on 12 Apr 2023
I applied via Recruitment Consulltant and was interviewed before Apr 2022. There were 3 interview rounds.
25 MCQ questions online with time limit
Create webapp . Frontend, Backend , data encryption
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
The process for Software Development Engineer involves planning, designing, coding, testing, and deploying software solutions.
Gather requirements from stakeholders
Create a design based on requirements
Write code to implement the design
Test the software for bugs and issues
Deploy the software for users to use
Iterate on feedback and make improvements
I applied via Naukri.com and was interviewed in Mar 2023. There were 2 interview rounds.
OOPs concepts in Java include inheritance, polymorphism, encapsulation, and abstraction.
Inheritance allows a subclass to inherit properties and methods from a superclass.
Polymorphism allows objects to take on multiple forms and behave differently based on their context.
Encapsulation hides the implementation details of an object and only exposes necessary information.
Abstraction allows for the creation of abstract class...
Interfaces define contracts for behavior, while inheritance allows for code reuse and polymorphism.
Interfaces allow for loose coupling and abstraction, enabling multiple implementations of the same behavior.
Inheritance allows for code reuse and extension of existing classes, reducing code duplication.
Polymorphism allows objects of different classes to be treated as if they were of the same class, simplifying code and i...
SQL query for joining tables
Use JOIN keyword to combine two or more tables based on a related column
Specify the columns to be selected using SELECT keyword
Use ON keyword to specify the condition for joining the tables
Different types of joins include INNER JOIN, LEFT JOIN, RIGHT JOIN, and FULL OUTER JOIN
Used Java concepts such as inheritance, polymorphism, and exception handling in my project.
Implemented inheritance to create a base class and derived classes with specific functionalities.
Utilized polymorphism to allow objects of different classes to be treated as if they were of the same class.
Implemented exception handling to handle errors and prevent program crashes.
Used interfaces to define a set of methods that a ...
Overloading is having multiple methods with the same name but different parameters. Overriding is having a method in a subclass with the same name and parameters as a method in the superclass.
Overloading is used to provide different ways to call a method with different parameters
Overriding is used to provide a specific implementation of a method in a subclass
Overloading is resolved at compile-time while overriding is r...
I appeared for an interview before Mar 2024, where I was asked the following questions.
posted on 8 Nov 2024
I applied via Naukri.com
I applied via LinkedIn and was interviewed in Jun 2024. There was 1 interview round.
I use print statements, logging, and debugging tools to identify and fix issues in my code.
I start by reviewing the code and understanding the logic behind it.
I use print statements to check the values of variables at different points in the code.
I utilize logging to track the flow of the program and identify any errors.
I use debugging tools like breakpoints and step-through debugging to pinpoint the exact location of ...
Functional programming focuses on functions and immutability, while object-oriented programming focuses on objects and encapsulation.
Functional programming uses pure functions that do not have side effects.
Object-oriented programming uses objects that encapsulate data and behavior.
In functional programming, data is immutable and functions are first-class citizens.
In object-oriented programming, objects can have state a...
I applied via Walk-in and was interviewed in Jun 2024. There was 1 interview round.
Function to find the first non-repeating character in a string
Create a hashmap to store character frequencies
Iterate through the string to populate the hashmap
Iterate through the string again to find the first non-repeating character
A stack is a data structure that follows the Last In First Out (LIFO) principle, while a queue follows the First In First Out (FIFO) principle.
Stack: Last In First Out (LIFO), used for function calls, undo operations.
Queue: First In First Out (FIFO), used for printing tasks, message queues.
5-10 Yrs
Not Disclosed
Software Engineer
43
salaries
| ₹4.2 L/yr - ₹8.6 L/yr |
Software Developer
39
salaries
| ₹3.7 L/yr - ₹9 L/yr |
Senior Software Engineer
30
salaries
| ₹5.2 L/yr - ₹12 L/yr |
DOT NET Developer
22
salaries
| ₹1.3 L/yr - ₹4.4 L/yr |
HR Executive
15
salaries
| ₹1.5 L/yr - ₹5 L/yr |
Accel Frontline
Apmosys Technologies
Pitney Bowes
DynPro