Infosys
RupeeGO Interview Questions and Answers
Q1. what is @SpringbootAnnotation and what is difference between @Controller and @RestController.
SpringBootAnnotation is used to enable Spring Boot features in a Java application. @Controller is used for MVC pattern, @RestController is used for RESTful web services.
SpringBootAnnotation is used to enable Spring Boot features like auto-configuration, component scanning, etc.
@Controller is used for MVC pattern to handle web requests and return a view, while @RestController is used for RESTful web services to return data.
@Controller is a specialization of @Component annotati...read more
Q2. What is Stream API write the Stream API Code any code and lambda expression.
Stream API in Java provides a way to process collections of objects in a functional style.
Stream API allows for easy manipulation of collections using functional programming concepts like map, filter, and reduce.
Example: List
names = Arrays.asList("Alice", "Bob", "Charlie"); names.stream().filter(name -> name.startsWith("A")).forEach(System.out::println); Lambda expressions can be used with Stream API to define behavior to be applied to each element in the stream.
Example: List...read more
Q3. Explain Microservice, what is it, how it's work,
Microservices are small, independent, and loosely coupled services that work together to form a larger application.
Microservices are designed to be modular and scalable.
Each microservice performs a specific task and communicates with other microservices through APIs.
Microservices can be developed and deployed independently of each other.
They offer flexibility, fault tolerance, and faster time-to-market.
Examples of microservices include Netflix, Amazon, and Uber.
Q4. What are the 2 difference between c++ and java
C++ is a compiled language while Java is an interpreted language.
C++ is faster than Java due to its compilation process.
Java has automatic garbage collection while C++ requires manual memory management.
C++ supports multiple inheritance while Java only supports single inheritance.
Java has a built-in exception handling mechanism while C++ requires manual exception handling.
C++ allows for pointer arithmetic while Java does not.
Java has a larger standard library than C++.
C++ is o...read more
Q5. What is a DBMS,
DBMS stands for Database Management System. It is a software system that manages and organizes data in a database.
DBMS is used to create, modify, and delete databases and their objects.
It provides a way to store, retrieve, and manipulate data efficiently.
Examples of DBMS include MySQL, Oracle, SQL Server, and MongoDB.
Q6. Life cycle method of react
React has several life cycle methods that are called at different stages of a component's life cycle.
componentDidMount() is called after the component has been rendered to the DOM
componentDidUpdate() is called after the component's updates are flushed to the DOM
componentWillUnmount() is called before the component is removed from the DOM
Q7. Give the example of abstraction
Abstraction is the process of simplifying complex systems by focusing on essential details.
Abstraction allows developers to hide unnecessary details and only expose relevant information.
It helps in creating reusable code and improves code maintainability.
For example, in object-oriented programming, a class is an abstraction that encapsulates data and behavior.
Another example is the use of APIs, where developers interact with abstracted functions without knowing the underlying...read more
Q8. what is ref cursor
Ref cursor is a pointer to a result set in Oracle database.
Ref cursor is used to return query results from a stored procedure or function.
It allows the client application to fetch and process the result set.
Ref cursor is declared using the SYS_REFCURSOR type in Oracle PL/SQL.
Interview Process at RupeeGO
Top Application Developer Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month