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
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
Not Selected

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

Round 1 - Technical 

(2 Questions)

  • Q1. Java Collections
  • Q2. OOPs Concepts , Multi threading
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

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
-
Result
Not Selected

I applied via Naukri.com and was interviewed in Oct 2023. There was 1 interview round.

Round 1 - Technical 

(3 Questions)

  • Q1. What are java solid principles
  • Ans. 

    Java SOLID principles are a set of design principles that help in creating maintainable and scalable software.

    • S - Single Responsibility Principle: A class should have only one reason to change.

    • O - Open/Closed Principle: Software entities should be open for extension but closed for modification.

    • L - Liskov Substitution Principle: Subtypes must be substitutable for their base types.

    • I - Interface Segregation Principle: Cli...

  • Answered by AI
  • Q2. How does Hashmap works internally
  • Ans. 

    HashMap is an implementation of Map interface that stores key-value pairs using a hash table.

    • HashMap uses hashing to store and retrieve elements.

    • It uses an array of linked lists to handle collisions.

    • The hash code of the key is used to determine the index of the array.

    • If multiple keys have the same hash code, they are stored in the same linked list.

    • When retrieving a value, the hash code is used to find the correct linke...

  • Answered by AI
  • Q3. Covered questions on java, spring, react

Skills evaluated in this interview

Java Developer Interview Questions & Answers

user image pankaj patidar

posted on 12 Jun 2024

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

(2 Questions)

  • Q1. Spring Boot basics
  • Q2. SQL basics and query

Deloitte interview questions for designations

 Senior Java Developer

 (2)

 Junior Java Developer

 (1)

 Java Software Developer

 (1)

 Java Microservice Developer

 (1)

 Fullstack Java Developer

 (1)

 Java Developer Consultant

 (1)

 Java Consultant

 (2)

 Java Full Stack Developer

 (1)

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. Find second Max salary? How internally hashmap grows its size? SOLID principles?
  • Ans. 

    To find the second highest salary, sort the salaries in descending order and skip the first one.

    • Sort the salaries in descending order

    • Skip the first salary to get the second highest salary

    • Handle edge cases like duplicates or null values

  • Answered by AI

Skills evaluated in this interview

Get interview-ready with Top Deloitte Interview Questions

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

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

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 - Coding Test 

Basic coding on java 8

Round 3 - Technical 

(2 Questions)

  • Q1. About domain and coding functionality also asked about lwd and how soon can join
  • Q2. Coding on java8

Interview Preparation Tips

Interview preparation tips for other job seekers - Even if you give 100% still they will reject you even after they ask you how soon you can join and you answer like you can join immediately please consider twice while applying

Java Developer Interview Questions & Answers

user image saurav ray

posted on 17 Apr 2024

Interview experience
3
Average
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(1 Question)

  • Q1. I was asked basic question on Java and then Spring Boot.

Java Developer Interview Questions & Answers

user image Priya Shukla

posted on 23 Sep 2023

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

I applied via Company Website and was interviewed in Aug 2023. There were 3 interview rounds.

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. Core java, stream api, spring boot, junit, spring core,jpa , hibernate
Round 3 - Behavioral 

(1 Question)

  • Q1. Java,spring boot

Interview Preparation Tips

Interview preparation tips for other job seekers - They can ask very deep knowledge on these so learn basics properly.
Interview experience
4
Good
Difficulty level
Moderate
Process Duration
2-4 weeks
Result
Selected Selected

I was interviewed before Feb 2024.

Round 1 - Aptitude Test 

Regular basic english, aptitude, java theory and coding questions

Round 2 - Coding Test 

Basic Java questions. Data structure, database, coding question go through java tutorials

Interview Preparation Tips

Interview preparation tips for other job seekers - Go through java tutorial it should be fine practice a lot in hacker rank and database query formation w3

I was interviewed in Jan 2022.

Round 1 - Video Call 

(2 Questions)

Round duration - 60 minutes
Round difficulty - Easy

Timing( was it late night) Not late but interview conducted in the evening
How was the environment? Google meet
Any other significant activity Checked my projects my contribution my past experiences
How the interviewer was? (If it was there any interview) Interviewer was check technical knowledge and personality test

  • 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 the array only once without using an...

  • Ans. 

    The function sorts an integer array containing only 0s and 1s in linear time complexity.

    • Use two pointers, one starting from the beginning and the other from the end of the array.

    • Swap the elements at the pointers if the element at the beginning pointer is 1 and the element at the end pointer is 0.

    • Continue moving the pointers towards each other until they meet in the middle of the array.

  • Answered by AI
  • 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 value should be replaced with the sum...

  • Ans. 

    The task is to convert a Binary Search Tree into a Greater Sum Tree.

    • Traverse the BST in reverse inorder (right, root, left) to visit nodes in descending order.

    • Keep track of the sum of all greater nodes encountered so far.

    • Update the value of each node by adding the sum of greater nodes and update the sum.

    • Continue this process until all nodes have been visited.

    • Return the modified BST.

  • Answered by AI
Round 2 - HR 

Round duration - 30 minutes
Round difficulty - Easy

This round was TechnoManagerial round where both technical as well as HR questions where asked. Interviewer was very supportive and he just wanted to check your best and your problem solving skills and you personality.

Interview Preparation Tips

Professional and academic backgroundI completed Mechanical Engineering from Sanjivani College of Engineering, Kopargaon. I applied for the job as Java Developer in PuneEligibility criteria6 CGPADeloitte interview preparation:Topics to prepare for the interview - Java, Data Structures, OOPS, System Design, MYSQL, UnixTime required to prepare for the interview - 7 monthsInterview preparation tips for other job seekers

Tip 1 : Be prepared with OOPs concept, four pillers
Tip 2 : Practice Atleast 150-250 Questions
Tip 3 : Do atleast 2-3 projects host it and mention the links in resume.

Application resume tips for other job seekers

Tip 1 : mention some 2-3 descent projects on resume.
Tip 2 : Do not add irrelevant fields in the resume. content is more important rather then styling to resume.

Final outcome of the interviewSelected

Skills evaluated in this interview

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