Upload Button Icon Add office photos

Accenture

Compare button icon Compare button icon Compare

Filter interviews by

Accenture Java Developer Interview Questions and Answers

Updated 4 Apr 2025

49 Interview questions

A Java Developer was asked
Q. What is method overloading?
Ans. 

Method overloading is when a class has multiple methods with the same name but different parameters.

  • Method overloading allows for more flexibility in method calls.

  • The methods must have different parameter types or number of parameters.

  • Example: void print(int num), void print(String str), void print(int num1, int num2)

  • Overloading is determined at compile-time based on the method signature.

🔥 Asked by recruiter 4 times
A Java Developer was asked
Q. What is exception handling?
Ans. 

Exception handling is the process of handling errors that occur during program execution.

  • Exceptions are objects that represent errors or exceptional events.

  • Exception handling involves catching and handling these exceptions.

  • It helps prevent program crashes and allows for graceful error recovery.

  • Examples of exceptions include NullPointerException, ArrayIndexOutOfBoundsException, and IOException.

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(). Chi ... read more
asked in Infosys
Q3. Which should be preferred between String and StringBuffer when th ... read more
Q4. How do you sort a list of students based on their first name?
asked in Cognizant
Q5. What array list and linkedlist difference,how hashmap internally ... read more
A Java Developer was asked
Q. What is Java inheritance?
Ans. 

Java inheritance is a mechanism where one class acquires the properties and behaviors of another class.

  • Inheritance allows code reusability and saves time and effort in coding.

  • The class that is being inherited from is called the superclass or parent class.

  • The class that inherits from the superclass is called the subclass or child class.

  • The subclass can access all the public and protected methods and fields of the s...

🔥 Asked by recruiter 2 times
A Java Developer was asked
Q. What are the principles of object-oriented programming, such as OOP concepts in Java?
Ans. 

Object-oriented programming (OOP) principles in Java include encapsulation, inheritance, polymorphism, and abstraction.

  • Encapsulation: Bundling data and methods together into a single unit (class) to hide implementation details.

  • Inheritance: Creating new classes (subclasses) from existing classes (superclasses) to inherit properties and behaviors.

  • Polymorphism: The ability of an object to take on many forms, allowing...

What people are saying about Accenture

View All
lavenderalmond
Verified Icon
2d
works at
Accenture
Which offer should I choose – BP vs UKG (SRE Role)?
Got two offers: 🔹 BP – ₹10 LPA (Pune, Hybrid) Stable MNC, decent WLB, slower growth In-hand ~₹62K/month 🔹 UKG – ₹20 LPA (Noida, Hybrid) Strong perks (₹6L insurance, wellness, equity, bonus), high pay In-hand ~₹1.4L/month, but higher expectations Looking for: SRE growth, WLB, learning, and long-term stability What would you pick and why? Any feedback from current/ex-employees is appreciated!
Got a question about Accenture?
Ask anonymously on communities.
🔥 Asked by recruiter 8 times
A Java Developer was asked
Q. What is polymorphism?
Ans. 

Polymorphism is the ability of an object to take on many forms.

  • Polymorphism allows objects of different classes to be treated as if they are of the same class.

  • It is achieved through method overriding and method overloading.

  • Example: A parent class Animal can have child classes like Dog, Cat, and Bird. All these child classes can have their own implementation of the method 'makeSound', which is overridden from the p...

A Java Developer was asked
Q. What is an object?
Ans. 

An object is an instance of a class that encapsulates data and behavior.

  • Objects have state and behavior

  • They can interact with other objects through methods

  • Objects can be created from classes

  • Example: A car object has state (color, model) and behavior (drive, stop)

  • Example: A person object has state (name, age) and behavior (eat, sleep)

🔥 Asked by recruiter 4 times
A Java Developer was asked
Q. What is encapsulation?
Ans. 

Encapsulation is the process of hiding implementation details and providing access to only necessary information.

  • Encapsulation is achieved through access modifiers like private, public, and protected.

  • It helps in achieving data security and prevents unauthorized access.

  • Encapsulation also helps in achieving code maintainability and flexibility.

  • For example, a class can have private variables and public methods to acc...

Are these interview questions helpful?
🔥 Asked by recruiter 7 times
A Java Developer was asked
Q. What is inheritance?
Ans. 

Inheritance is a mechanism in OOP where a new class is derived from an existing class.

  • It allows the new class to inherit the properties and methods of the existing class.

  • The existing class is called the superclass or parent class, and the new class is called the subclass or child class.

  • The subclass can add new properties and methods or override the existing ones.

  • Example: A Car class can be a superclass, and a Spor...

A Java Developer was asked
Q. How can you iterate through an ArrayList using streams?
Ans. 

Iterating an ArrayList using stream in Java

  • Convert the ArrayList to a stream using stream() method

  • Use forEach() method to iterate through the stream

  • Use lambda expression to perform an action on each element

  • Example: myList.stream().forEach(element -> System.out.println(element));

A Java Developer was asked
Q. How do you handle versioning in REST APIs?
Ans. 

Versions in REST API can be handled using URL versioning, header versioning, or media type versioning.

  • URL versioning involves adding the version number in the URL path, e.g. /api/v1/users

  • Header versioning involves adding the version number in the request header, e.g. X-API-Version: 1

  • Media type versioning involves adding the version number in the media type, e.g. application/vnd.company.v1+json

  • Choose a versioning s...

Accenture Java Developer Interview Experiences

52 interviews found

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

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

Round 1 - Technical 

(6 Questions)

  • Q1. Java 8 , java 11 and java 17 features?
  • Ans. 

    Java 8 introduced lambda expressions, Java 11 added local-variable syntax for lambda parameters, and Java 17 included sealed classes and pattern matching.

    • Java 8 introduced lambda expressions for functional programming.

    • Java 11 added local-variable syntax for lambda parameters to simplify code.

    • Java 17 included sealed classes to restrict inheritance and pattern matching for instanceof checks and type casts.

  • Answered by AI
  • Q2. Dispatcher servlet, design patterns
  • Q3. @SpringbootApplication annotation, actuators
  • Q4. String Coding question with java 8 features such as lambda function and stream api
  • Ans. 

    Using Java 8 features like streams and lambdas to manipulate strings efficiently.

    • Use Stream API to filter strings: List<String> filtered = strings.stream().filter(s -> s.startsWith("A")).collect(Collectors.toList());

    • Transform strings with map: List<String> uppercased = strings.stream().map(String::toUpperCase).collect(Collectors.toList());

    • Count occurrences of a character: long count = strings.stream().fi...

  • Answered by AI
  • Q5. Number of words in a string
  • Q6. Microservice design patterns

Java Developer Interview Questions & Answers

user image Chavan Sujas Tanaji

posted on 7 Jan 2025

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

(2 Questions)

  • Q1. What is the Java programming language?
  • Ans. 

    Java is a high-level, object-oriented programming language known for its portability, security, and robustness.

    • Java is platform-independent, meaning it can run on any device with a Java Virtual Machine (JVM)

    • It is object-oriented, allowing for the creation of reusable code and modular programs

    • Java is known for its security features, such as sandboxing and encryption

    • It is widely used in web development, mobile applicatio...

  • Answered by AI
  • Q2. Is Java considered a purely object-oriented programming language?
  • Ans. 

    Java is not purely object-oriented as it also supports primitive data types and static methods.

    • Java supports primitive data types like int, double, boolean which are not objects.

    • Static methods in Java belong to the class itself and do not require an instance to be called.

    • Java also has features like enums and interfaces which are not strictly object-oriented.

  • Answered by AI
Round 2 - HR 

(2 Questions)

  • Q1. Why should we hire you?
  • Q2. What motivates you to seek employment at this company?
  • Ans. 

    I am motivated to seek employment at this company because of its reputation for innovation and commitment to employee growth.

    • I am impressed by the company's track record of developing cutting-edge technology solutions.

    • I value the emphasis this company places on continuous learning and professional development.

    • I am excited about the opportunity to work with a talented team of developers and contribute to impactful proje...

  • Answered by AI

Java Developer Interview Questions & Answers

user image Shivam Saha

posted on 21 Oct 2024

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

(3 Questions)

  • Q1. Features of java 8
  • Ans. 

    Java 8 introduced several new features including lambda expressions, functional interfaces, streams, and default methods.

    • Lambda expressions allow for more concise code and enable functional programming.

    • Functional interfaces are interfaces with a single abstract method, used for lambda expressions.

    • Streams provide a way to work with sequences of elements and support parallel processing.

    • Default methods allow interfaces to...

  • Answered by AI
  • Q2. Questions from steam api
  • Q3. Spring life cycle flow
Round 2 - Technical 

(2 Questions)

  • Q1. Current work structure
  • Ans. 

    Currently working as a Java Developer at XYZ Company, responsible for developing and maintaining Java applications.

    • Developing and maintaining Java applications

    • Collaborating with team members on projects

    • Participating in code reviews and debugging

    • Implementing new features and enhancements

    • Troubleshooting and resolving technical issues

  • Answered by AI
  • Q2. Other technalogies I am using in my compnay

Skills evaluated in this interview

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

(2 Questions)

  • Q1. Spring boot annotations, actuators
  • Q2. Coding question using java 8
Round 2 - HR 

(1 Question)

  • Q1. Salary discussion

Interview Preparation Tips

Topics to prepare for Accenture Java Developer interview:
  • Core Java
  • Spring Boot
Interview preparation tips for other job seekers - Prepare your basic

Java Developer Interview Questions & Answers

user image Harshit Singh

posted on 3 Sep 2024

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

I applied via Company Website and was interviewed in Aug 2024. There was 1 interview round.

Round 1 - Technical 

(2 Questions)

  • Q1. Annotations used in Spring and REST
  • Ans. 

    Annotations like @RestController, @RequestMapping, @Autowired are used in Spring for defining RESTful services.

    • Annotations like @RestController, @RequestMapping, @Autowired are used in Spring for defining RESTful services

    • Annotations like @GetMapping, @PostMapping, @PutMapping, @DeleteMapping are used for mapping HTTP methods to controller methods

    • Annotations like @PathVariable, @RequestParam are used for handling reques...

  • Answered by AI
  • Q2. Segregate the employee list whose name starts with any particular alphabet

Skills evaluated in this interview

Interview experience
5
Excellent
Difficulty level
Easy
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Questions related to Java 1.8, Java Core, and Spring Boot.
  • Q2. Questions related to Git, and Agile.

Interview Preparation Tips

Interview preparation tips for other job seekers - keep the core concept strong and go through interview questions on each topic. It's not very tough.
Interview experience
4
Good
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Technical 

(2 Questions)

  • Q1. Difference between controller and rest controller
  • Ans. 

    Controller is a general term for classes that handle requests in a web application, while RestController specifically handles RESTful requests.

    • Controller is a general term for classes that handle requests in a web application

    • RestController is a specialized type of controller that specifically handles RESTful requests

    • RestController is annotated with @RestController, while Controller is annotated with @Controller

    • RestCont...

  • Answered by AI
  • Q2. Hibernate method save and update

Interview Preparation Tips

Interview preparation tips for other job seekers - Java basic questions and mostly asked Java 8 programs and db related questions

Skills evaluated in this interview

Java Developer Interview Questions & Answers

user image Chandni Tilasi

posted on 8 Aug 2024

Interview experience
2
Poor
Difficulty level
-
Process Duration
-
Result
-
Round 1 - One-on-one 

(2 Questions)

  • Q1. Interviewer did not come it was so frustrating
  • Q2. Interviewer did not come it was o frustrating
Interview experience
5
Excellent
Difficulty level
-
Process Duration
-
Result
-
Round 1 - Aptitude Test 

Easy to crack the test

Round 2 - Coding Test 

Easy to crack, focus on oops concepts

Round 3 - Technical 

(1 Question)

  • Q1. Project roles and responsibiliies

Java Developer Interview Questions & Answers

user image aman sharma

posted on 12 Nov 2024

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

I applied via Walk-in and was interviewed in Oct 2024. There were 2 interview rounds.

Round 1 - Aptitude Test 

Profit loss and permutations questions

Round 2 - Coding Test 

Basic core questions

Accenture Interview FAQs

How many rounds are there in Accenture Java Developer interview?
Accenture interview process usually has 1-2 rounds. The most common rounds in the Accenture interview process are Technical, HR and Resume Shortlist.
How to prepare for Accenture 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 Accenture. The most common topics and skills that interviewers at Accenture expect are Java, Spring, J2Ee, Hibernate and Javascript.
What are the top questions asked in Accenture Java Developer interview?

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

  1. What are the principles of object oriented programming, such as OOPs concepts i...read more
  2. Write a code of prime numbers 1 to 100 and write sql que...read more
  3. What is the difference between ArrayList and LinkedLi...read more
How long is the Accenture Java Developer interview process?

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

Tell us how to improve this page.

Overall Interview Experience Rating

3.9/5

based on 49 interview experiences

Difficulty level

Easy 43%
Moderate 52%
Hard 4%

Duration

Less than 2 weeks 73%
2-4 weeks 18%
4-6 weeks 9%
View more

Java Developer Interview Questions from Similar Companies

View all
Accenture Java Developer Salary
based on 886 salaries
₹3.1 L/yr - ₹11.1 L/yr
15% more than the average Java Developer Salary in India
View more details

Accenture Java Developer Reviews and Ratings

based on 70 reviews

4.1/5

Rating in categories

4.0

Skill development

4.1

Work-life balance

3.7

Salary

4.0

Job security

4.2

Company culture

3.5

Promotions

3.7

Work satisfaction

Explore 70 Reviews and Ratings
Application Development Analyst
39.3k salaries
unlock blur

₹4.8 L/yr - ₹11 L/yr

Application Development - Senior Analyst
27.7k salaries
unlock blur

₹8.3 L/yr - ₹16.1 L/yr

Team Lead
26.6k salaries
unlock blur

₹12.6 L/yr - ₹22.5 L/yr

Senior Analyst
19.5k salaries
unlock blur

₹9.1 L/yr - ₹15.7 L/yr

Senior Software Engineer
18.5k salaries
unlock blur

₹10.4 L/yr - ₹18 L/yr

Explore more salaries
Compare Accenture with

TCS

3.6
Compare

Cognizant

3.7
Compare

Capgemini

3.7
Compare

Infosys

3.6
Compare
write
Share an Interview