i
Capgemini
Filter interviews by
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
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 Tru...
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
What people are saying about Capgemini
OOP in Java is a programming paradigm based on objects, enabling modular, reusable, and organized code through four main principles.
Encapsulation: Bundling data and methods, e.g., using private variables and public getters/setters.
Inheritance: Creating new classes from existing ones, e.g., class Dog extends Animal.
Polymorphism: Allowing methods to do different things based on the object, e.g., method overriding.
Ab...
Polymorphism in Java allows methods to perform differently based on the object that invokes them, enhancing flexibility and reusability.
Types of polymorphism: Compile-time (method overloading) and runtime (method overriding).
Example of method overloading: Same method name with different parameters.
Example of method overriding: Subclass provides a specific implementation of a method already defined in its superclas...
SOLID principles are five design principles aimed at making software designs more understandable, flexible, and maintainable.
S - Single Responsibility Principle: A class should have one reason to change. Example: A class handling user data should not also handle logging.
O - Open/Closed Principle: Software entities should be open for extension but closed for modification. Example: Use interfaces to add new features...
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
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
Object-oriented programming concepts that help in organizing and structuring code.
Encapsulation: Bundling data and methods together in a class.
Inheritance: Acquiring properties and behaviors from a parent class.
Polymorphism: Ability to use a single interface to represent different forms.
Abstraction: Hiding complex implementation details and providing simplified interfaces.
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.
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...
I appeared for an interview in Mar 2025, where I was asked the following questions.
ArrayList and LinkedList are both implementations of the List interface in Java, differing in performance and memory usage.
ArrayList is backed by a dynamic array, while LinkedList uses a doubly linked list structure.
ArrayList provides faster random access (O(1)) due to its array nature, e.g., list.get(5).
LinkedList excels in insertions and deletions (O(1)) at both ends, e.g., list.addFirst(value).
ArrayList has a fixed ...
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
I applied via Naukri.com and was interviewed in Feb 2024. There was 1 interview round.
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.
The duration of Capgemini Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.
based on 17 interview experiences
Difficulty level
Duration
based on 110 reviews
Rating in categories
Bangalore / Bengaluru
5-8 Yrs
Not Disclosed
Consultant
58.8k
salaries
| ₹8.9 L/yr - ₹16.5 L/yr |
Associate Consultant
51.2k
salaries
| ₹4.5 L/yr - ₹10 L/yr |
Senior Consultant
50.2k
salaries
| ₹12.5 L/yr - ₹21 L/yr |
Senior Analyst
22.3k
salaries
| ₹3.1 L/yr - ₹7.6 L/yr |
Senior Software Engineer
21.6k
salaries
| ₹4.7 L/yr - ₹13 L/yr |
Wipro
Accenture
Cognizant
TCS