Upload Button Icon Add office photos
Premium Employer

i

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

Deloitte 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

Deloitte Java Developer Interview Questions, Process, and Tips

Updated 16 Feb 2025

Top Deloitte Java Developer Interview Questions and Answers

  • Q1. Sort 0 and 1 Problem Statement Given an integer array ARR of size N containing only integers 0 and 1, implement a function to sort this array. The solution should scan t ...read more
  • Q2. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) of integers, your task is to convert it into a greater sum tree. In the greater sum tree, each node's va ...read more
  • Q3. Write a code for Iterate hashmap using iterator
View all 34 questions

Deloitte Java Developer Interview Experiences

21 interviews found

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

I applied via Company Website 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 

(6 Questions)

  • Q1. What is hashmap
  • Ans. 

    HashMap is a data structure in Java that stores key-value pairs and allows fast retrieval of values based on keys.

    • HashMap implements the Map interface in Java

    • It allows null keys and values

    • Keys in a HashMap must be unique

    • Example: HashMap map = new HashMap<>()

  • Answered by AI
  • Q2. Internal Working of hashmap
  • Ans. 

    HashMap is a data structure that stores key-value pairs and uses hashing to efficiently retrieve values.

    • HashMap internally uses an array of linked lists to store key-value pairs.

    • When a key-value pair is added, the key is hashed to determine the index in the array where it will be stored.

    • If multiple keys hash to the same index, a linked list is used to handle collisions.

    • HashMap uses the hashCode() method of keys to calc...

  • Answered by AI
  • Q3. Compare Throw vs Throws
  • Ans. 

    Throw is used to explicitly throw an exception in a method, while Throws is used to declare the exceptions that a method may throw.

    • Throw is used within a method to throw an exception explicitly.

    • Throws is used in the method signature to declare the exceptions that the method may throw.

    • Throw is followed by an instance of Throwable class, while Throws is followed by the exception class names separated by commas.

    • Example: t...

  • Answered by AI
  • Q4. Array vs Arraylist
  • Ans. 

    Arrays are fixed in size, while ArrayLists can dynamically resize. ArrayLists provide more flexibility and functionality.

    • Arrays have a fixed size, while ArrayLists can dynamically resize.

    • ArrayLists can easily add, remove, or modify elements, while arrays require manual shifting of elements.

    • Arrays use [] syntax for declaration and initialization, while ArrayLists use the ArrayList class from the Java Collections framewo

  • Answered by AI
  • Q5. Arraylist vs LinkedList/Vector
  • Ans. 

    ArrayList is resizable array implementation, LinkedList is doubly linked list implementation, Vector is synchronized version of ArrayList.

    • ArrayList is faster for accessing elements, LinkedList is faster for adding/removing elements in middle.

    • ArrayList uses less memory than LinkedList due to contiguous memory allocation.

    • Vector is thread-safe but slower than ArrayList due to synchronization overhead.

  • Answered by AI
  • Q6. Write a code for Iterate hashmap using iterator
  • Ans. 

    Iterate through a hashmap using an iterator in Java

    • Create an iterator using the entrySet() method of the hashmap

    • Use a while loop to iterate through the hashmap entries

    • Access the key and value of each entry using the getKey() and getValue() methods

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Deloitte Java Developer interview:
  • Core Java
  • Collections
  • Spring
  • Spring Boot
  • MySQL

Skills evaluated in this interview

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

I applied via Naukri.com and was interviewed in Dec 2024. There was 1 interview round.

Round 1 - Technical 

(8 Questions)

  • Q1. How much exp in docker?
  • Ans. 

    I have 2 years of experience working with Docker in various projects.

    • 2 years of experience working with Docker in various projects

    • Proficient in creating Docker containers, managing images, and orchestrating containers using Docker Compose

    • Familiar with Docker Swarm and Kubernetes for container orchestration

    • Experience in troubleshooting Docker-related issues and optimizing container performance

  • Answered by AI
  • Q2. Do you have exp in Kubernetes?
  • Ans. 

    Yes, I have experience in Kubernetes.

    • I have worked on deploying and managing applications on Kubernetes clusters.

    • I am familiar with creating and managing Kubernetes resources such as pods, deployments, services, and ingresses.

    • I have experience in using tools like kubectl and Helm for interacting with Kubernetes clusters.

    • I have implemented CI/CD pipelines using Kubernetes for automated deployment and scaling of applicat

  • Answered by AI
  • Q3. What is OOP?
  • Ans. 

    OOP stands for Object-Oriented Programming, a programming paradigm based on the concept of objects.

    • OOP focuses on creating objects that contain data and methods to manipulate that data.

    • Encapsulation, inheritance, and polymorphism are key principles of OOP.

    • Examples of OOP languages include Java, C++, and Python.

  • Answered by AI
  • Q4. Types of polymorphism
  • Ans. 

    Polymorphism in Java refers to the ability of a method to do different things based on the object it is acting upon.

    • Types of polymorphism in Java include method overloading and method overriding.

    • Method overloading is when multiple methods have the same name but different parameters.

    • Method overriding is when a subclass provides a specific implementation of a method that is already defined in its superclass.

  • Answered by AI
  • Q5. Thread in java
  • Ans. 

    Threads in Java allow multiple tasks to run concurrently within a single program.

    • Threads are lightweight sub-processes that share the same memory space.

    • They are used to improve performance by allowing tasks to run simultaneously.

    • Examples include creating a new thread using the Thread class or implementing the Runnable interface.

  • Answered by AI
  • Q6. Knowledge in which spring modules
  • Q7. What is spring profile
  • Ans. 

    Spring profile is a way to segregate parts of your application configuration and make it only available in certain environments.

    • Spring profiles allow you to define different configurations for different environments such as development, testing, and production.

    • You can use @Profile annotation to specify which beans should be loaded based on the active profile.

    • Profiles can be activated in various ways such as through app...

  • Answered by AI
  • Q8. What is @PreAuthorize and @PostAuthorize
  • Ans. 

    Annotations used in Spring Security to apply authorization rules before and after a method is called.

    • Used in Spring Security to define authorization rules

    • @PreAuthorize is used to apply authorization rules before a method is called

    • @PostAuthorize is used to apply authorization rules after a method is called

    • Both annotations support SpEL expressions for defining rules

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Deloitte Java Developer interview:
  • Basics in java
  • Spring security
  • Spring Boot
  • Docker
  • Cloud Computing

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 Infosys
Q4. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q5. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Not Selected

I was interviewed in Dec 2024.

Round 1 - Technical 

(6 Questions)

  • Q1. Explain Oops Concept, keywords in java, access specifiers
  • Q2. Diff between arraylist and linkedlist
  • Q3. Diff between set and list
  • Q4. Coding reverse a palindrome
  • Q5. How to create rest API
  • Q6. Java 8 features, write lambda function to add two numbers
Round 2 - Technical 

(2 Questions)

  • Q1. Why you want to change?
  • Q2. Coding question related to java 8
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Referral and was interviewed in Aug 2024. There were 3 interview rounds.

Round 1 - Technical 

(3 Questions)

  • Q1. Core Java, multithreading and foncurrency
  • Q2. Springboot , app
  • Q3. Working of hashset
Round 2 - Technical 

(2 Questions)

  • Q1. Project related questions
  • Q2. Scenario based questions
Round 3 - HR 

(1 Question)

  • Q1. Why do want to join Deloitte

Deloitte interview questions for designations

 Senior Java Developer

 (2)

 Junior Java Developer

 (1)

 Java Software Developer

 (1)

 Fullstack Java Developer

 (1)

 Java Microservice Developer

 (1)

 Java Developer Consultant

 (1)

 Java Consultant

 (2)

 Fullstack Java Application Developer

 (1)

Interview experience
5
Excellent
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - Technical 

(2 Questions)

  • Q1. Spring security
  • Q2. Solid design principles
Round 2 - Technical 

(2 Questions)

  • Q1. How authentication and authorization works in java
  • Q2. Design patterns in java

Get interview-ready with Top Deloitte Interview Questions

Java Developer Interview Questions & Answers

user image Sushant Khamkar

posted on 18 Nov 2024

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

(1 Question)

  • Q1. Oops, Collection, exception handling, java8
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Program on sorting
Round 2 - Technical 

(1 Question)

  • Q1. Multi-threading

Java Developer Interview Questions & Answers

user image Prakhar Rungta

posted on 19 Apr 2024

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

I applied via Approached by Company and was interviewed in Mar 2024. There were 3 interview rounds.

Round 1 - One-on-one 

(1 Question)

  • Q1. Regular core java, OOPS, Spring Boot questions. It was like a rapid-fire round.
Round 2 - One-on-one 

(3 Questions)

  • Q1. Coding question - find repeat elements in an array
  • Q2. Project related questions
  • Q3. Build a basic CRUD REST API endpoint
Round 3 - One-on-one 

(3 Questions)

  • Q1. Behavioral questions
  • Q2. Technical questions about SpringBoot and microservices
  • Q3. SQL question - third highest salary
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Microservices, Kafka, api gateway
Round 2 - Behavioral 

(1 Question)

  • Q1. Project explaination, technical questions
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 Jan 2024. There were 2 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Explain the architecture for a student management system in springboot
  • Ans. 

    A student management system in SpringBoot involves multiple layers like controller, service, repository, and database.

    • Use SpringBoot for creating RESTful APIs to handle student data

    • Implement controller layer to handle incoming HTTP requests and route them to appropriate service methods

    • Service layer contains business logic for managing student data

    • Repository layer interacts with the database to perform CRUD operations o...

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Questions on collections, spring bean lifecycle & oops concept

Skills evaluated in this interview

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

I applied via Naukri.com and was interviewed in Jun 2024. There was 1 interview round.

Round 1 - Technical 

(1 Question)

  • Q1. Difference between hashmap and hashtable

Deloitte Interview FAQs

How many rounds are there in Deloitte Java Developer interview?
Deloitte interview process usually has 1-2 rounds. The most common rounds in the Deloitte interview process are Technical, Resume Shortlist and One-on-one Round.
How to prepare for Deloitte 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 Deloitte. The most common topics and skills that interviewers at Deloitte expect are Java, SQL, Spring Boot, Spring and Core Java.
What are the top questions asked in Deloitte Java Developer interview?

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

  1. Write a code for Iterate hashmap using itera...read more
  2. Do you have exp in Kubernet...read more
  3. What is @PreAuthorize and @PostAuthor...read more
How long is the Deloitte Java Developer interview process?

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

Tell us how to improve this page.

Deloitte Java Developer Interview Process

based on 19 interviews

2 Interview rounds

  • Technical Round - 1
  • Technical Round - 2
View more

Java Developer Interview Questions from Similar Companies

View all
Deloitte Java Developer Salary
based on 259 salaries
₹3.9 L/yr - ₹14.9 L/yr
48% more than the average Java Developer Salary in India
View more details

Deloitte Java Developer Reviews and Ratings

based on 12 reviews

4.0/5

Rating in categories

3.4

Skill development

3.5

Work-life balance

4.0

Salary

4.0

Job security

3.7

Company culture

2.5

Promotions

3.4

Work satisfaction

Explore 12 Reviews and Ratings
Consultant
33.3k salaries
unlock blur

₹6.3 L/yr - ₹23.1 L/yr

Senior Consultant
20.9k salaries
unlock blur

₹11 L/yr - ₹42 L/yr

Analyst
14.2k salaries
unlock blur

₹3.8 L/yr - ₹12.6 L/yr

Assistant Manager
10k salaries
unlock blur

₹7.8 L/yr - ₹24 L/yr

Manager
7.1k salaries
unlock blur

₹15.8 L/yr - ₹52 L/yr

Explore more salaries
Compare Deloitte with

Accenture

3.8
Compare

PwC

3.4
Compare

Ernst & Young

3.4
Compare

Cognizant

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