Premium Employer

i

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

Publicis Sapient Verified Tick

Compare button icon Compare button icon Compare
3.5

based on 3.1k Reviews

Filter interviews by

Publicis Sapient Senior Java Developer Interview Questions and Answers

Updated 28 Oct 2024

Publicis Sapient Senior Java Developer Interview Experiences

2 interviews found

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

I was interviewed in Sep 2024.

Round 1 - Assignment 

There were MCQ questions consists of different sections like Design Pattern,Java 8

Round 2 - Technical 

(2 Questions)

  • Q1. Questions related to Multithreading,Design patterns
  • Q2. Java coding questions
Round 3 - Technical 

(2 Questions)

  • Q1. Questions related to Multithreading
  • Q2. Java coding questions
Interview experience
4
Good
Difficulty level
Hard
Process Duration
2-4 weeks
Result
No response

I was interviewed in Aug 2024.

Round 1 - Assignment 

Complete Coding Test to write a complete application code.

Round 2 - Technical 

(2 Questions)

  • Q1. Definition based questions on jav
  • Q2. Micro service Design Patterns
  • Ans. 

    Microservice design patterns are architectural patterns used to design and implement microservices.

    • Service discovery and registration

    • Circuit breaker pattern

    • API gateway pattern

    • Event sourcing pattern

    • Saga pattern

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Get things more towards definition, and expect clear cut answers to be given in response.

Skills evaluated in this interview

Senior Java Developer Interview Questions Asked at Other Companies

asked in Amdocs
Q1. Delete Kth node From EndYou have been given a singly Linked List ... read more
asked in Amdocs
Q2. Intersection of Linked ListYou are given two Singly Linked List o ... read more
asked in Amdocs
Q3. Merge Two Sorted Linked ListsYou are given two sorted linked list ... read more
asked in Amdocs
Q4. LRU Cache ImplementationDesign and implement a data structure for ... read more
Q5. When to use abstract class and when should we use interfaces in J ... read more

Interview questions from similar companies

Interview experience
2
Poor
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected
Round 1 - Technical 

(1 Question)

  • Q1. Java 8, exception handling for method overriding, collections basic on HashMap , hash set, blocking queue. Transient volatile

Interview Preparation Tips

Topics to prepare for Virtusa Consulting Services Senior Java Developer interview:
  • Java 8
  • exception handling
  • coding questions
Interview preparation tips for other job seekers - The 1st technical round was fine but the 2nd one was overwhelming since 4-5 people came to interview with cameras on so please be prepared.
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Approached by Company and was interviewed in May 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Write a spring boot rest controller
  • Ans. 

    A Spring Boot REST controller is used to handle incoming HTTP requests and return appropriate responses.

    • Create a new Java class annotated with @RestController

    • Define request mapping annotations like @GetMapping, @PostMapping, @PutMapping, @DeleteMapping

    • Inject dependencies using @Autowired annotation

    • Return response using ResponseEntity or directly as method return value

  • Answered by AI
  • Q2. Write a code for get a reverse String having a comma separated value in java
  • Ans. 

    Code to reverse a comma separated string in Java

    • Split the input string by comma to get an array of strings

    • Iterate through the array in reverse order and append each element to a new string with a comma

    • Return the reversed comma separated string

  • Answered by AI

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Selected Selected
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 

(8 Questions)

  • Q1. DESCRIBE TYPES JVM MEMORY.
  • Ans. 

    JVM memory consists of Young Generation, Old Generation, and Permanent Generation.

    • Young Generation: where new objects are allocated and aged before moving to Old Generation.

    • Old Generation: where long-lived objects are stored.

    • Permanent Generation: where metadata such as class definitions and method information are stored.

  • Answered by AI
  • Q2. DIFFERENCE BETWEEN INTERFACE AND ABSTRACT CLASS.
  • Ans. 

    Interface is a contract with no implementation, while abstract class can have some implementation.

    • Interface cannot have any method implementation, while abstract class can have some method implementations.

    • A class can implement multiple interfaces, but can only extend one abstract class.

    • Interfaces are used to achieve multiple inheritance in Java.

    • Abstract classes can have constructors, while interfaces cannot.

    • Example: In...

  • Answered by AI
  • Q3. HOW TO CREATE OUR OWN IMMUTABLE CLASS? WHY IMMUTABLE CLASS
  • Ans. 

    Immutable classes in Java are classes whose objects cannot be modified once they are created.

    • Make the class final to prevent inheritance

    • Make all fields private and final

    • Do not provide setter methods for fields

    • Ensure that any mutable objects within the class are also immutable

  • Answered by AI
  • Q4. WHAT IS DIFFERENCE BETWEEN COMPOSITION AND AGGREGATION ?
  • Ans. 

    Composition is a strong relationship where the child object cannot exist independently of the parent object, while aggregation is a weak relationship where the child object can exist independently.

    • Composition is a 'has-a' relationship, where the child object is a part of the parent object.

    • Aggregation is a 'has-a' relationship, where the child object is not a part of the parent object.

    • In composition, the child object is...

  • Answered by AI
  • Q5. DIFFERENCE BETWEEN COMPARABLE AND COMPARATOR.
  • Ans. 

    Comparable is an interface used for natural ordering of objects, while Comparator is an interface used for custom ordering of objects.

    • Comparable interface is implemented by the class whose objects are to be compared, while Comparator interface is implemented by a separate class.

    • Comparable interface has a single method compareTo() for comparing objects, while Comparator interface has a single method compare() for custom...

  • Answered by AI
  • Q6. DIFFERENCE BETWEEN HASHMAP AND CONCURRENTHASH MAP
  • Ans. 

    HashMap is not thread-safe while ConcurrentHashMap is thread-safe.

    • HashMap is not thread-safe and can lead to ConcurrentModificationException if modified during iteration.

    • ConcurrentHashMap allows concurrent read and write operations without the need for external synchronization.

    • ConcurrentHashMap achieves thread-safety by dividing the map into segments, allowing multiple threads to operate on different segments concurren...

  • Answered by AI
  • Q7. DIFFERENCE BETWEEN COLLECTION AND STREAM
  • Ans. 

    Collections store data while streams process data in a functional way.

    • Collections are used to store and manage groups of objects, while streams are used to process collections of objects.

    • Collections are mutable, meaning you can add, remove, or modify elements, while streams are immutable and do not change the original data.

    • Streams use functional programming concepts like map, filter, and reduce to process data efficien...

  • Answered by AI
  • Q8. IN WHICH SITUATION WE USE @PRIMARY AND @ QUALIFIER ?
  • Ans. 

    Use @Primary to specify a primary bean when multiple beans of the same type are present. Use @Qualifier to specify a specific bean when multiple beans of the same type are present.

    • Use @Primary to indicate the primary bean to be used when multiple beans of the same type are present in the Spring application context.

    • Use @Qualifier along with @Autowired to specify a specific bean to be injected when multiple beans of the ...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Everyone should focus on core java and java 1.8.
Spring boot and microservices

Skills evaluated in this interview

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

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

Round 1 - Technical 

(3 Questions)

  • Q1. Oops, Thread, Spring boot and hibernate
  • Q2. JDBC vs HIBERNATE
  • Ans. 

    JDBC is a low-level API for connecting to databases in Java, while Hibernate is a high-level ORM framework that simplifies database interactions.

    • JDBC requires writing SQL queries manually, while Hibernate provides an object-oriented approach to database operations.

    • Hibernate handles mapping Java objects to database tables, while JDBC requires manual mapping.

    • Hibernate provides caching mechanisms for improved performance,...

  • Answered by AI
  • Q3. COLLECTION FRAMEWORK
Round 2 - Maneger Round 

(1 Question)

  • Q1. Project Related Questions

Skills evaluated in this interview

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

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

Round 1 - Coding Test 

Java8 stream api related problems to code in notepad

Interview Preparation Tips

Interview preparation tips for other job seekers - Study core java and java8 concepts
Practice java8 stream api coding
Spring Boot, JPA, MVC, Security and Test
Interview experience
3
Average
Difficulty level
Hard
Process Duration
Less than 2 weeks
Result
Not Selected

I was interviewed in Feb 2024.

Round 1 - Technical 

(1 Question)

  • Q1. Why string immutable
  • Ans. 

    String is immutable in Java to ensure security, thread safety, and optimization.

    • Immutable strings prevent accidental changes to sensitive data like passwords.

    • Immutable strings allow for safe sharing of data across multiple threads.

    • Immutable strings enable string pooling for memory optimization.

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Questions about spring boot annotations

Skills evaluated in this interview

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

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

Round 1 - Coding Test 

1. Basic Java
2. Code Snippet
3. Microservices

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed before May 2023. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Questions related to Multi threading, Exception Handling, Streams, Springboot annotations, Microservices were asked.

Publicis Sapient Interview FAQs

How many rounds are there in Publicis Sapient Senior Java Developer interview?
Publicis Sapient interview process usually has 2-3 rounds. The most common rounds in the Publicis Sapient interview process are Technical and Assignment.
How to prepare for Publicis Sapient Senior 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 Publicis Sapient. The most common topics and skills that interviewers at Publicis Sapient expect are Java, Multithreading, OOPS, RDBMS and Design Patterns.
What are the top questions asked in Publicis Sapient Senior Java Developer interview?

Some of the top questions asked at the Publicis Sapient Senior Java Developer interview -

  1. Micro service Design Patte...read more
  2. Questions related to Multithreading,Design patte...read more
  3. Questions related to Multithread...read more

Tell us how to improve this page.

Join Publicis Sapient Let's imagine the future together.
Publicis Sapient Senior Java Developer Salary
based on 29 salaries
₹9.5 L/yr - ₹37.4 L/yr
34% more than the average Senior Java Developer Salary in India
View more details

Publicis Sapient Senior Java Developer Reviews and Ratings

based on 1 review

4.0/5

Rating in categories

4.0

Skill development

4.0

Work-Life balance

4.0

Salary & Benefits

3.0

Job Security

4.0

Company culture

3.0

Promotions/Appraisal

3.0

Work Satisfaction

Explore 1 Review and Rating
Senior Associate
2.3k salaries
unlock blur

₹10.5 L/yr - ₹37.8 L/yr

Associate Technology L2
1.5k salaries
unlock blur

₹6.5 L/yr - ₹20 L/yr

Senior Associate Technology L1
1.2k salaries
unlock blur

₹10.3 L/yr - ₹32 L/yr

Senior Software Engineer
722 salaries
unlock blur

₹9.2 L/yr - ₹36 L/yr

Senior Associate 2
599 salaries
unlock blur

₹14.1 L/yr - ₹41 L/yr

Explore more salaries
Compare Publicis Sapient with

Accenture

3.9
Compare

IBM

4.1
Compare

TCS

3.7
Compare

Infosys

3.7
Compare

Calculate your in-hand salary

Confused about how your in-hand salary is calculated? Enter your annual salary (CTC) and get your in-hand salary
Did you find this page helpful?
Yes No
write
Share an Interview