Add office photos
Engaged Employer

LTIMindtree

3.8
based on 21.1k Reviews
Filter interviews by

Saawariya Enterprise Interview Questions and Answers

Updated 8 Aug 2024
Popular Designations

Q1. Explain microservice architecture and how do we implement that using spring boot

Ans.

Microservice architecture is a design approach where an application is composed of small, independent services that communicate over well-defined APIs.

  • Break down the application into smaller, loosely coupled services that can be developed, deployed, and scaled independently.

  • Each service focuses on a specific business capability and communicates with other services through APIs.

  • Spring Boot provides a convenient framework for building microservices by offering features like emb...read more

Add your answer

Q2. What is Functional interface and way of implementing it

Ans.

Functional interface is an interface with only one abstract method, can be implemented using lambda expressions.

  • Functional interface has only one abstract method

  • Can be implemented using lambda expressions

  • Used in Java to achieve functional programming

Add your answer

Q3. Explain the features of java 8 and java 11

Ans.

Java 8 introduced features like lambda expressions, streams, and default methods. Java 11 introduced features like local-variable syntax for lambda parameters and HTTP client API.

  • Java 8: Lambda expressions allow functional programming in Java. Streams provide a way to work with collections. Default methods allow adding new methods to interfaces without breaking existing implementations.

  • Java 11: Local-variable syntax for lambda parameters simplifies code readability. HTTP clie...read more

Add your answer

Q4. Explain concurrency, serialization

Ans.

Concurrency is the ability of a system to handle multiple tasks simultaneously, while serialization is the process of converting an object into a stream of bytes to store or transmit.

  • Concurrency allows multiple tasks to run in parallel, improving performance and responsiveness.

  • Serialization is used to save the state of an object or send it over a network.

  • Concurrency can be achieved through multithreading or multiprocessing.

  • Serialization can be done using libraries like JSON, ...read more

Add your answer
Discover Saawariya Enterprise interview dos and don'ts from real experiences

Q5. Internal working principle of hashmap.

Ans.

HashMap is a data structure that stores key-value pairs and uses hashing to quickly retrieve values based on keys.

  • HashMap internally uses an array of linked lists to store key-value pairs.

  • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

  • If multiple keys hash to the same index, a collision occurs and the key-value pairs are stored in a linked list at that index.

  • To retrieve a value, the key is hashed again to find the...read more

Add your answer

Q6. Annotations on spring boot

Ans.

Annotations in Spring Boot are used to simplify the configuration and development of Spring applications.

  • Annotations provide metadata about the class, method, or field to the Spring framework.

  • They eliminate the need for XML configuration in Spring applications.

  • Examples of annotations in Spring Boot include @RestController, @Autowired, @RequestMapping, @Component, etc.

Add your answer

Q7. what is thread and how can create thread

Ans.

A thread is a lightweight process that can run concurrently with other threads within the same process.

  • Threads allow for parallel execution of tasks within a single process.

  • Threads share the same memory space and resources of the process that created them.

  • Threads can be created in programming languages like Java, C++, and Python using built-in libraries or frameworks.

  • For example, in Java, you can create a thread by extending the Thread class or implementing the Runnable inter...read more

Add your answer

Q8. how hash-map work internally

Ans.

Hash-map uses a hash function to map keys to values for efficient retrieval.

  • Hash-map uses a hash function to compute an index where the value is stored

  • Collisions can occur when multiple keys hash to the same index

  • Hash-map typically uses linked lists or binary trees to handle collisions

  • Hash-map provides constant time complexity O(1) for insertion, deletion, and retrieval

Add your answer
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos

Interview Process at Saawariya Enterprise

based on 9 interviews
3 Interview rounds
Resume Shortlist Round
Technical Round - 1
Technical Round - 2
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Software Engineer Interview Questions from Similar Companies

3.4
 • 25 Interview Questions
3.4
 • 23 Interview Questions
4.0
 • 21 Interview Questions
3.7
 • 15 Interview Questions
3.8
 • 15 Interview Questions
3.7
 • 11 Interview Questions
View all
Share an Interview
Stay ahead in your career. Get AmbitionBox app
qr-code
Helping over 1 Crore job seekers every month in choosing their right fit company
75 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions

Made with ❤️ in India. Trademarks belong to their respective owners. All rights reserved © 2024 Info Edge (India) Ltd.

Follow us
  • Youtube
  • Instagram
  • LinkedIn
  • Facebook
  • Twitter