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
3.8

based on 49.1k Reviews

Proud winner of ABECA 2024 - AmbitionBox Employee Choice Awards

zig zag pattern zig zag pattern

Filter interviews by

Cognizant Java Spring Boot Developer Interview Questions and Answers

Updated 4 Jul 2024

Cognizant Java Spring Boot Developer Interview Experiences

1 interview found

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

I applied via campus placement at University of Petroleum and Energy Studies (UPES), Dehradun and was interviewed before Jul 2023. There were 2 interview rounds.

Round 1 - Aptitude Test 

It was an aptitude test with 60 minutes time.

Round 2 - Coding Test 

You have to solve 3 basic coding question

Interview Preparation Tips

Interview preparation tips for other job seekers - It was good to learn and grow as a fresher.

Interview questions from similar companies

Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Run length Encoding in Java Ex: input- AABBBCCCC ,output: 2A3B4C
  • Q2. Springboot annotation
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Jul 2024.

Round 1 - Technical 

(2 Questions)

  • Q1. Method overriding Method overloading Exception Java 8 Find the 2nd non repeating character from a string Find the sum of square of even numbers
  • Q2. About project
Round 2 - Behavioral 

(2 Questions)

  • Q1. About project many questions
  • Q2. Palindrome code
Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
-
Result
Not Selected

I applied via LinkedIn and was interviewed in Jul 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Tech questions on java
Round 2 - HR 

(1 Question)

  • Q1. About ourselves
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

I applied via LinkedIn and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Auto configuration?
  • Q2. Defrance between String and String Buffer?
  • Ans. 

    String is immutable, String Buffer is mutable.

    • String is immutable, meaning its value cannot be changed once it is created.

    • String Buffer is mutable, meaning its value can be changed after it is created.

    • String is faster and more memory efficient for simple string operations.

    • String Buffer is slower but more efficient for operations that require frequent modifications.

  • Answered by AI

Skills evaluated in this interview

Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. What is dependency injection?
  • Ans. 

    Dependency injection is a design pattern where the dependencies of a class are provided externally rather than being created within the class itself.

    • Dependency injection helps in achieving loose coupling between classes.

    • It allows for easier testing and maintenance of code.

    • There are three types of dependency injection: constructor injection, setter injection, and interface injection.

    • Example: In Spring Boot, dependencies

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare both theory and practical point of view.

Skills evaluated in this interview

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

I applied via Job Portal and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. What is singleton class? Inheritance, Polymorphism, Annotations in spring boot.
  • Ans. 

    A singleton class is a class that allows only one instance of itself to be created and provides a global point of access to that instance.

    • Singleton classes are often used in Spring Boot for managing resources such as database connections or thread pools.

    • In Spring Boot, singleton beans are created by default, meaning that only one instance of a bean is created and shared across the application.

    • To create a singleton bean...

  • Answered by AI
Round 2 - One-on-one 

(1 Question)

  • Q1. In this round I have been asked for my current roles and responsibilities in current organization, Questions on Design pattern, CI/CD pipeline.

Interview Preparation Tips

Interview preparation tips for other job seekers - My interview experience was good at infosys.

Skills evaluated in this interview

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

I was interviewed in Aug 2023.

Round 1 - Technical 

(1 Question)

  • Q1. Difference between http status 204 and 404
  • Ans. 

    HTTP status 204 means no content, while 404 means not found.

    • HTTP status 204 indicates a successful request, but with no content to return.

    • HTTP status 404 indicates that the requested resource could not be found on the server.

    • HTTP status 204 is often used for successful DELETE requests where no content needs to be returned.

    • HTTP status 404 is commonly seen when a user tries to access a non-existent URL.

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I applied via LinkedIn and was interviewed in May 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. What are java8 features? Why string is immutable? Difference between the checked exception and unchecked exception? Difference between throw and throws? Difference between inner class and anonymous cla...
  • Ans. 

    Answers to common Java Spring Boot Developer interview questions.

    • Java8 features include lambda expressions, functional interfaces, streams, and default methods.

    • String is immutable in Java to ensure thread safety and prevent unintended modifications.

    • Checked exceptions are checked at compile time, while unchecked exceptions are not. Example: IOException vs NullPointerException.

    • throw is used to explicitly throw an excepti...

  • Answered by AI
Round 2 - HR 

(1 Question)

  • Q1. Some behavioural questions and discussed about packages

Skills evaluated in this interview

Interview experience
2
Poor
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Feb 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Difference between springboot and Spring
  • Ans. 

    Spring is a framework for building Java applications, while Spring Boot is a tool for easily creating stand-alone, production-grade Spring-based applications.

    • Spring is a framework that provides comprehensive infrastructure support for developing Java applications.

    • Spring Boot is a tool that simplifies the process of creating and deploying Spring-based applications.

    • Spring Boot includes embedded servers, which makes it ea...

  • Answered by AI
  • Q2. What is stateless and stateful API
  • Ans. 

    Stateless API does not store client state on the server, while stateful API does.

    • Stateless API: Each request from client to server must contain all necessary information for the server to fulfill the request. No client state is stored on the server. Example: RESTful APIs.

    • Stateful API: The server stores client state, which can be accessed by subsequent requests. Example: HTTP sessions.

  • Answered by AI

Skills evaluated in this interview

Cognizant Interview FAQs

How many rounds are there in Cognizant Java Spring Boot Developer interview?
Cognizant interview process usually has 2 rounds. The most common rounds in the Cognizant interview process are Aptitude Test and Coding Test.

Tell us how to improve this page.

Cognizant Java Spring Boot Developer Interview Process

based on 1 interview

Interview experience

3
  
Average
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.7
 • 10.4k Interviews
Accenture Interview Questions
3.9
 • 8.1k Interviews
Infosys Interview Questions
3.6
 • 7.6k Interviews
Wipro Interview Questions
3.7
 • 5.6k Interviews
Capgemini Interview Questions
3.7
 • 4.8k Interviews
Tech Mahindra Interview Questions
3.5
 • 3.8k Interviews
HCLTech Interview Questions
3.5
 • 3.8k Interviews
Genpact Interview Questions
3.8
 • 3k Interviews
LTIMindtree Interview Questions
3.8
 • 3k Interviews
IBM Interview Questions
4.0
 • 2.4k Interviews
View all
Cognizant Java Spring Boot Developer Salary
based on 15 salaries
₹3.5 L/yr - ₹11.8 L/yr
45% more than the average Java Spring Boot Developer Salary in India
View more details

Cognizant Java Spring Boot Developer Reviews and Ratings

based on 2 reviews

1.0/5

Rating in categories

2.5

Skill development

1.0

Work-life balance

2.0

Salary

3.0

Job security

1.0

Company culture

1.0

Promotions

1.0

Work satisfaction

Explore 2 Reviews and Ratings
Associate
72.3k salaries
unlock blur

₹5.1 L/yr - ₹16 L/yr

Programmer Analyst
55.5k salaries
unlock blur

₹2.4 L/yr - ₹9.6 L/yr

Senior Associate
48.4k salaries
unlock blur

₹8.9 L/yr - ₹27.3 L/yr

Senior Processing Executive
28.8k salaries
unlock blur

₹1.8 L/yr - ₹9.3 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