Filter interviews by
To implement a refund module
Top trending discussions
I applied via Naukri.com and was interviewed in Apr 2023. There were 3 interview rounds.
My technology stack includes Java, Spring Boot, Hibernate, MySQL, and Angular.
Java for backend development
Spring Boot for creating RESTful APIs
Hibernate for ORM
MySQL for database management
Angular for frontend development
Experience with AWS and Docker
Program to find even and odd number using lambda expression
Create a list of numbers
Use lambda expression to filter even and odd numbers
Print the even and odd numbers
Sort employees by cities using Stream API
Create a list of employees with their respective cities
Use Stream API to sort the list by cities
Print the sorted list of employees
Memory leakage can be managed by identifying and fixing the root cause of the issue.
Use a profiler tool to identify the source of the memory leak
Analyze the code to find out if there are any objects that are not being used and can be removed
Ensure that all objects are properly disposed of after use
Use weak references instead of strong references where possible
Avoid creating unnecessary objects
Regularly monitor memory u
Spring Boot is a framework that simplifies the development of Java applications.
Provides a pre-configured environment for building production-grade applications
Uses embedded servers like Tomcat, Jetty, etc.
Supports auto-configuration, which eliminates the need for manual configuration
Offers a wide range of plugins and extensions for easy integration with other frameworks and tools
Controller is used for general MVC architecture while RestController is used for RESTful web services.
Controller is used for handling user requests and returning a view
RestController is used for handling RESTful web services and returning JSON/XML response
RestController is a specialized version of Controller
RestController is annotated with @RestController while Controller is annotated with @Controller
Example: @Controll...
We use ArrayList and HashMap in our current project.
ArrayList is used to store and manipulate a list of objects.
HashMap is used to store key-value pairs for efficient retrieval.
We also use HashSet for storing unique elements and LinkedList for efficient insertion and deletion.
The choice of collection depends on the specific use case and performance requirements.
Steps to create a Spring Boot application
Create a new Spring Boot project using Spring Initializr
Add necessary dependencies in pom.xml or build.gradle file
Create a main class with @SpringBootApplication annotation
Create necessary packages and classes for controllers, services, and repositories
Configure application properties in application.properties or application.yml file
Run the application using IDE or command line
To change embedded server in Spring Boot, modify the pom.xml file and application.properties file.
Update the pom.xml file with the desired server dependency
Update the application.properties file with the server port and context path
Restart the application to apply the changes
Hibernate is an implementation of JPA, which is a specification for ORM in Java.
JPA is a specification for ORM in Java, while Hibernate is an implementation of that specification.
Hibernate provides additional features beyond the JPA specification.
JPA is more portable across different ORM implementations, while Hibernate is more feature-rich.
Hibernate is often used in enterprise applications where complex mappings and c
No, lambda expressions can only be used with functional interfaces.
Lambda expressions are used to implement functional interfaces.
Functional interfaces have only one abstract method.
Lambda expressions provide a concise way to implement the abstract method of a functional interface.
If a lambda expression is used without a functional interface, it will result in a compilation error.
Microservices offer advantages such as scalability, flexibility, and easier maintenance.
Scalability: Microservices can be scaled independently, allowing for better resource utilization and cost savings.
Flexibility: Microservices can be developed and deployed independently, allowing for faster time-to-market and easier updates.
Easier maintenance: Microservices are smaller and more focused, making it easier to identify a...
I applied via Recruitment Consulltant and was interviewed in Oct 2021. There were 2 interview rounds.
Find out duplicate element
Find out duplicate element and count of duplicate
I applied via Company Website and was interviewed in Jul 2024. There was 1 interview round.
I m to get yourlife company to work.
It's like technical round & Hr round , way of language speaking.
To remove autoconfiguration in Spring Boot, exclude the specific autoconfiguration class from the application.
Exclude the autoconfiguration class using @EnableAutoConfiguration annotation with exclude attribute
Create a configuration class and exclude the specific autoconfiguration class using @EnableAutoConfiguration annotation
Use application.properties or application.yml to exclude autoconfiguration classes
Implementation of the Spring security
I applied via Company Website and was interviewed in Sep 2023. There were 2 interview rounds.
HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.
HashMap implements the Map interface in Java
It allows null keys and values
Keys in a HashMap must be unique
Example: HashMap
HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.
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 linked list is used to handle collisions.
HashMap uses the hashCode() method of keys to calc...
Throw is used to explicitly throw an exception in a method, while Throws is used to declare the exceptions that a method may throw.
Throw is used within a method to throw an exception explicitly.
Throws is used in the method signature to declare the exceptions that the method may throw.
Throw is followed by an instance of Throwable class, while Throws is followed by the exception class names separated by commas.
Example: t...
Arrays are fixed in size, while ArrayLists can dynamically resize. ArrayLists provide more flexibility and functionality.
Arrays have a fixed size, while ArrayLists can dynamically resize.
ArrayLists can easily add, remove, or modify elements, while arrays require manual shifting of elements.
Arrays use [] syntax for declaration and initialization, while ArrayLists use the ArrayList class from the Java Collections framewo
ArrayList is resizable array implementation, LinkedList is doubly linked list implementation, Vector is synchronized version of ArrayList.
ArrayList is faster for accessing elements, LinkedList is faster for adding/removing elements in middle.
ArrayList uses less memory than LinkedList due to contiguous memory allocation.
Vector is thread-safe but slower than ArrayList due to synchronization overhead.
Iterate through a hashmap using an iterator in Java
Create an iterator using the entrySet() method of the hashmap
Use a while loop to iterate through the hashmap entries
Access the key and value of each entry using the getKey() and getValue() methods
I applied via Referral and was interviewed in May 2023. There were 3 interview rounds.
Spring Boot provides a simplified way to create stand-alone, production-grade Spring-based Applications.
Rapid application development
Embedded server for easy deployment
Auto-configuration for setting up Spring projects quickly
Microservices support
Actuator for monitoring and managing applications
Microservices architecture in Spring is a way of designing software applications as a collection of loosely coupled services.
Microservices architecture breaks down a large application into smaller, independent services that can be developed, deployed, and scaled independently.
Spring Boot and Spring Cloud are commonly used frameworks for building microservices in Java.
Each microservice typically has its own database and...
I applied via Walk-in and was interviewed in Jun 2023. There were 5 interview rounds.
For freshers there is online aptitude test.
Coding round is done by interviewers on live screen sharing
My area of interest for new techniques includes cloud computing, machine learning, and microservices architecture.
Cloud computing: Interested in exploring AWS, Azure, and Google Cloud Platform for scalable and cost-effective solutions.
Machine learning: Excited about implementing algorithms for data analysis and predictive modeling.
Microservices architecture: Looking into breaking down monolithic applications into small...
Candidates joining Wipro should have a strong assurance and willingness to contribute to the company's success.
Candidates should demonstrate a clear understanding of Wipro's values and goals.
They should be enthusiastic about the opportunity to work at Wipro and contribute to its growth.
Candidates should be committed to their role and show a willingness to learn and adapt to new challenges.
They should have a positive at...
I have worked at multiple companies, gaining valuable experience and skills in Java development.
Worked at Company A for 2 years, gained experience in developing web applications using Java Spring framework
Switched to Company B for better growth opportunities and exposure to new technologies like microservices architecture
Currently looking for a new challenge in a Senior Java Developer role to further enhance my skills
based on 1 interview
Interview experience
TCS
Accenture
Wipro
Cognizant