Filter interviews by
I applied via Walk-in and was interviewed in Dec 2022. There were 2 interview rounds.
Top trending discussions
I was interviewed in Jul 2024.
Idempotent term in patch and put means that multiple identical requests have the same effect as a single request.
Idempotent means that the result of a successful request is the same regardless of how many times it is repeated.
In PATCH and PUT requests, idempotent means that sending the same request multiple times will not have any additional side effects.
For example, if a PATCH request updates a resource with specific ...
Java memory types and where objects are stored
Java memory consists of stack and heap
Primitive data types are stored in stack
Objects and arrays are stored in heap
References to objects are stored in stack
Example: int num = 5; // num is stored in stack, value 5 is stored in stack
Example: String str = new String(); // str reference is stored in stack, actual String object is stored in heap
Yes, hash map stores unique keys.
Hash map in Java does not allow duplicate keys. If you try to insert a duplicate key, it will replace the existing value with the new one.
However, hash map allows duplicate values.
Example: HashMap
Java 8 introduced new methods for HashMap such as forEach, compute, merge, etc.
Java 8 introduced new methods like forEach, compute, merge for HashMap operations
Java 8 allows using lambda expressions for iterating over HashMap entries
Java 8 introduced default methods in Map interface for HashMap
No, static methods or variables cannot be created inside static main() method.
Static methods or variables cannot be created inside another static method.
Static methods or variables can only be created at the class level, outside of any method.
Example: public class MyClass { static int myVariable = 10; }
Profile in Spring Boot is a set of configurations that can be used to customize the behavior of an application.
Profiles allow developers to define different configurations for different environments (e.g. development, testing, production).
Profiles can be activated using the 'spring.profiles.active' property in the application.properties file.
Profiles can be used to specify different database connections, logging levels...
Custom exceptions can be created by extending the Exception class in Java.
Create a new class that extends the Exception class
Override the constructors to provide custom messages and error codes
Throw the custom exception using the 'throw' keyword
StreamsAPI is a feature in Java that allows for processing sequences of elements in a functional style.
StreamsAPI provides a way to work with collections of objects in a more concise and declarative manner.
It supports operations like filter, map, reduce, and collect.
Example: List
An exception in Java is an event that disrupts the normal flow of a program's instructions.
Exceptions are objects that are thrown when an abnormal condition occurs during the execution of a program.
They can be caught and handled using try-catch blocks.
Unchecked exceptions do not need to be declared in a method's throws clause, while checked exceptions do.
Examples of exceptions in Java include NullPointerException, Arra
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
Implementation of the Spring security
I applied via Company Website and was interviewed in Sep 2023. There were 2 interview rounds.
HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap implements the Map interface in Java
It allows null keys and values
Keys in a HashMap must be unique
Example: HashMap
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
HashMap internally uses an array of linked lists to store key-value pairs.
When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.
If multiple keys hash to the same index, a linked list is used to handle collisions.
HashMap uses the hashCode() method of keys to calc...
Throw is used to explicitly throw an exception in a method, while Throws is used to declare the exceptions that a method may throw.
Throw is used within a method to throw an exception explicitly.
Throws is used in the method signature to declare the exceptions that the method may throw.
Throw is followed by an instance of Throwable class, while Throws is followed by the exception class names separated by commas.
Example: t...
Arrays are fixed in size, while ArrayLists can dynamically resize. ArrayLists provide more flexibility and functionality.
Arrays have a fixed size, while ArrayLists can dynamically resize.
ArrayLists can easily add, remove, or modify elements, while arrays require manual shifting of elements.
Arrays use [] syntax for declaration and initialization, while ArrayLists use the ArrayList class from the Java Collections framewo
ArrayList is resizable array implementation, LinkedList is doubly linked list implementation, Vector is synchronized version of ArrayList.
ArrayList is faster for accessing elements, LinkedList is faster for adding/removing elements in middle.
ArrayList uses less memory than LinkedList due to contiguous memory allocation.
Vector is thread-safe but slower than ArrayList due to synchronization overhead.
Iterate through a hashmap using an iterator in Java
Create an iterator using the entrySet() method of the hashmap
Use a while loop to iterate through the hashmap entries
Access the key and value of each entry using the getKey() and getValue() methods
I applied via Company Website and was interviewed in Nov 2023. There were 3 interview rounds.
An aptitude test is an exam used to determine an individual's skill or propensity to succeed in a given activity.
I am a dedicated and experienced Backend Officer with a strong background in managing backend operations and ensuring smooth functioning of systems.
Experienced in handling backend operations and maintaining databases
Proficient in programming languages like Java and Python
Skilled in troubleshooting and resolving technical issues
Strong attention to detail and ability to work under pressure
Excellent communication and team
I handle stress, pressure, and anxiety by practicing self-care, time management, and seeking support.
I prioritize self-care activities such as exercise, meditation, and hobbies to reduce stress.
I manage my time effectively by setting realistic goals, breaking tasks into smaller steps, and using productivity tools.
I seek support from colleagues, mentors, or friends when facing challenging situations.
I maintain a positiv...
My strengths include strong problem-solving skills, attention to detail, and ability to work well under pressure.
Strong problem-solving skills: I have a knack for analyzing complex problems and finding effective solutions.
Attention to detail: I pay close attention to even the smallest details to ensure accuracy and quality in my work.
Ability to work well under pressure: I thrive in high-pressure situations and can rema...
posted on 15 Sep 2023
I applied via Walk-in and was interviewed in Aug 2023. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Jan 2024. There were 2 interview rounds.
Servicenow Developer
6
salaries
| ₹5 L/yr - ₹10 L/yr |
Technical Consultant
5
salaries
| ₹5.5 L/yr - ₹13 L/yr |
Associate Technical Consultant
5
salaries
| ₹2.5 L/yr - ₹6 L/yr |
Consultant
4
salaries
| ₹8.5 L/yr - ₹16 L/yr |
Senior Technical Consultant
4
salaries
| ₹7 L/yr - ₹10.5 L/yr |
TCS
Infosys
Wipro
HCLTech