i
Anant Cars Auto
Filter interviews by
Be the first one to contribute and help others!
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
I applied via Company Website and was interviewed in May 2024. There were 3 interview rounds.
Duration : 1 hour
Topics : Java and DSA
BFS explores neighbors before moving to next level, while DFS explores as far as possible before backtracking.
BFS uses a queue to keep track of nodes to visit next, while DFS uses a stack or recursion.
BFS is optimal for finding shortest path in unweighted graphs, while DFS is more memory efficient.
BFS is typically implemented iteratively, while DFS can be implemented recursively.
Example: BFS is used in level order trav...
I applied via Referral and was interviewed before Jan 2022. There were 3 interview rounds.
How can we make our company in number 1 position
I would consider the reasons for both my friend and myself needing leave and make a decision based on the urgency and importance of each situation.
Assess the reasons for both your friend and yourself needing leave
Consider the urgency and importance of each situation
Communicate with your friend and discuss the possibility of one of you rescheduling your leave
If both reasons are equally important, prioritize based on sen...
I can join the company within two weeks of receiving a job offer.
I am currently serving a notice period of two weeks at my current job.
I have already completed all necessary paperwork and background checks.
I am excited about the opportunity and ready to start as soon as possible.
I applied via Naukri.com and was interviewed in Feb 2023. There were 2 interview rounds.
Sort an ArrayList of objects by age.
Create a custom Comparator to compare the age of the objects.
Use the Collections.sort() method to sort the ArrayList using the custom Comparator.
Ensure that the objects in the ArrayList have a field for age.
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
IOC is a design pattern where control is inverted, while DI is a technique to achieve IOC by injecting dependencies into a class.
IOC stands for Inversion of Control, where the control of flow is inverted from the traditional top-down approach.
DI stands for Dependency Injection, a technique used to implement IOC by injecting dependencies into a class from an external source.
IOC is a design principle, while DI is a techn...
Exception handling in Spring Boot allows developers to gracefully handle errors and provide meaningful responses to users.
Use @ControllerAdvice to handle exceptions globally
Use @ExceptionHandler to handle specific exceptions
Return custom error messages or responses to users
Annotation used in Spring framework to bind the HTTP request body to a method parameter.
Used in Spring MVC to indicate that a method parameter should be bound to the body of the web request.
Can be used with various data types like JSON, XML, etc.
Helps in simplifying the process of handling request data in Spring applications.
Type casting in Java is the process of converting one data type into another.
Type casting can be done implicitly or explicitly in Java.
Implicit type casting is done when a smaller data type is converted to a larger data type, while explicit type casting is done when a larger data type is converted to a smaller data type.
Example of implicit type casting: int num = 10; double result = num;
Example of explicit type casting
Intermediate and terminal operators are used in Java streams to perform intermediate and terminal operations on elements.
Intermediate operators are used to transform, filter, or manipulate elements in a stream before passing them to the next operation. Examples include map(), filter(), and sorted().
Terminal operators are used to trigger the processing of elements in a stream and produce a result. Examples include forEa
Functional interface in Java is an interface with only one abstract method. It can have multiple default or static methods.
Functional interfaces can be annotated with @FunctionalInterface to ensure they have only one abstract method.
Examples of functional interfaces in Java include Runnable, Callable, and ActionListener.
Lambda expressions can be used to implement functional interfaces concisely.
Various methods in RestApi include GET, POST, PUT, DELETE.
GET - Used to retrieve data from the server. Example: GET /users
POST - Used to send data to the server to create a new resource. Example: POST /users
PUT - Used to update an existing resource on the server. Example: PUT /users/1
DELETE - Used to delete a resource on the server. Example: DELETE /users/1
Using Java 8, find the first non-repeating character in a string.
Use Java 8 streams to convert the string to a character array.
Use Collectors.groupingBy to group characters by count.
Filter out characters with count > 1 and find the first character with count 1.
Sum of all even numbers without using inbuild methods using stream api
Create an array of numbers
Use stream to filter out even numbers
Use stream to sum up the filtered even numbers
I applied via Referral and was interviewed before May 2023. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Aug 2021. There was 1 interview round.
based on 37 reviews
Rating in categories
Executive Accountant
15
salaries
| ₹0 L/yr - ₹0 L/yr |
System Administrator
7
salaries
| ₹0 L/yr - ₹0 L/yr |
Warranty Executive
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Sales Consultant
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Senior HR Executive
5
salaries
| ₹0 L/yr - ₹0 L/yr |
Maruti Suzuki
Tata Motors
Mahindra & Mahindra
Hyundai Motor India Limited