i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Naukri.com and was interviewed in Aug 2024. There was 1 interview round.
Data class in Kotlin is used to represent a simple data container with automatically generated methods like equals(), hashCode(), toString(), and copy().
Data classes are declared using the 'data' keyword before the class keyword.
Properties of data classes are automatically generated component functions for destructuring declarations.
Data classes cannot be abstract, open, sealed, or inner.
Example: data class User(val na
ViewModel is a class that stores and manages UI-related data in a lifecycle-conscious way. MVVM is an architectural pattern that separates the UI from the business logic.
ViewModel is part of the Android Architecture Components and is used to store and manage UI-related data in a lifecycle-conscious way.
ViewModel survives configuration changes such as screen rotations and retains its data.
MVVM stands for Model-View-View...
I applied via Referral and was interviewed in Apr 2024. There were 2 interview rounds.
I applied via Job Portal and was interviewed before May 2023. There were 2 interview rounds.
What people are saying about Capgemini
Capgemini interview questions for designations
I applied via Recruitment Consultant and was interviewed before May 2020. There were 3 interview rounds.
Design a solution with Java Spring boot, Spring Data, DB Integration
Create a Spring Boot project with Spring Data dependency
Configure the database connection in application.properties
Create entity classes with JPA annotations
Create repository interfaces extending JpaRepository
Use repository methods in service classes
Expose REST endpoints using @RestController
Handle exceptions using @ControllerAdvice
Secure endpoints usi...
I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.
Abstraction is the process of hiding complex implementation details and exposing only the necessary information.
Abstraction helps in reducing complexity and increasing efficiency.
It allows us to focus on the essential features of an object or system.
Abstraction can be achieved through abstract classes, interfaces, and encapsulation.
For example, a car can be abstracted as a vehicle with certain properties and methods.
Ab...
Hiding implementation means keeping the internal details of a class or function hidden from the outside world.
It is a fundamental principle of object-oriented programming.
It helps in achieving encapsulation and abstraction.
It prevents the user from accessing the internal workings of a class or function.
Examples include private variables and methods in a class.
It allows for easier maintenance and modification of code.
It...
I appeared for an interview before Sep 2016.
I appeared for an interview in Mar 2017.
Oops concepts in Java
Encapsulation - hiding implementation details
Inheritance - reusing code and creating parent-child relationships
Polymorphism - multiple forms of a method or object
Abstraction - creating abstract classes and interfaces
Example: Encapsulation - using private variables and public methods
Example: Inheritance - creating a subclass that inherits from a superclass
Example: Polymorphism - using method overloa...
Altering columns in databases involves modifying the structure of a table by adding, deleting or modifying columns.
Use ALTER TABLE statement to modify columns
Add new columns using ADD COLUMN
Delete columns using DROP COLUMN
Modify columns using MODIFY COLUMN
Changing column data type may result in data loss
Reversing a number in Java
Convert the number to a string
Use StringBuilder to reverse the string
Convert the reversed string back to a number
To extract words from a line in Java, split the line using whitespace as delimiter.
Use the split() method of String class
Pass the whitespace regex as argument to split() method
Iterate over the resulting array to get individual words
I appeared for an interview in Jul 2017.
based on 3 interviews
1 Interview rounds
based on 6 reviews
Rating in categories
Consultant
55.5k
salaries
| ₹5.1 L/yr - ₹18 L/yr |
Associate Consultant
50.7k
salaries
| ₹3 L/yr - ₹11.9 L/yr |
Senior Consultant
46.7k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
21k
salaries
| ₹2.2 L/yr - ₹9 L/yr |
Senior Software Engineer
20.4k
salaries
| ₹3.5 L/yr - ₹12.8 L/yr |
Wipro
Accenture
Cognizant
TCS