Filter interviews by
Use two pointers approach to sort 0's to end of array of strings.
Initialize two pointers, one for iterating through the array and one for placing 0's at the end.
If current element is '0', swap it with the element at the second pointer and move the second pointer forward.
Hibernate many to many mapping allows for a relationship where multiple instances of one entity are related to multiple instances of another entity.
Use @ManyToMany annotation in Hibernate to establish many to many relationship between entities
Create a join table to store the relationship between the two entities
Specify the mapping details such as cascade type, fetch type, and join column details
Top trending discussions
posted on 20 Jan 2025
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
posted on 4 Sep 2024
I applied via LinkedIn and was interviewed in Aug 2024. There were 2 interview rounds.
I contributed by developing new features and fixing bugs. Faced challenges with integrating third-party APIs.
Developed new features such as user authentication and data visualization
Fixed bugs related to database queries and UI responsiveness
Challenges faced with integrating third-party APIs like payment gateways and social media platforms
I applied via Referral and was interviewed in Aug 2024. There were 2 interview rounds.
1 Assignment which you need to solve in front of the interviewer
In Spring Boot, we use Spring Data JPA to connect to the database.
Use @EnableJpaRepositories annotation in the main application class to enable JPA repositories
Define datasource properties in application.properties or application.yml file
Use @Entity annotation to define JPA entities
Use JpaRepository interface to perform CRUD operations on entities
Component Scan is a feature in Spring framework that automatically scans and registers Spring components in the application context.
Component Scan is used to automatically detect and register Spring components like @Component, @Service, @Repository, and @Controller.
It eliminates the need for manual configuration of bean definitions in the Spring configuration file.
Component Scan can be configured with base package(s) t...
throw is used to explicitly throw an exception in a method, while throws is used in method signature to declare the exceptions that can be thrown by the method.
throw is used within a method to throw an exception, while throws is used in the method signature to declare the exceptions that can be thrown by the method
throw is followed by an exception object, while throws is followed by the exception class names separated ...
I applied via Indeed and was interviewed in May 2024. There were 3 interview rounds.
This test was conducted in MSG browser and it has around 30 questions and around 3 to 5 are related to coding
Our topic of discussion is future of jobs and take the first initiative and don't go off topic and try to agree and add points with the fellow members
Experienced Java Developer with a passion for creating efficient and scalable solutions.
Over 5 years of experience in Java development
Strong knowledge of object-oriented programming principles
Proficient in Spring framework and Hibernate
Experience with RESTful web services and microservices architecture
Familiar with Agile development methodologies
Yes, Node.js is a JavaScript runtime built on Chrome's V8 JavaScript engine.
Node.js is used for server-side scripting and building scalable network applications.
It allows developers to use JavaScript for both client-side and server-side development.
Node.js has a large ecosystem of open-source libraries and frameworks like Express.js.
It is commonly used for building real-time web applications, APIs, and microservices.
I applied via Job Fair and was interviewed in Feb 2024. There was 1 interview round.
Java is a backend language, Javascript is a frontend language. Synchronization in Java ensures only one thread can access a resource at a time. JavaScript is single-threaded but can handle asynchronous operations using callbacks, promises, and async/await.
Java is a backend language used for server-side development, while JavaScript is a frontend language used for client-side scripting.
Synchronization in Java is a techn...
A Pojo class is a simple Java class that contains only private fields, public getters and setters, and no-arg constructor.
Create private fields for employee details like name, id, salary, etc.
Generate public getters and setters for each field.
Include a no-arg constructor in the class.
Example: public class Employee { private String name; private int id; public String getName() { return name; } public void setName(String...
To compare two objects with the same class, override the equals and hashCode methods in the class.
Override the equals method to compare the fields of the objects for equality.
Override the hashCode method to generate a unique hash code based on the object's fields.
Ensure that the equals and hashCode methods are consistent with each other.
Example: public class Person { private String name; private int age; }
JPA Repository provides inbuilt methods for common database operations in Spring applications.
JPA Repository provides methods like save(), findById(), findAll(), deleteById(), etc.
These methods help in performing CRUD operations on entities without writing custom queries.
For example, userRepository.save(user) saves a user entity to the database.
Using Java8 to filter vowels from an array of strings
Use Java8 stream and filter to iterate through each string in the array
Use a lambda expression to check if each character is a vowel
Collect the filtered strings into a new array
Interview experience
Senior Member Technical
216
salaries
| ₹6 L/yr - ₹20.7 L/yr |
Software Engineer
187
salaries
| ₹8 L/yr - ₹28 L/yr |
Consultant
179
salaries
| ₹11 L/yr - ₹30 L/yr |
Senior Software Engineer
178
salaries
| ₹13 L/yr - ₹38 L/yr |
Analyst
123
salaries
| ₹4 L/yr - ₹10.2 L/yr |
TCS
Infosys
Wipro
HCLTech