i
Elevati Infotech
Filter interviews by
I applied via Approached by Company and was interviewed before Mar 2022. There were 2 interview rounds.
Method overloading is having multiple methods with the same name but different parameters. Method overriding is having a method in the subclass with the same name and parameters as in the superclass.
Method overloading is done in the same class while method overriding is done in different classes.
Method overloading is used to provide different ways of calling the same method while method overriding is used to provide a ...
Inheritance is a mechanism in OOP where a new class is derived from an existing class.
It allows code reusability and saves time and effort in writing code.
The derived class inherits the properties and methods of the base class.
The derived class can also add new properties and methods or override the existing ones.
It helps in achieving polymorphism and abstraction.
Example: A Car class can be inherited by a SportsCar cla...
Optional class is used to handle null values in Java 8 and above.
Optional class is a container object that may or may not contain a non-null value.
It provides methods to check if a value is present or not, and to retrieve the value if it is present.
It helps to avoid NullPointerExceptions and makes the code more readable and concise.
Example: Optional
If person.getName() retur...
Exception handling in Spring Boot project
Use @ExceptionHandler annotation to handle exceptions
Use @ControllerAdvice to handle exceptions globally
Use try-catch block to handle exceptions in specific methods
Use ResponseEntity to return custom error messages
Use logging to track and debug exceptions
Top trending discussions
Interview experience
based on 1 review
Rating in categories
Salesforce Developer
4
salaries
| ₹2.8 L/yr - ₹5 L/yr |
Full Stack Developer
4
salaries
| ₹5.3 L/yr - ₹14 L/yr |
Softwaretest Engineer
4
salaries
| ₹2.5 L/yr - ₹4.3 L/yr |
Software Engineer
3
salaries
| ₹3.5 L/yr - ₹6.5 L/yr |
Quality Analyst
3
salaries
| ₹2.5 L/yr - ₹10.3 L/yr |
Waah Jobs
Propelld
AIRSPAN NETWORKS
HyperXchange