Upload Button Icon Add office photos
Engaged Employer

i

This company page is being actively managed by Cognizant Team. If you also belong to the team, you can get access from here

Cognizant Verified Tick

Compare button icon Compare button icon Compare

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Java Developer Interview Questions, Process, and Tips

Updated 20 Dec 2024

Top Cognizant Java Developer Interview Questions and Answers

  • Q1. What array list and linkedlist difference,how hashmap internally working,what is synchronised and it's type,what is difference between abstract and interface,class loadin ...read more
  • Q2. write program fibonacci series, write program using boolean, write class cast exceptn, singleton design pattern(like you have to jvm one have jdk 1.7 and other have jdk 1 ...read more
  • Q3. Difference between List and Set? which one to prefer in which requirements and why ?
View all 21 questions

Cognizant Java Developer Interview Experiences

26 interviews found

Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Nov 2024.

Round 1 - One-on-one 

(2 Questions)

  • Q1. Prime number program
  • Ans. 

    A program to check if a given number is prime or not.

    • Create a function to check if a number is prime by iterating from 2 to the square root of the number.

    • If the number is divisible by any number other than 1 and itself, it is not prime.

    • Handle edge cases like 0, 1, and negative numbers separately.

  • Answered by AI
  • Q2. 3rd highest salary employee
  • Ans. 

    To find the 3rd highest salary employee, we can use a SQL query with the 'LIMIT' and 'OFFSET' keywords.

    • Use a SQL query to select distinct salaries in descending order

    • Use 'LIMIT 1 OFFSET 2' to get the 3rd highest salary

    • Join this result with the employee table to get the employee details

  • Answered by AI
Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Dec 2023. There were 3 interview rounds.

Round 1 - Coding Test 

1 round in fresher Java coding test

Round 2 - Aptitude Test 

Second Java aptitude test

Round 3 - Technical 

(2 Questions)

  • Q1. What JDK,JRE,JVM
  • Q2. What is inheritance

Java Developer Interview Questions Asked at Other Companies

asked in Deloitte
Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size ... read more
Q2. Parent class has run() and walk() . Parent run() - calls walk() C ... read more
asked in LTIMindtree
Q3. Longest Harmonious Subsequence Problem Statement Determine the lo ... read more
asked in Deloitte
Q4. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
asked in Infosys
Q5. Which should be preferred between String and StringBuffer when th ... read more
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. What is Static Method?
  • Ans. 

    Static method is a method that belongs to the class itself, not to any specific instance of the class.

    • Static methods can be called without creating an instance of the class.

    • They are commonly used for utility methods that do not require access to instance variables.

    • Static methods are declared using the 'static' keyword.

    • Example: Math.max() is a static method in the Math class that returns the maximum of two numbers.

  • Answered by AI
  • Q2. LAMDA EXPRESSION?

Interview Preparation Tips

Interview preparation tips for other job seekers - Good
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
-

I applied via Naukri.com and was interviewed in Sep 2023. There were 2 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Keep your resume crisp and to the point. A recruiter looks at your resume for an average of 6 seconds, make sure to leave the best impression.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. How to make class immutable?
  • Ans. 

    To make a class immutable in Java, you can follow certain guidelines to ensure that its state cannot be changed once it is created.

    • Make the class final so that it cannot be extended.

    • Make all fields private and final to prevent modification.

    • Do not provide setter methods for the fields.

    • If the fields are mutable objects, return copies of them instead of the original objects in getter methods.

  • Answered by AI
  • Q2. What is idempotency? Solid ? Design patterns used in projects
  • Ans. 

    Idempotency is the property of an operation where multiple identical requests have the same effect as a single request.

    • Idempotency ensures that even if the same request is made multiple times, the result will be the same.

    • In RESTful APIs, using HTTP methods like GET and PUT can help achieve idempotency.

    • Design patterns like Command Pattern and State Pattern can be used to ensure idempotency in projects.

  • Answered by AI

Skills evaluated in this interview

Cognizant interview questions for designations

 Senior Java Developer

 (6)

 Junior Java Developer

 (1)

 Core Java Developer

 (1)

 Fullstack Java Developer

 (3)

 Java Full Stack Developer

 (4)

 Java Spring Boot Developer

 (1)

 Java Technical Lead

 (1)

 Software Engineer and Java Developer

 (1)

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-

I applied via campus placement at St Thomas College, Thrissur

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Don’t add your photo or details such as gender, age, and address in your resume. These details do not add any value.
View all tips
Round 2 - Aptitude Test 

Plain apti test, easy, LRDI, Quant, VARC

Round 3 - Technical 

(2 Questions)

  • Q1. Questions on software, resume based, easy
  • Q2. Tell me about yourself

Get interview-ready with Top Cognizant Interview Questions

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Properly align and format text in your resume. A recruiter will have to spend more time reading poorly aligned text, leading to high chances of rejection.
View all tips
Round 2 - Technical 

(1 Question)

  • Q1. About java, spring and spring boot
Round 3 - HR 

(1 Question)

  • Q1. Why your switching the organisation

Java Developer Jobs at Cognizant

View all
Interview experience
3
Average
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Naukri.com and was interviewed in Jun 2023. There were 3 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Double-check your resume for any spelling mistakes. The recruiter may consider spelling mistakes as careless behavior or poor communication skills.
View all tips
Round 2 - Aptitude Test 

Aptitude test questions java questions

Round 3 - HR 

(5 Questions)

  • Q1. Self introduction project questions
  • Q2. Salary deteils quotations
  • Q3. Family details and other details
  • Q4. Self introductions quations
  • Q5. Salari details quations

Interview Preparation Tips

Interview preparation tips for other job seekers - yes

Java Developer interview

user image AG Tech

posted on 16 Nov 2021

Interview experience
4
Good
Difficulty level
Moderate
Process Duration
-
Result
-

I applied via Campus Placement

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Do not use an unprofessional email address such as cool_boy@email.com. It shows a lack of professionalism by the candidate.
View all tips
Round 2 - Technical 

(2 Questions)

  • Q1. What is java and python
  • Ans. 

    Java and Python are programming languages used for developing software applications.

    • Java is an object-oriented language used for developing desktop, web, and mobile applications.

    • Python is a high-level language used for web development, data analysis, artificial intelligence, and scientific computing.

    • Java is compiled and runs on a virtual machine, while Python is interpreted.

    • Java is statically typed, while Python is dyn...

  • Answered by AI
  • Q2. Explain oops concepts
  • Ans. 

    OOPs concepts are the fundamental principles of object-oriented programming.

    • Encapsulation: Hiding the implementation details of an object and exposing only the necessary information.

    • Inheritance: Creating new classes from existing ones, inheriting their properties and methods.

    • Polymorphism: The ability of objects to take on many forms, allowing them to behave differently in different situations.

    • Abstraction: Focusing on t...

  • Answered by AI
Round 3 - HR 

(3 Questions)

  • Q1. Self introduction
  • Q2. Short term goal
  • Q3. Long term goal explain
  • Ans. 

    To become a technical lead and contribute to the development of innovative solutions.

    • I aim to continuously improve my technical skills and knowledge.

    • I want to gain experience in leading a team and managing projects.

    • I aspire to work on challenging projects that require creative problem-solving.

    • I hope to make a positive impact on the company and its customers through my work.

    • Example: I want to lead a team in developing a...

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Selected Selected

I applied via Company Website and was interviewed in May 2023. There were 4 interview rounds.

Round 1 - Resume Shortlist 
Pro Tip by AmbitionBox:
Be truthful in your resume. It is very easy to catch false or lies during the interview by asking basic questions.
View all tips
Round 2 - Aptitude Test 

Aptitude test for fresher arithmetic,reasoning, English

Round 3 - Coding Test 

Java and core java coding basics for fresher

Round 4 - HR 

(3 Questions)

  • Q1. Asking fir self introduced
  • Q2. Why should we hire you
  • Q3. I have coding skills theory knowledge

Cognizant Interview FAQs

How many rounds are there in Cognizant Java Developer interview?
Cognizant interview process usually has 2-3 rounds. The most common rounds in the Cognizant interview process are Technical, Resume Shortlist and HR.
How to prepare for Cognizant Java Developer interview?
Go through your CV in detail and study all the technologies mentioned in your CV. Prepare at least two technologies or languages in depth if you are appearing for a technical interview at Cognizant. The most common topics and skills that interviewers at Cognizant expect are Java, Microservices, Spring Boot, Hibernate and AWS.
What are the top questions asked in Cognizant Java Developer interview?

Some of the top questions asked at the Cognizant Java Developer interview -

  1. What array list and linkedlist difference,how hashmap internally working,what i...read more
  2. write program fibonacci series, write program using boolean, write class cast e...read more
  3. Difference between List and Set? which one to prefer in which requirements and ...read more
How long is the Cognizant Java Developer interview process?

The duration of Cognizant Java Developer interview process can vary, but typically it takes about less than 2 weeks to complete.

Tell us how to improve this page.

Cognizant Java Developer Interview Process

based on 23 interviews

3 Interview rounds

  • Resume Shortlist Round
  • Aptitude Test Round
  • HR Round
View more
Cognizant Java Developer Salary
based on 1.5k salaries
₹2.4 L/yr - ₹14.5 L/yr
42% more than the average Java Developer Salary in India
View more details

Cognizant Java Developer Reviews and Ratings

based on 142 reviews

4.0/5

Rating in categories

3.9

Skill development

3.9

Work-life balance

3.7

Salary

3.7

Job security

3.8

Company culture

3.5

Promotions

3.7

Work satisfaction

Explore 142 Reviews and Ratings
Java Developer - Cognizant Hiring...!!

Chennai

6-10 Yrs

Not Disclosed

Cognizant Hiring Java Developers

Chennai,

Coimbatore

+1

5-10 Yrs

Not Disclosed

Java Developer

Hyderabad / Secunderabad,

Chennai

+1

5-10 Yrs

Not Disclosed

Explore more jobs
Associate
72.2k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹2.4 L/yr - ₹9.7 L/yr

Senior Associate
48.6k salaries
unlock blur

₹9 L/yr - ₹27.3 L/yr

Senior Processing Executive
28.9k salaries
unlock blur

₹1.8 L/yr - ₹9 L/yr

Technical Lead
17.6k salaries
unlock blur

₹5.9 L/yr - ₹24.8 L/yr

Explore more salaries
Compare Cognizant with

TCS

3.7
Compare

Infosys

3.6
Compare

Wipro

3.7
Compare

Accenture

3.8
Compare
Did you find this page helpful?
Yes No
write
Share an Interview