Filter interviews by
I applied via Naukri.com and was interviewed in Mar 2024. There were 2 interview rounds.
Spring Boot is a framework that simplifies the development of Java applications by providing pre-configured settings and tools.
Spring Boot follows a convention over configuration approach, reducing the need for manual configuration.
It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy standalone applications.
Spring Boot uses annotations to simplify the configuration of beans, controller...
Some important Spring Boot annotations include @SpringBootApplication, @RestController, @Autowired, @RequestMapping, @ComponentScan.
@SpringBootApplication - Used to mark the main class of a Spring Boot application.
@RestController - Used to define RESTful web services.
@Autowired - Used for automatic dependency injection.
@RequestMapping - Used to map web requests to specific handler methods.
@ComponentScan - Used to speci...
Dependency Injection in Spring Boot allows for loosely coupled components by injecting dependencies at runtime.
Dependency Injection is a design pattern where objects are passed their dependencies rather than creating them internally.
In Spring Boot, dependencies are injected using @Autowired annotation.
By using Dependency Injection, components can be easily swapped out and tested independently.
Example: @Autowired privat...
Profiling in Spring Boot involves analyzing the performance of an application to identify bottlenecks and optimize its efficiency.
Profiling tools like VisualVM, YourKit, and JProfiler can be used to analyze the performance of Spring Boot applications.
Profiling helps in identifying memory leaks, CPU usage, and other performance issues in the application.
By analyzing the profiling results, developers can optimize the cod...
Top trending discussions
I applied via Approached by Company and was interviewed in Dec 2024. There was 1 interview round.
I applied via Company Website and was interviewed in Nov 2024. There were 2 interview rounds.
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
I have 2 years of experience working with Docker in various projects.
2 years of experience working with Docker in various projects
Proficient in creating Docker containers, managing images, and orchestrating containers using Docker Compose
Familiar with Docker Swarm and Kubernetes for container orchestration
Experience in troubleshooting Docker-related issues and optimizing container performance
Yes, I have experience in Kubernetes.
I have worked on deploying and managing applications on Kubernetes clusters.
I am familiar with creating and managing Kubernetes resources such as pods, deployments, services, and ingresses.
I have experience in using tools like kubectl and Helm for interacting with Kubernetes clusters.
I have implemented CI/CD pipelines using Kubernetes for automated deployment and scaling of applicat
OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.
OOP focuses on creating objects that contain data and methods to manipulate that data.
Encapsulation, inheritance, and polymorphism are key principles of OOP.
Examples of OOP languages include Java, C++, and Python.
Polymorphism in Java refers to the ability of a method to do different things based on the object it is acting upon.
Types of polymorphism in Java include method overloading and method overriding.
Method overloading is when multiple methods have the same name but different parameters.
Method overriding is when a subclass provides a specific implementation of a method that is already defined in its superclass.
Threads in Java allow multiple tasks to run concurrently within a single program.
Threads are lightweight sub-processes that share the same memory space.
They are used to improve performance by allowing tasks to run simultaneously.
Examples include creating a new thread using the Thread class or implementing the Runnable interface.
Spring profile is a way to segregate parts of your application configuration and make it only available in certain environments.
Spring profiles allow you to define different configurations for different environments such as development, testing, and production.
You can use @Profile annotation to specify which beans should be loaded based on the active profile.
Profiles can be activated in various ways such as through app...
Annotations used in Spring Security to apply authorization rules before and after a method is called.
Used in Spring Security to define authorization rules
@PreAuthorize is used to apply authorization rules before a method is called
@PostAuthorize is used to apply authorization rules after a method is called
Both annotations support SpEL expressions for defining rules
I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.
Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.
Java 8 introduced lambda expressions for functional programming.
Java 11 added local-variable syntax for lambda parameters to simplify code.
Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.
Count the number of words in a given string.
Split the string by spaces and count the number of resulting elements.
Handle edge cases like multiple spaces or empty strings.
Consider punctuation marks as part of words unless specified otherwise.
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.
HashMap is non-synchronized, meaning it is not thread-safe, while HashTable is synchronized and thread-safe.
HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.
HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul
I applied via Recruitment Consulltant and was interviewed in Dec 2024. There was 1 interview round.
I applied via Job Fair and was interviewed in Oct 2024. There were 4 interview rounds.
Onlin test consist pf easy numerical questions
Easy questions not so difficult
Yes, I am willing to work in any location for the right opportunity.
I am open to relocating for the right job opportunity
I am flexible and adaptable to new environments
I believe working in different locations can provide valuable experiences and growth opportunities
I was interviewed in Oct 2024.
To find the second highest salary in SQL, use the 'SELECT MAX(salary) FROM employees WHERE salary < (SELECT MAX(salary) FROM employees);'
Use the MAX() function to find the highest salary in the table
Use a subquery to find the maximum salary that is less than the highest salary
Combine both queries to get the second highest salary
ACID properties are a set of properties that guarantee database transactions are processed reliably.
ACID stands for Atomicity, Consistency, Isolation, Durability
Atomicity ensures that all operations in a transaction are completed successfully or none at all
Consistency ensures that the database remains in a consistent state before and after the transaction
Isolation ensures that transactions are executed independently of...
I applied via Company Website and was interviewed in Oct 2024. There were 3 interview rounds.
First round is quit easy
2 coding question based on dsa
SDLC stands for Software Development Life Cycle, which consists of different phases from planning to maintenance.
1. Planning phase involves defining project scope, requirements, and creating a project plan.
2. Analysis phase focuses on gathering and analyzing requirements to create a detailed system design.
3. Design phase involves creating a high-level design, detailed design, and architecture for the software.
4. Implem...
The 4 pillars of data structure are arrays, linked lists, stacks, and queues.
Arrays: Data structure that stores a collection of elements with a fixed size.
Linked Lists: Data structure where each element points to the next element in the sequence.
Stacks: Data structure that follows the Last In First Out (LIFO) principle.
Queues: Data structure that follows the First In First Out (FIFO) principle.
TCS
Accenture
Wipro
Cognizant