i
Cognizant
Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards
Filter interviews by
I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.
Use Streams to remove duplicates and retain only even numbers from an array.
Convert the array to a stream using Arrays.stream()
Use distinct() to remove duplicates
Filter out odd numbers using filter()
Collect the result using collect(Collectors.toList())
Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.
Static methods belong to the class itself, not to any specific instance
Final keyword ensures that the method cannot be overridden in subclasses
Static methods are commonly used for utility methods that do not require access to instance variables
Example: Math class in Java has static methods like Ma
The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.
RestController is a specialized version of Controller used for RESTful web services
RestController eliminates the need for @ResponseBody annotation
Controller is used for traditional MVC controller functionality
RestController returns data directly without needing to go through a view resolve...
Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.
Microservices allow for easier scalability and maintenance of complex applications.
Each service in a microservices architecture can be developed, deployed, and scaled independently.
Microservices promote flexibility and agility in software development.
Examples of companies us...
I applied via Naukri.com and was interviewed in Jul 2024. There was 1 interview round.
What people are saying about Cognizant
I applied via Naukri.com and was interviewed in Aug 2022. There were 2 interview rounds.
Highest salary of employees
Cognizant interview questions for designations
I appeared for an interview before Jan 2023.
I applied via Campus Placement and was interviewed before Jun 2020. There were 3 interview rounds.
I applied via Company Website and was interviewed in Oct 2018. There was 0 interview round.
I applied via Naukri.com and was interviewed before Oct 2019. There were 3 interview rounds.
I applied via tcs and was interviewed before Jun 2020. There were 4 interview rounds.
I applied via Naukri.com and was interviewed before Jul 2020. There were 3 interview rounds.
Some of the top questions asked at the Cognizant Senior Java Developer interview -
based on 4 interviews
1 Interview rounds
based on 7 reviews
Rating in categories
Associate
72.2k
salaries
| ₹5.2 L/yr - ₹16 L/yr |
Programmer Analyst
55.6k
salaries
| ₹2.4 L/yr - ₹9.4 L/yr |
Senior Associate
49.5k
salaries
| ₹8.9 L/yr - ₹28 L/yr |
Senior Processing Executive
29k
salaries
| ₹1.8 L/yr - ₹9 L/yr |
Technical Lead
17.6k
salaries
| ₹5.9 L/yr - ₹25 L/yr |
TCS
Infosys
Wipro
Accenture