i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Nov 2024. There was 1 interview round.
Design patterns commonly used in Microservices include Service Registry, Circuit Breaker, and API Gateway.
Service Registry: Used to register and discover services within a microservices architecture. Example: Netflix Eureka.
Circuit Breaker: Prevents cascading failures by temporarily halting requests to a service that is failing. Example: Netflix Hystrix.
API Gateway: Acts as a single entry point for clients to access mu
I applied via Naukri.com and was interviewed in May 2024. There were 2 interview rounds.
Optional class is a container object which may or may not contain a non-null value.
Optional class was introduced in Java 8 to handle NullPointerExceptions.
It is used to avoid null checks and make the code more readable.
Methods like isPresent(), ifPresent(), orElse() are commonly used with Optional class.
Multithreading involves multiple threads within a single process, while multitasking involves running multiple processes simultaneously.
Multithreading allows multiple threads to share the same memory space and resources, leading to more efficient resource utilization.
Multitasking involves running multiple processes concurrently, each with its own memory space and resources.
Example: A web server handling multiple client...
Equals method compares the content of objects, while == compares the memory addresses of objects.
Equals method is used to compare the content of objects, while == is used to compare the memory addresses of objects.
Equals method is overridden in the Object class to provide a meaningful comparison for objects.
Example: String str1 = new String("hello"); String str2 = new String("hello"); str1.equals(str2) will return true
Using Stream API to find characters in a string
Use the chars() method to convert the string to an IntStream of characters
Use filter() method to filter out specific characters
Use collect() method to collect the characters into an array of strings
What people are saying about Capgemini
Capgemini interview questions for designations
I applied via Approached by Company and was interviewed in Jul 2024. There was 1 interview round.
Company recruiter eached out to me. They conducted a virtual drive with other candidates. duration was 30 minutes in coderPad.
Q-Given a 2D array of strings, find the max avg grade. and round off the neaest floor integer
Get interview-ready with Top Capgemini Interview Questions
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
Singleton class in Java ensures only one instance of the class is created
Create a private static instance of the class
Private constructor to prevent instantiation
Provide a public static method to access the instance
SOLID principles are a set of five design principles that help developers create more maintainable and scalable software.
S - Single Responsibility Principle: A class should have only one reason to change.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification.
L - Liskov Substitution Principle: Objects of a superclass should be replaceable with objects of its subclasses with...
Code to remove duplicate numbers from a list in Java
Create a Set to store unique numbers
Iterate through the list and add each number to the Set
Convert the Set back to a list to get the list without duplicates
Exception handling in Spring allows for graceful handling of errors and exceptions in a Spring application.
Spring provides a centralized way to handle exceptions using @ControllerAdvice annotation.
You can define custom exception classes and handle them using @ExceptionHandler annotation.
Global exception handling can be configured using @ExceptionHandler and @ResponseStatus annotations.
OOPS concepts revolve around the principles of Encapsulation, Inheritance, Polymorphism, and Abstraction in object-oriented programming.
Encapsulation: Bundling data and methods that operate on the data into a single unit (class). Example: Class Car with properties like make, model, and methods like start(), stop().
Inheritance: Allows a class to inherit properties and behavior from another class. Example: Class Truck in...
Workflow in a Spring Boot application involves defining the sequence of steps and actions to be executed.
Define the sequence of steps using Spring's @Bean annotation
Use Spring's @Autowired annotation to inject dependencies
Utilize Spring's @Service annotation to mark classes as service components
Implement business logic in service classes
Use Spring's @RestController annotation to create RESTful APIs
The duration of Capgemini Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 16 interviews
3 Interview rounds
based on 85 reviews
Rating in categories
Consultant
55.1k
salaries
| ₹5.1 L/yr - ₹17.5 L/yr |
Associate Consultant
50.8k
salaries
| ₹3 L/yr - ₹11.8 L/yr |
Senior Consultant
46.1k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.8k
salaries
| ₹2 L/yr - ₹9 L/yr |
Senior Software Engineer
20.1k
salaries
| ₹3.5 L/yr - ₹12.5 L/yr |
Wipro
Accenture
Cognizant
TCS