ConvergeSol
Nirvana Solutions Interview Questions and Answers
Q1. What are interfaces give real life example to use them?
Interfaces define a contract for classes to implement. They are used to achieve abstraction and polymorphism.
Interfaces allow for loose coupling between classes
They provide a way to achieve multiple inheritance in Java
Real-life example: USB port - different devices can be plugged into the same port because they all adhere to the USB interface
Another example: Remote control - different TV brands can be controlled by the same remote because they all implement the same interface
Q2. On what technology and version you worked?
I have worked on various technologies including Java, Python, and JavaScript. I have experience with versions ranging from Java 8 to Java 14.
Worked on Java 8, 11, and 14 for developing enterprise applications
Developed web applications using Python 3 and Flask framework
Used JavaScript and React for building user interfaces
Experience with version control systems like Git and SVN
Q3. What is authorization and authentication?
Authorization is the process of granting access to specific resources, while authentication is the process of verifying the identity of a user.
Authentication confirms the identity of a user through credentials such as username and password, biometrics, or tokens.
Authorization determines what actions a user can perform on a system or resource based on their authenticated identity.
Examples of authentication include logging into a website or using a fingerprint scanner to unlock...read more
Q4. What is Dependency injection?
Dependency injection is a design pattern that allows objects to receive dependencies from an external source rather than creating them themselves.
Dependency injection helps to decouple the code and makes it more testable and maintainable.
It allows for easier swapping of dependencies without changing the code.
There are three types of dependency injection: constructor injection, setter injection, and interface injection.
Example: Instead of creating a database connection object ...read more
Q5. What is jwt token?
JWT token is a JSON web token used for authentication and authorization purposes.
JWT token is a compact, URL-safe means of representing claims to be transferred between two parties.
It is digitally signed and can be verified by the recipient to ensure that the claims contained in the token are genuine.
It consists of three parts: header, payload, and signature.
JWT token is commonly used in web applications for user authentication and authorization.
Some popular libraries for imp...read more
Q6. Explain Middle ware in Dotnet core and how to work?
Middleware in Dotnet Core is a component that sits between the client and the server to handle requests and responses.
Middleware is a pipeline of components that can process requests and responses in Dotnet Core applications.
Middleware can be used for logging, authentication, authorization, error handling, and more.
Middleware is added to the application pipeline using the 'UseMiddleware' method in the 'Configure' method of the 'Startup' class.
Each middleware component in the ...read more
Q7. What is SOLID Principal?
SOLID is a set of five principles for writing well-structured and maintainable object-oriented code.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Objects should be open for extension but closed for modification.
L - Liskov Substitution Principle: Subtypes must be substitutable for their base types.
I - Interface Segregation Principle: Clients should not be forced to depend on interfaces they do not use.
D - Dependen...read more
Top Interview Questions from Similar Companies
Reviews
Interviews
Salaries
Users/Month