Filter interviews by
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
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 Referral and was interviewed in Nov 2022. There were 4 interview rounds.
It was online 1hr test. Overall it was an easy test. If you code on hackerrank, hackerearth or leetcode then you can easily clear the test.
I appeared for an interview before Mar 2024, where I was asked the following questions.
I applied via Walk-in and was interviewed in Jul 2024. There were 2 interview rounds.
Give 10 questions from node js backend
package.json is a file used in Node.js projects to manage dependencies, scripts, and metadata.
It is a JSON file that contains information about the project, such as name, version, dependencies, and scripts.
It is used to manage project dependencies by listing them in the 'dependencies' and 'devDependencies' fields.
It allows developers to define scripts for tasks like building, testing, and running the project.
Example: {...
Components in Angular are building blocks of an application. Data can be shared between components using input properties and output events.
Components in Angular are reusable, self-contained units of code that define a part of the user interface.
Data can be shared to a component using input properties, where data is passed from the parent component to the child component.
Data can also be shared from a child component t...
=== is strict equality operator, while == is loose equality operator. === is commonly used in real-time projects for accurate comparisons.
=== is a strict equality operator that checks both value and type of operands
== is a loose equality operator that only checks the value of operands
=== is commonly used in real-time projects to ensure accurate comparisons and prevent unexpected type coercion issues
Arrow function syntax in JavaScript
Arrow functions are concise syntax for writing function expressions in JavaScript
They have a shorter syntax compared to traditional function expressions
They do not have their own 'this', 'arguments', 'super', or 'new.target' keywords
Arrow functions are concise syntax for writing function expressions, while anonymous functions do not have a name.
Arrow functions have a shorter syntax compared to anonymous functions.
Arrow functions do not have their own 'this' keyword, while anonymous functions do.
Arrow functions do not have 'arguments' object, while anonymous functions do.
Arrow functions are not hoisted, while anonymous functions are hoisted.
I applied via Recruitment Consulltant and was interviewed in May 2024. There were 3 interview rounds.
It is easy to solve the Aptitude question and some identifying outputs of program.
A class is a blueprint for creating objects in object-oriented programming.
A class defines the properties and behaviors of objects.
An object is an instance of a class.
Example: Class 'Car' can have properties like 'color' and 'model', and behaviors like 'drive' and 'stop'.
Swap two numbers without using temp variable and reverse a string without using built-in functions.
To swap two numbers without using temp variable, use bitwise XOR operation.
To reverse a string without using built-in functions, use two pointers approach.
Example for swapping numbers: a = a ^ b; b = a ^ b; a = a ^ b;
Example for reversing a string: use two pointers to swap characters from start and end of the string.
Now, I am preparing for the third round.
So, I don't know the Coding Question.
I applied via Campus Placement and was interviewed in Jan 2021. There were 6 interview rounds.
OOPS is a programming paradigm based on objects that have properties and methods.
Encapsulation: bundling of data and methods that operate on that data within a single unit
Inheritance: ability of a class to inherit properties and methods from a parent class
Polymorphism: ability of objects to take on many forms or have multiple behaviors
Abstraction: hiding of complex implementation details and showing only the necessary ...
Explanation of Super, Throw, Final and Finally
Super: used to call a method from a parent class
Throw: used to throw an exception
Final: used to declare a constant or to prevent method overriding
Finally: used to execute code after try-catch block, regardless of exception
posted on 9 May 2017
I appeared for an interview before May 2016.
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 ...
Identify bottlenecks, analyze code, optimize algorithms, utilize caching, and consider hardware upgrades.
Identify bottlenecks in the application by profiling and monitoring performance.
Analyze the code to find inefficient algorithms or database queries.
Optimize algorithms and data structures to improve efficiency.
Utilize caching mechanisms to reduce redundant computations.
Consider hardware upgrades such as increasing m
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...
Software Engineer
43
salaries
| ₹2.7 L/yr - ₹10.9 L/yr |
Software Developer
39
salaries
| ₹1.4 L/yr - ₹9 L/yr |
Senior Software Engineer
32
salaries
| ₹4.6 L/yr - ₹11.6 L/yr |
DOT NET Developer
20
salaries
| ₹1.8 L/yr - ₹5 L/yr |
Java Developer
16
salaries
| ₹2.9 L/yr - ₹8 L/yr |
Accel Frontline
Pitney Bowes
Apmosys Technologies
DynPro