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

Filter interviews by

Clear (1)

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
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
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
  • Ans. 

    OOPs concept in Java includes keywords and access specifiers for defining classes and objects.

    • OOPs concept focuses on objects and classes for code organization

    • Keywords like 'class', 'extends', 'implements' are used for defining classes and inheritance

    • Access specifiers like 'public', 'private', 'protected' control visibility of class members

  • Answered by AI
  • Q2. Diff between arraylist and linkedlist
  • Ans. 

    ArrayList is implemented using a dynamic array while LinkedList is implemented using a doubly linked list.

    • ArrayList provides fast random access and slower insertion/deletion, while LinkedList provides fast insertion/deletion and slower random access.

    • ArrayList uses more memory as it needs to allocate a fixed-size array, while LinkedList uses more memory for storing references to the next and previous elements.

    • Example: A...

  • Answered by AI
  • Q3. Diff between set and list
  • Ans. 

    Set is a collection of unique elements with no specific order, while list is a collection of elements with a specific order and allows duplicates.

    • Set does not allow duplicate elements, while list allows duplicates.

    • Set does not maintain insertion order, while list maintains insertion order.

    • Examples: HashSet is a set implementation, ArrayList is a list implementation.

  • Answered by AI
  • Q4. Coding reverse a palindrome
  • Ans. 

    Reverse a palindrome string using Java

    • Create a function to check if a string is a palindrome

    • If the string is a palindrome, reverse it using a StringBuilder

    • Return the reversed string

  • Answered by AI
  • Q5. How to create rest API
  • Ans. 

    To create a REST API, you need to define endpoints, implement CRUD operations, handle HTTP methods, and use frameworks like Spring Boot.

    • Define endpoints for different resources (e.g. /users, /products)

    • Implement CRUD operations (Create, Read, Update, Delete) for each endpoint

    • Handle HTTP methods like GET, POST, PUT, DELETE

    • Use frameworks like Spring Boot to simplify API development

  • Answered by AI
  • Q6. Java 8 features, write lambda function to add two numbers
  • Ans. 

    Lambda functions in Java 8 allow for concise and functional programming style.

    • Use the lambda operator '->' to define the lambda function.

    • Specify the parameters and the body of the lambda function.

    • Example: (int a, int b) -> a + b

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. Why you want to change?
  • Ans. 

    Seeking new challenges and growth opportunities in a dynamic environment.

    • Looking for opportunities to expand my skill set and knowledge in Java development.

    • Interested in working on innovative projects that push boundaries and require creative problem-solving.

    • Seeking a more collaborative and supportive team environment.

    • Want to explore new technologies and methodologies in software development.

  • Answered by AI
  • Q2. Coding question related to java 8

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 Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
asked in Deloitte
Q4. Convert BST to Greater Sum Tree Given a Binary Search Tree (BST) ... read more
Q5. 2. What will happen if hashcode only returns a constant? How will ... read more
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
  • Ans. 

    HashSet is a collection that does not allow duplicate elements and does not guarantee the order of elements.

    • HashSet uses a hash table for storage.

    • Elements are stored based on their hash code.

    • Adding an element to a HashSet returns false if the element is already present.

    • Example: HashSet set = new HashSet<>(); set.add("apple");

  • Answered by AI
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
  • Ans. 

    I want to join Deloitte because of its reputation for innovation, diverse projects, and opportunities for growth.

    • Deloitte is known for its innovative projects and cutting-edge technology, which aligns with my passion for staying up-to-date with the latest trends in Java development.

    • I am impressed by Deloitte's diverse range of projects and clients, which will provide me with valuable experience and the opportunity to w...

  • Answered by AI

Skills evaluated in this interview

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
  • Ans. 

    Solid design principles are a set of best practices for designing software that is maintainable, scalable, and flexible.

    • Single Responsibility Principle - each class should have only one responsibility

    • Open/Closed Principle - classes should be open for extension but closed for modification

    • Liskov Substitution Principle - objects of a superclass should be replaceable with objects of its subclasses without affecting the pro...

  • Answered by AI
Round 2 - Technical 

(2 Questions)

  • Q1. How authentication and authorization works in java
  • Ans. 

    Authentication verifies the identity of a user, while authorization determines what actions they are allowed to perform.

    • Authentication is the process of verifying the identity of a user, typically through credentials like username and password.

    • Authorization determines what actions a user is allowed to perform after they have been authenticated.

    • Java provides various authentication mechanisms like Basic Authentication, D...

  • Answered by AI
  • Q2. Design patterns in java
  • Ans. 

    Design patterns in Java are reusable solutions to common problems in software design.

    • Design patterns help in creating flexible, maintainable, and scalable code.

    • Examples of design patterns in Java include Singleton, Factory, Observer, and Strategy.

    • Each design pattern has its own purpose and can be applied in different scenarios.

    • Understanding design patterns is essential for Java developers to write efficient code.

  • Answered by AI

Skills evaluated in this interview

Deloitte interview questions for designations

 Senior Java Developer

 (2)

 Junior Java Developer

 (1)

 Java Software Developer

 (1)

 Java Developer Consultant

 (1)

 Java Microservice Developer

 (1)

 Fullstack Java Developer

 (1)

 Java Consultant

 (2)

 Java Full Stack Developer

 (1)

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

Get interview-ready with Top Deloitte Interview Questions

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
  • Ans. 

    Sorting program to arrange strings in alphabetical order

    • Use Arrays.sort() method to sort the array of strings

    • Implement a custom Comparator to sort in a specific order

    • Consider using Collections.sort() for sorting ArrayList of strings

  • Answered by AI
Round 2 - Technical 

(1 Question)

  • Q1. Multi-threading

Skills evaluated in this interview

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
  • Ans. 

    Find repeat elements in an array of strings

    • Iterate through the array and store each element in a HashMap with its count

    • Check if the count of any element is greater than 1, then it is a repeat element

    • Return the repeat elements found in the array

  • Answered by AI
  • Q2. Project related questions
  • Q3. Build a basic CRUD REST API endpoint
  • Ans. 

    Build a basic CRUD REST API endpoint

    • Create a REST API endpoint for each CRUD operation (Create, Read, Update, Delete)

    • Use HTTP methods like POST, GET, PUT, DELETE to perform CRUD operations

    • Implement data validation and error handling for each operation

    • Utilize a framework like Spring Boot or Express.js to simplify API development

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

(3 Questions)

  • Q1. Behavioral questions
  • Q2. Technical questions about SpringBoot and microservices
  • Q3. SQL question - third highest salary
  • Ans. 

    To find the third highest salary in a SQL table, you can use the 'SELECT TOP 1' statement with 'ORDER BY salary DESC OFFSET 2 ROWS FETCH NEXT 1 ROWS ONLY'.

    • Use the 'SELECT TOP 1' statement to retrieve only one record

    • Order the records by salary in descending order using 'ORDER BY salary DESC'

    • Skip the first two highest salaries using 'OFFSET 2 ROWS'

    • Fetch the next record after skipping the first two using 'FETCH NEXT 1 ROW

  • Answered by AI

Skills evaluated in this interview

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
  • Ans. 

    HashMap is non-synchronized and allows null values, while Hashtable is synchronized and does not allow null keys or values.

    • HashMap is non-synchronized, meaning it is not thread-safe, while Hashtable is synchronized and thread-safe.

    • HashMap allows null values and one null key, while Hashtable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while Hashtable is used in thr

  • Answered by AI

Skills evaluated in this interview

Contribute & help others!
anonymous
You can choose to be anonymous

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.

Recently Viewed

JOBS

Browse jobs

Discover jobs you love

COMPANY BENEFITS

KNR Constructions

20 benefits

COMPANY BENEFITS

IRB Infrastructure

60 benefits

COMPANY BENEFITS

Dilip Buildcon

304 benefits

COMPANY BENEFITS

Dilip Buildcon

304 benefits

INTERVIEWS

Saviant Consulting

No Interviews

DESIGNATION

JOBS

MasterCard

No Jobs

LIST OF COMPANIES

Barclays Global Service Centre

Overview

DESIGNATION

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 252 salaries
Lock Unlock
₹4 L/yr - ₹14.7 L/yr
49% 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.4k salaries
unlock blur Lock Unlock

₹0 L/yr - ₹0 L/yr

Senior Consultant
21k salaries
unlock blur Lock Unlock

₹0 L/yr - ₹0 L/yr

Analyst
14.3k salaries
unlock blur Lock Unlock

₹0 L/yr - ₹0 L/yr

Assistant Manager
10.1k salaries
unlock blur Lock Unlock

₹0 L/yr - ₹0 L/yr

Manager
7.1k salaries
unlock blur Lock Unlock

₹0 L/yr - ₹0 L/yr

Explore more salaries
Compare Deloitte with

Accenture

3.8
Compare

PwC

3.4
Compare

Ernst & Young

3.4
Compare

Cognizant

3.7
Compare
Did you find this page helpful?
Yes No
write
Share an Interview
Rate your experience using AmbitionBox
Terrible
Terrible
Poor
Poor
Average
Average
Good
Good
Excellent
Excellent