i
Xoriant
Filter interviews by
I applied via Naukri.com and was interviewed in Apr 2024. There was 1 interview round.
Java progaming, coding
I applied via Naukri.com and was interviewed in Mar 2021. There were 4 interview rounds.
Yes, finally block will execute even if try and catch have return statement.
The finally block is always executed regardless of whether an exception is thrown or not.
The return statement in try or catch block will be executed before the finally block.
Finally block is commonly used to release resources or perform cleanup operations.
The @Component annotation is a generic stereotype annotation that can be used in place of other annotations.
The @Component annotation is a general-purpose annotation that can be used in place of @Service, @Controller, @Configuration, and @Repository annotations.
However, using more specific annotations can help in better understanding the role of the annotated class.
For example, using @Service annotation on a class that...
No, we cannot use == to compare enums.
Enums are objects and == compares object references, not values.
We should use .equals() method to compare enum values.
Top trending discussions
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
There are multiple ways to iterate over a HashMap in Java.
Using keySet() and values() methods
Using entrySet() method
Using forEach() method with lambda expression
Method overriding in Java with code example
Output will be 'Child class method' as the method in Child class overrides the method in Parent class
Method overriding is a feature that allows a subclass to provide a specific implementation of a method that is already provided by its superclass
The method in the subclass should have the same name, return type, and parameters as the method in the superclass
API to save data in Java
Use HTTP POST method to send data to the server
Create a RESTful endpoint to handle the data saving
Validate the input data before saving it to the database
20 aptitude,20 comunication,4 program questions
General topics . topics about online class vs office line class
Sonarqube is a static code analysis tool used to detect code smells and bugs in code. It is integrated into CI/CD pipelines for continuous code quality checks.
Sonarqube is a static code analysis tool that identifies code smells, bugs, and security vulnerabilities in code.
Code smells are common programming issues that may indicate a deeper problem in the code. Examples include duplicated code, long methods, and complex ...
Program to find numbers divisible by 3 in a string and reverse their indexes.
Iterate through the string and check if each character is a number divisible by 3.
Store the divisible numbers in an array and reverse their indexes.
Join the array back into a string and return the result.
In Spring Boot, we use Spring Data JPA to connect to the database.
Use @EnableJpaRepositories annotation in the main application class to enable JPA repositories
Define datasource properties in application.properties or application.yml file
Use @Entity annotation to define JPA entities
Use JpaRepository interface to perform CRUD operations on entities
Component Scan is a feature in Spring framework that automatically scans and registers Spring components in the application context.
Component Scan is used to automatically detect and register Spring components like @Component, @Service, @Repository, and @Controller.
It eliminates the need for manual configuration of bean definitions in the Spring configuration file.
Component Scan can be configured with base package(s) t...
throw is used to explicitly throw an exception in a method, while throws is used in method signature to declare the exceptions that can be thrown by the method.
throw is used within a method to throw an exception, while throws is used in the method signature to declare the exceptions that can be thrown by the method
throw is followed by an exception object, while throws is followed by the exception class names separated ...
Using Java8 to filter vowels from an array of strings
Use Java8 stream and filter to iterate through each string in the array
Use a lambda expression to check if each character is a vowel
Collect the filtered strings into a new array
I applied via Company Website and was interviewed in Mar 2024. There were 5 interview rounds.
30 multiple choice questions
Two coding questions
I applied via LinkedIn and was interviewed in Mar 2024. There was 1 interview round.
based on 5 reviews
Rating in categories
Software Engineer
1.7k
salaries
| ₹4 L/yr - ₹14.4 L/yr |
Senior Software Engineer
1.7k
salaries
| ₹8.7 L/yr - ₹33 L/yr |
Softwaretest Engineer
626
salaries
| ₹2.8 L/yr - ₹8.7 L/yr |
Technical Lead
620
salaries
| ₹12 L/yr - ₹40 L/yr |
Senior Test Engineer
493
salaries
| ₹9.2 L/yr - ₹31.5 L/yr |
TCS
Infosys
Wipro
Tech Mahindra