Add office photos
Employer?
Claim Account for FREE

Luxoft

3.7
based on 609 Reviews
Filter interviews by

Hasman Software Solutions Interview Questions and Answers

Updated 23 Nov 2024
Popular Designations

Q1. Principal of garbage collection

Ans.

Garbage collection is an automatic memory management process that frees up memory occupied by objects that are no longer in use.

  • Garbage collection is performed by the JVM.

  • It helps prevent memory leaks and improves application performance.

  • There are different types of garbage collectors such as serial, parallel, CMS, and G1.

  • Garbage collection can cause pauses in the application, which can be minimized by tuning the JVM parameters.

  • It is important to write efficient and optimized...read more

Add your answer

Q2. What is Hash collusion

Ans.

Hash collusion is when two different inputs produce the same hash value.

  • It is a security vulnerability in hash functions.

  • Attackers can exploit this vulnerability to create a collision attack.

  • For example, an attacker can create a malicious file with the same hash value as a legitimate file to bypass security checks.

Add your answer

Q3. What is saga design pattern

Ans.

Saga design pattern is used to manage long-lived transactions between microservices.

  • It ensures that all services involved in a transaction are either committed or rolled back together.

  • It uses a sequence of local transactions to achieve global consistency.

  • It can be implemented using either choreography or orchestration.

  • Example: A customer places an order, which involves multiple microservices such as inventory, payment, and shipping. Saga pattern ensures that if any of these s...read more

Add your answer

Q4. Sessions in hibernate

Ans.

Sessions in Hibernate are used to manage the interaction between the application and the database.

  • A session is a single-threaded object that represents a connection between the application and the database.

  • It is responsible for managing the persistence of objects, executing queries, and providing transactional support.

  • A session can be obtained from a session factory and should be closed when no longer needed.

  • Example: Session session = sessionFactory.openSession();

  • Example: ses...read more

Add your answer
Discover Hasman Software Solutions interview dos and don'ts from real experiences

Q5. Micro services design pattern

Ans.

Microservices design pattern is an architectural approach to building software applications as a collection of small, independent services.

  • Microservices are independently deployable and scalable

  • Each microservice focuses on a specific business capability

  • Communication between microservices is done through APIs

  • Microservices can be developed using different programming languages and technologies

  • Examples of companies using microservices include Netflix, Amazon, and Uber

Add your answer

Q6. CondurentSkipListMap, how does it work

Ans.

ConcurrentSkipListMap is a concurrent, sorted map implementation in Java.

  • ConcurrentSkipListMap is a concurrent version of SkipListMap, which is a sorted map implementation based on skip list data structure.

  • It allows multiple threads to access and modify the map concurrently.

  • It provides logarithmic time complexity for most operations, making it efficient for concurrent access.

  • Example: ConcurrentSkipListMap map = new ConcurrentSkipListMap<>();

Add your answer

Q7. How annotation works?

Ans.

Annotations in Java provide metadata about a program that can be used by the compiler or at runtime.

  • Annotations start with the @ symbol.

  • Annotations can be used to provide information to the compiler or to runtime environments.

  • Annotations can be used to define custom metadata for classes, methods, fields, etc.

  • Annotations can also be used for code generation, documentation, and validation.

  • Examples of annotations in Java include @Override, @Deprecated, and @SuppressWarnings.

Add your answer

More about working at Luxoft

#1 Best IT/ITES Company - 2022
HQ - Zug, Switzerland, Switzerland
Contribute & help others!
Write a review
Share interview
Contribute salary
Add office photos
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Senior Java Developer Interview Questions from Similar Companies

3.9
 • 19 Interview Questions
3.8
 • 18 Interview Questions
3.7
 • 16 Interview Questions
3.8
 • 15 Interview Questions
3.8
 • 13 Interview Questions
3.7
 • 10 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
70 Lakh+

Reviews

5 Lakh+

Interviews

4 Crore+

Salaries

1 Cr+

Users/Month

Contribute to help millions
Get AmbitionBox app

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