Add office photos
Employer?
Claim Account for FREE

RBL Bank

3.6
based on 2.9k Reviews
Video summary
Filter interviews by

10+ Jayem Automotives Interview Questions and Answers

Updated 21 Apr 2024
Popular Designations

Q1. Why spring has came into picture? What are the features it provides

Ans.

Spring came into picture to simplify Java development by providing features like dependency injection, aspect-oriented programming, and transaction management.

  • Spring provides dependency injection which helps in managing object dependencies and promotes loose coupling.

  • It supports aspect-oriented programming for separating cross-cutting concerns like logging, security, and transaction management.

  • Spring offers robust transaction management capabilities for handling database tran...read more

Add your answer

Q2. Which is best choice arraylist or linkedlist when space is not an issue?

Ans.

ArrayList is a better choice when space is not an issue due to its constant time access, while LinkedList has better performance for insertions and deletions.

  • ArrayList is better for random access as it provides constant time access to elements based on index.

  • LinkedList is better for insertions and deletions as it does not require shifting elements in memory.

  • Example: If you need to frequently add or remove elements in a collection, LinkedList might be a better choice even if s...read more

Add your answer

Q3. What is one keyword which can be used so that value of variable cannot be changed

Ans.

final keyword can be used to make a variable's value constant and unchangeable

  • Use 'final' keyword before the variable declaration

  • Once a variable is declared as final, its value cannot be changed

  • Example: final int num = 10; // value of num cannot be modified

View 1 answer

Q4. Tell the approach to print the unique elements from a arraylist

Ans.

Use a HashSet to store unique elements from the arraylist

  • Create a HashSet and add all elements from the arraylist to it

  • Since HashSet does not allow duplicates, only unique elements will be stored

  • Convert the HashSet back to an arraylist if needed

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

Q5. When can a conflict arise while working with git and github

Ans.

Conflicts can arise in git and github when multiple developers make changes to the same file or branch simultaneously.

  • Conflicts can occur when two developers make changes to the same line of code in a file.

  • Conflicts can also arise when merging branches that have diverged and contain different changes.

  • Communication among team members is crucial to avoid conflicts and resolve them efficiently.

  • Using pull requests and code reviews can help catch potential conflicts before they oc...read more

Add your answer

Q6. Have you heard about deadlock ?

Ans.

Yes, deadlock is a situation in concurrent programming where two or more threads are waiting for each other to release resources, causing them to be stuck indefinitely.

  • Deadlock occurs when two or more threads are blocked forever, waiting for each other to release resources.

  • It can happen when multiple threads have locks on different resources and each thread is trying to acquire a lock held by another thread.

  • Example: Thread A holds lock 1 and waits for lock 2, while thread B h...read more

Add your answer

Q7. Do you know about javafx jsp

Ans.

JavaFX is a software platform for creating and delivering desktop applications, while JSP is a technology used for creating dynamic web pages.

  • JavaFX is used for creating rich internet applications with a modern look and feel.

  • JSP is used for developing dynamic web pages with Java code embedded in HTML.

  • JavaFX and JSP can be used together to create interactive web applications.

Add your answer

Q8. What is collection framework

Ans.

Collection framework in Java is a set of classes and interfaces that provide a way to store and manipulate groups of objects.

  • It provides a way to store, retrieve, and manipulate groups of objects.

  • It includes interfaces like List, Set, and Map, and classes like ArrayList, HashSet, and HashMap.

  • Collections framework simplifies the process of working with collections of objects in Java.

Add your answer

Q9. What is polymorphism

Ans.

Polymorphism is the ability of a single function or method to operate on different types of data.

  • Polymorphism allows objects of different classes to be treated as objects of a common superclass.

  • There are two types of polymorphism: compile-time (method overloading) and runtime (method overriding).

  • Example: A superclass Animal with methods eat() and sleep(). Subclasses Dog and Cat override these methods with their own implementations.

Add your answer

Q10. Difference between map and set

Ans.

Map is a collection of key-value pairs where keys are unique, while Set is a collection of unique elements with no duplicates.

  • Map allows duplicate values but keys must be unique

  • Set does not allow duplicate elements

  • Map is accessed using keys, while Set is accessed using elements

  • Example: Map - {1: 'apple', 2: 'banana'}, Set - {'apple', 'banana'}

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

Interview Process at Jayem Automotives

based on 1 interviews
Interview experience
4.0
Good
View more
Interview Tips & Stories
Ace your next interview with expert advice and inspiring stories

Top Java Developer Interview Questions from Similar Companies

3.4
 • 20 Interview Questions
4.0
 • 16 Interview Questions
2.6
 • 14 Interview Questions
3.7
 • 11 Interview Questions
4.5
 • 11 Interview Questions
3.5
 • 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

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