i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
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
What people are saying about Capgemini
Capgemini interview questions for designations
I applied via Job portal and was interviewed in Mar 2024. There was 1 interview round.
Functional interface in Java is an interface with only one abstract method.
Functional interfaces can have multiple default or static methods.
Examples include Runnable, Callable, and Comparator interfaces.
Lambda expressions can be used to implement functional interfaces concisely.
Get interview-ready with Top Capgemini Interview Questions
Object-oriented programming concepts in Java
Oops stands for Object-oriented programming
It involves concepts like classes, objects, inheritance, polymorphism, encapsulation
Java is an object-oriented programming language
Example: class Car { String color; void start() { //code here } }
Polymorphism in Java allows objects of different classes to be treated as objects of a common superclass.
Polymorphism is achieved through method overriding and method overloading.
Method overriding allows a subclass to provide a specific implementation of a method that is already provided by its superclass.
Method overloading allows multiple methods with the same name but different parameters to coexist in the same class...
Java datatypes are used to define the type of data that a variable can hold.
Java has two categories of datatypes: primitive and non-primitive
Primitive datatypes include int, double, char, boolean, etc.
Non-primitive datatypes include classes, interfaces, arrays, etc.
Each datatype has a specific size and range of values it can hold
SQL data types define the type of data that can be stored in a database table columns.
SQL data types include numeric, character, date/time, and binary types
Examples: INT, VARCHAR, DATE, BLOB
Data types determine the storage format, constraints, and operations that can be performed on the data
I applied via Job Portal and was interviewed in Feb 2024. There was 1 interview round.
I applied via Recruitment Consulltant and was interviewed in Feb 2024. There was 1 interview round.
Count the number of occurrences of a specific string literal within a given string.
Iterate through the string and check for occurrences of the specified string literal.
Use the indexOf method to find the position of the specified string literal within the string.
Keep track of the count of occurrences found.
Actuator is a Spring Boot module that provides production-ready features to help monitor and manage your application.
Actuator endpoints provide information about your application such as health, metrics, and environment details.
It allows you to interact with your application through HTTP endpoints to monitor and manage it.
Actuator can be used to check the health of your application, gather metrics, view thread dump, an...
I applied via LinkedIn and was interviewed in Sep 2023. There was 1 interview round.
Java 8 features include Qualifier annotation, Comparable vs Comparator, HTTP Methods, and @Autowired annotation in Spring Boot.
Qualifier annotation in Spring is used to distinguish between beans of the same type.
Comparable interface is used to define the natural ordering of objects, while Comparator interface is used for custom sorting logic.
HTTP Methods like GET, POST, PUT, DELETE are used to perform different operati...
Linked list and array list are both data structures in Java, but they have key differences in terms of implementation and performance.
Linked list uses nodes with pointers to the next node, while array list uses a dynamic array to store elements.
Linked list allows for efficient insertion and deletion of elements, while array list is faster for random access.
HashMap is a data structure that stores key-value pairs and use...
Normalization is the process of organizing data in a database to reduce redundancy and improve data integrity.
Normalization helps in reducing data redundancy by breaking down data into smaller, manageable parts.
It improves data integrity by ensuring that each piece of data is stored in only one place.
Normalization involves dividing a database into multiple tables and defining relationships between them.
There are differ...
I applied via Naukri.com and was interviewed in May 2024. There was 1 interview round.
Some of the top questions asked at the Capgemini Java Developer interview -
The duration of Capgemini Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 58 interviews
4 Interview rounds
based on 85 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹17.5 L/yr |
Associate Consultant
50.8k
salaries
| ₹3 L/yr - ₹10 L/yr |
Senior Consultant
46.1k
salaries
| ₹7.5 L/yr - ₹24.5 L/yr |
Senior Analyst
20.6k
salaries
| ₹2 L/yr - ₹7.5 L/yr |
Senior Software Engineer
20.2k
salaries
| ₹3.5 L/yr - ₹12.1 L/yr |
Wipro
Accenture
Cognizant
TCS