Add office photos
Employer?
Claim Account for FREE

GyanMatrix Technologies

3.4
based on 22 Reviews
Filter interviews by

Interview Questions and Answers

Updated 6 Sep 2024

Q1. Which is better? Runnable or thread class?

Ans.

Both have their own advantages and disadvantages depending on the use case.

  • Runnable is preferred for code reusability and flexibility.

  • Thread class is preferred for more control over threads and better performance.

  • Choosing between the two depends on the specific requirements of the project.

  • For example, if the project requires multiple threads to share a single object, Runnable is a better choice.

  • On the other hand, if the project requires fine-grained control over thread execut...read more

Add your answer

Q2. How do maintain session in spring

Ans.

Session can be maintained in Spring using HttpSession and Spring Session

  • HttpSession can be used to store session attributes

  • Spring Session provides additional features like distributed sessions

  • Session can be configured using annotations or XML configuration

  • Session timeout can be set using server configuration or programmatic approach

Add your answer

Q3. How do you deploy on server?

Ans.

Deployment on server involves building, testing and transferring code to a production environment.

  • Create a build of the code

  • Test the build in a staging environment

  • Transfer the build to the production server

  • Configure the server to run the new build

  • Monitor the deployment for any issues

Add your answer

Q4. Explain multi threading?

Ans.

Multi threading is the ability of a program to perform multiple tasks concurrently.

  • It allows for better utilization of CPU resources

  • It can improve the responsiveness of an application

  • It can also introduce synchronization issues and race conditions

  • Examples include web servers handling multiple requests simultaneously and video games rendering graphics while processing user input

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

Q5. Types of storages in jvm?

Ans.

There are two types of storages in JVM: Heap and Stack.

  • Heap is used for dynamic memory allocation and is shared among all threads.

  • Stack is used for static memory allocation and is private to each thread.

  • Objects are stored in the heap while local variables and method calls are stored in the stack.

  • Heap is larger than stack and can cause OutOfMemoryError if not managed properly.

Add your answer

Q6. What is Smoke testing

Ans.

Smoke testing is a preliminary testing to check if the basic functionalities of a software application are working fine.

  • Performed at the beginning of the testing process

  • Focuses on testing the critical functionalities

  • Not exhaustive testing, just a quick check to see if the application can be further tested

  • Helps in identifying major issues early in the development cycle

Add your answer

Q7. What is sanity testing

Ans.

Sanity testing is a quick and focused testing to ensure that the most critical functionalities of a software application are working correctly after changes.

  • Sanity testing is a subset of regression testing.

  • It is usually performed after a minor change in the code or functionality.

  • The main goal of sanity testing is to verify that the new code changes have not adversely affected the existing functionalities.

  • It is not exhaustive and does not cover all possible test scenarios.

  • Exam...read more

Add your answer
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 Interview Questions from Similar Companies

3.8
 • 2.9k Interview Questions
3.9
 • 675 Interview Questions
3.9
 • 169 Interview Questions
4.2
 • 135 Interview Questions
4.3
 • 130 Interview Questions
View all
Top GyanMatrix Technologies Interview Questions And Answers
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