Filter interviews by
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
To use a method in a different file in a Spring MVC project, you need to create a bean for the class containing the method and then inject it where needed.
Create a bean for the class containing the method in the Spring configuration file
Use @Autowired annotation to inject the bean where the method needs to be used
Ensure the class containing the method is in the component scan path
Annotations used in Spring Boot projects with explanations
1. @RestController - Used to define a controller and automatically includes @ResponseBody in all methods.
2. @RequestMapping - Maps HTTP requests to handler methods of MVC and REST controllers.
3. @Autowired - Used for automatic dependency injection.
4. @Component - Indicates that a class is a Spring component.
5. @Service - Indicates that a class is a service compo...
Top trending discussions
posted on 2 Oct 2024
It was pretty easy. Various theoretical questions on technical knowledge and 3 coding questions. Since I was applying for a .net profile, all questions were related to that only.
posted on 30 Aug 2024
Lifecycle hooks in Angular are methods that allow you to tap into the lifecycle of a component or directive.
Lifecycle hooks include ngOnInit, ngOnChanges, ngDoCheck, ngOnDestroy, etc.
ngOnInit is used to initialize data in a component after Angular has initialized the component.
ngOnChanges is called when the input properties of a component change.
ngDoCheck is used for detecting and acting on changes that Angular doesn't...
Functional interfaces provide a single abstract method for functional programming in Java.
Functional interfaces allow for lambda expressions and method references to be used as instances of the interface.
Interfaces with multiple abstract methods cannot be used for lambda expressions.
Example: java.util.function.Function is a functional interface with a single abstract method apply().
Java 8 introduced new features like lambda expressions, streams, functional interfaces, and default methods.
Lambda expressions: Allows writing concise code by enabling functional programming.
Streams: Provides a way to work with sequences of elements efficiently.
Functional interfaces: Interfaces with a single abstract method, used for lambda expressions.
Default methods: Allows adding new methods to interfaces without br
Yes, one functional interface can extend another interface in Java.
Functional interfaces can extend other functional interfaces in Java.
The child interface can have only one abstract method, but can inherit default methods from the parent interface.
Example: interface Parent { void method1(); } interface Child extends Parent { void method2(); }
posted on 5 Dec 2024
I applied via Approached by Company and was interviewed in Aug 2023. There were 3 interview rounds.
Hello tell me about yourself
posted on 23 Oct 2024
I applied via LinkedIn and was interviewed before Oct 2023. There was 1 interview round.
Use a hashmap to store character frequencies in a string.
Iterate through the string and update the hashmap with character frequencies.
Return the hashmap with character frequencies.
Webseries is a series of videos released online, while API is a set of rules and protocols for building and interacting with software applications.
Webseries is a collection of videos released online, often in episodes or seasons.
API (Application Programming Interface) is a set of rules and protocols that allows different software applications to communicate with each other.
Webseries are typically consumed by viewers fo...
posted on 9 May 2018
Yes, I am willing to work on weekends once in 6 weeks.
I understand the importance of meeting project deadlines and am willing to put in extra effort when necessary.
I have previous experience working on weekends and understand the need for occasional weekend work in the software development industry.
I am committed to delivering high-quality work and am willing to make sacrifices to ensure project success.
I believe in ma...
based on 3 reviews
Rating in categories
Java Developer
106
salaries
| ₹1.5 L/yr - ₹6.6 L/yr |
Quality Analyst
97
salaries
| ₹1.5 L/yr - ₹6.6 L/yr |
Senior Quality Analyst
60
salaries
| ₹3.5 L/yr - ₹9.1 L/yr |
Software Developer
53
salaries
| ₹2 L/yr - ₹8.3 L/yr |
System Administrator
34
salaries
| ₹1.5 L/yr - ₹5.8 L/yr |
TCS
Infosys
Wipro
HCLTech