i
Capgemini
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I was interviewed in Dec 2024.
I applied via Approached by Company and was interviewed in Aug 2024. There were 2 interview rounds.
Find 2nd max element in an array of strings.
Sort the array in descending order
Return the element at index 1
Sort strings based on city names.
Use Arrays.sort() method with a custom Comparator to sort strings based on city names.
Create a Comparator that compares the city names of two strings.
Example: String[] cities = {"New York", "London", "Paris"};
Example: Arrays.sort(cities, (a, b) -> a.compareTo(b));
I addressed team conflicts by promoting open communication, active listening, and facilitating constructive discussions.
Encouraged team members to express their concerns and viewpoints openly
Acted as a mediator to resolve conflicts and find common ground
Implemented team-building activities to improve collaboration and trust
Provided constructive feedback and guidance to help team members work through conflicts
I applied via Referral and was interviewed in Mar 2024. There was 1 interview round.
Using static in main function allows it to be called without creating an instance of the class.
Static in main function allows it to be called directly without creating an object of the class.
Static methods can be called using the class name itself, without creating an object.
Example: public static void main(String[] args) { }
posted on 25 Mar 2024
I applied via Naukri.com and was interviewed before Mar 2023. There were 3 interview rounds.
Data Structures, logical questions
I applied via Recruitment Consultant and was interviewed in Oct 2021. There were 4 interview rounds.
Controller Advice is a mechanism in Spring MVC to handle exceptions globally.
It is used to handle exceptions across multiple controllers.
It can be used to add common data to the model.
It can be used to customize the response status code and message.
It can be used to redirect to a custom error page.
2 way SSL is needed for mutual authentication between client and server.
2 way SSL ensures that both client and server are authenticated
It provides an extra layer of security by verifying the identity of both parties
It is commonly used in financial transactions, healthcare, and government applications
Decorator pattern adds behavior to an object dynamically without affecting its existing behavior.
It is a structural pattern
It involves a component interface, concrete component, decorator interface, and concrete decorator
Decorators wrap around components to add new behavior
It allows for flexible and dynamic behavior modification
Example: Java I/O streams use decorator pattern
Grouping by in streams in Java
Use the 'groupingBy' method from the 'Collectors' class
Pass a lambda expression to specify the grouping criteria
The result is a Map with the grouping criteria as keys and the grouped elements as values
Good coding questions related array and string
posted on 24 Jun 2024
I applied via Recruitment Consulltant and was interviewed in May 2024. There was 1 interview round.
1. Basic Java
2. Code Snippet
3. Microservices
I applied via Referral and was interviewed in Aug 2023. There were 4 interview rounds.
They aptitude test to the team leader the question 1there answer to be fresher or beniger
Code is very basic they are you company provide to be company profit
I applied via Company Website and was interviewed in Nov 2022. There were 3 interview rounds.
Sql java basics of html css Javascript
based on 3 reviews
Rating in categories
Consultant
55.2k
salaries
| ₹5.2 L/yr - ₹18 L/yr |
Associate Consultant
52k
salaries
| ₹2.9 L/yr - ₹11.8 L/yr |
Senior Consultant
46k
salaries
| ₹7.5 L/yr - ₹25 L/yr |
Senior Analyst
20.6k
salaries
| ₹2 L/yr - ₹9.2 L/yr |
Senior Software Engineer
19.9k
salaries
| ₹3.5 L/yr - ₹12.5 L/yr |
Wipro
Accenture
Cognizant
TCS