IBM
10+ Savantis Solutions India Interview Questions and Answers
Q1. How spring boot is difference from spring?
Spring Boot is a framework that simplifies the configuration and deployment of Spring-based applications.
Spring Boot provides a pre-configured environment for building and running Spring applications.
It eliminates the need for XML configuration files and reduces boilerplate code.
It includes an embedded web server and supports various data sources and messaging systems.
Example: Spring Boot can be used to quickly create a RESTful web service with minimal configuration.
Example: ...read more
Q2. How to create your own immutable class?
Creating an immutable class involves making the class and its fields final and not providing any setters.
Make the class final so it cannot be extended
Make all fields final so they cannot be changed
Do not provide any setters, only getters
If mutable objects are used in the class, return copies of them in getters
Q3. What is CoreData ? Describe with proper example ?
CoreData is a framework provided by Apple for managing the model layer of an application.
CoreData is used to manage the model layer objects in an iOS application.
It provides an object graph management and persistence framework.
CoreData can be used to store data locally on the device.
It supports relationships between entities and data validation.
Example: Storing user information like name, email, and address in a CoreData database.
Q4. What is @qualifier annotation ?
The @Qualifier annotation is used in Spring to resolve ambiguity when multiple beans of the same type are present.
It is used to specify which bean should be autowired when multiple beans of the same type are present
It can be used with constructor injection, setter injection, and field injection
It is commonly used in conjunction with @Autowired annotation
Example: @Qualifier("myBean")
Q5. What is jdbctemplate ?
jdbctemplate is a class in Spring Framework that simplifies the use of JDBC while handling exceptions and boilerplate code.
It is used to perform database operations such as querying, updating, and deleting data.
It provides methods for executing SQL statements and mapping results to Java objects.
It handles exceptions and releases resources automatically.
Example: jdbcTemplate.queryForObject("SELECT COUNT(*) FROM users", Integer.class);
Q6. What are marker interfaces?
Marker interfaces are interfaces with no methods, used to mark a class as having a certain property or behavior.
Marker interfaces are used to provide metadata about a class.
They are used to indicate that a class implements a certain behavior or has a certain property.
Examples include Serializable, Cloneable, and Remote interfaces in Java.
Marker interfaces can also be used to trigger specific behavior in frameworks or libraries.
They are often used in combination with reflectio...read more
Q7. . Net core difference,DI in. Net core
.NET Core is a cross-platform framework while DI is a built-in dependency injection system in .NET Core.
DI in .NET Core is a built-in dependency injection system that allows for loosely coupled code.
.NET Core is a cross-platform framework that can run on Windows, Linux, and macOS.
DI in .NET Core can be configured using various methods such as constructor injection, property injection, and method injection.
In .NET Core, DI is used to manage the dependencies of an application a...read more
Q8. What is multi-threading ?
Multi-threading is the ability of a CPU to execute multiple threads concurrently, allowing for better performance and responsiveness.
Allows multiple tasks to run concurrently on a single CPU
Improves performance by utilizing idle CPU time
Can lead to synchronization issues and race conditions
Examples: web servers handling multiple requests simultaneously, video games rendering graphics while processing user input
Q9. Hashmap internal working .
Hashmap is a data structure that stores key-value pairs and uses hashing to retrieve values quickly.
Hashmap uses an array to store the key-value pairs
The key is hashed to generate an index in the array
If two keys hash to the same index, a linked list is used to store the values
Hashmap provides constant time complexity for insertion, deletion, and retrieval
Java's Hashmap implementation uses a load factor to determine when to resize the array
Q10. Difference between angular and react
Angular is a complete framework while React is a library for building UI components.
Angular has a steeper learning curve and requires more setup time.
React is more flexible and can be easily integrated into existing projects.
Angular uses two-way data binding while React uses one-way data flow.
Angular has a larger file size while React is lightweight.
Angular has a built-in dependency injection system while React does not.
Examples of companies using Angular include Google and M...read more
Q11. AWS resources worked on
Worked on various AWS resources including EC2, S3, RDS, Lambda, and CloudFormation.
EC2 - Elastic Compute Cloud for scalable computing capacity
S3 - Simple Storage Service for object storage
RDS - Relational Database Service for managed databases
Lambda - Serverless computing service for running code without provisioning servers
CloudFormation - Infrastructure as Code service for automating resource provisioning
Q12. Design pattern in c#
Design patterns are reusable solutions to common software problems.
Design patterns help in creating flexible, reusable, and maintainable code.
Some common design patterns in C# are Singleton, Factory, Observer, and Decorator.
Singleton pattern ensures that only one instance of a class is created.
Factory pattern provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created.
Observer pattern defines a one-to-man...read more
More about working at IBM
Interview Process at Savantis Solutions India
Reviews
Interviews
Salaries
Users/Month