Upload Button Icon Add office photos

Filter interviews by

Accenture Java Software Engineer Interview Questions and Answers

Updated 6 Apr 2021

Accenture Java Software Engineer Interview Experiences

1 interview found

I applied via Referral and was interviewed in Mar 2021. There were 3 interview rounds.

Interview Questionnaire 

1 Question

  • Q1. Oops, Collections, spring hibernate

Interview Preparation Tips

Interview preparation tips for other job seekers - Many questions in spring and hibernate

Interview questions from similar companies

I applied via Naukri.com

Interview Questionnaire 

3 Questions

  • Q1. Write a user microservice to get the data from h2DB.
  • Ans. 

    A user microservice to retrieve data from h2DB

    • Create a REST API endpoint to handle user requests

    • Use JDBC to connect to the h2DB and retrieve data

    • Implement caching to improve performance

    • Ensure proper error handling and logging

    • Secure the API with authentication and authorization

  • Answered by AI
  • Q2. How to create thread singleton
  • Ans. 

    To create thread singleton, use double-checked locking or enum.

    • Use double-checked locking to ensure only one instance is created

    • Alternatively, use enum to create a singleton with thread safety

    • Ensure proper synchronization to avoid race conditions

  • Answered by AI
  • Q3. What does spring boot starter pom
  • Ans. 

    Spring Boot Starter POM is a parent POM that provides a set of dependencies for Spring Boot applications.

    • It includes commonly used dependencies such as Spring Framework, Spring Boot, and Spring Data.

    • It simplifies the process of configuring and deploying Spring Boot applications.

    • Developers can add additional dependencies to the POM file as needed.

    • Examples of Spring Boot Starter POMs include spring-boot-starter-web, spri...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - they dont care much about your previuos projects and all its really good thing, you will be having direct technical questions , should have strong knowledge in multithreading and singleton classes, they dont ask basic questions you must have strong knowledge in that area
be prepared to able to write programs in numbers series, good to have knowledge in data structues its really helpful..

ALL THE BEST.. MY BEST WISHES

Skills evaluated in this interview

Interview Questionnaire 

1 Question

  • Q1. All java areas - basics Like inheritance polymorphism, method overloading, overriding, garbage collection, collections, data structure their implimentation, exception handling, java 8, on Postgres -...

I applied via Naukri.com and was interviewed in Nov 2020. There were 6 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. Oops concepts, collection, multithreading
  • Q2. Data structures

Interview Preparation Tips

Interview preparation tips for other job seekers - Prepare well java , ds and your resume
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
-

I applied via Referral and was interviewed in Nov 2024. There were 2 interview rounds.

Round 1 - Technical 

(11 Questions)

  • Q1. Internal working of HashMap
  • Q2. Features of java8
  • Q3. Use of synchronized keyword
  • Q4. Difference between failsafe and fail fast and also its implementation
  • Q5. Coding question : sort an array, use of streams to find names from employee object whose salary is greater than 50000
  • Q6. Difference between concurrent and generic collection
  • Q7. What is string pool. What is string literal?
  • Q8. Security measures used in your project
  • Q9. What is difference between rest and soap
  • Q10. What do u mean by REST state
  • Q11. What is serialization? What is the way to stop serialization?
Round 2 - Manegerial Round 

(4 Questions)

  • Q1. Difference between failsafe and faifast
  • Q2. Difference between concurrent and generic collection
  • Q3. Security measures used in current project
  • Q4. Why you are leaving your current organization and follow up questions on that

Interview Preparation Tips

Interview preparation tips for other job seekers - Please prepare well on your project and java 8 features(if you are using java8). also please brush up knowledge on collections, multithreading, and oops concept
Interview experience
4
Good
Difficulty level
Easy
Process Duration
Less than 2 weeks
Result
Not Selected

I applied via Walk-in and was interviewed in Nov 2024. There was 1 interview round.

Round 1 - Technical 

(4 Questions)

  • Q1. Given an array {1, 2, 1, 4, 5, 4, 8, 7}, how can you use Streams to remove duplicates while retaining only the even numbers?
  • Ans. 

    Use Streams to remove duplicates and retain only even numbers from an array.

    • Convert the array to a stream using Arrays.stream()

    • Use distinct() to remove duplicates

    • Filter out odd numbers using filter()

    • Collect the result using collect(Collectors.toList())

  • Answered by AI
  • Q2. What is the use of Static and final when you will use Static methods
  • Ans. 

    Static methods can be accessed without creating an instance of the class, while final keyword makes the method unchangeable.

    • Static methods belong to the class itself, not to any specific instance

    • Final keyword ensures that the method cannot be overridden in subclasses

    • Static methods are commonly used for utility methods that do not require access to instance variables

    • Example: Math class in Java has static methods like Ma

  • Answered by AI
  • Q3. What is the difference between @restController and @controller Annotation
  • Ans. 

    The @RestController annotation is used to define RESTful web services while @Controller annotation is used to define MVC controller.

    • RestController is a specialized version of Controller used for RESTful web services

    • RestController eliminates the need for @ResponseBody annotation

    • Controller is used for traditional MVC controller functionality

    • RestController returns data directly without needing to go through a view resolve...

  • Answered by AI
  • Q4. What is microservices why we use it
  • Ans. 

    Microservices are a software development technique where applications are composed of small, independent services that communicate with each other.

    • Microservices allow for easier scalability and maintenance of complex applications.

    • Each service in a microservices architecture can be developed, deployed, and scaled independently.

    • Microservices promote flexibility and agility in software development.

    • Examples of companies us...

  • Answered by AI

Interview Preparation Tips

Topics to prepare for Cognizant Senior Java Developer interview:
  • Java SpringBoot
Interview preparation tips for other job seekers - Need to have strong knowledge on basics Java Spring boot and Microservices
Interview experience
1
Bad
Difficulty level
Moderate
Process Duration
4-6 weeks
Result
No response

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

Round 1 - Technical 

(5 Questions)

  • Q1. Coding questions on java8
  • Q2. Regarding microservices
  • Q3. Internal working of circuit breaker
  • Ans. 

    Circuit breaker is a design pattern used in software development to prevent system failures by temporarily stopping requests to a failing service.

    • Circuit breaker monitors the number of failures and opens when a threshold is reached.

    • When the circuit is open, requests are not sent to the failing service, preventing further failures.

    • After a specified time, the circuit breaker closes and allows requests to be sent again.

    • Ex...

  • Answered by AI
  • Q4. Frequency of occurrence of words
  • Ans. 

    Frequency of occurrence of words in a given text can be calculated by counting each word and storing it in a data structure.

    • Split the text into words using whitespace as delimiter

    • Create a map to store word frequencies

    • Iterate through the words and update the frequency count in the map

    • Return the map with word frequencies

  • Answered by AI
  • Q5. How spring boot will work two databases
  • Ans. 

    Spring Boot can work with two databases by configuring multiple data sources and using @Primary annotation.

    • Configure multiple data sources in application.properties or application.yml

    • Use @Primary annotation to specify the primary data source

    • Use @Qualifier annotation to specify the secondary data source

    • Example: @Configuration @EnableTransactionManagement public class DatabaseConfig { @Primary @Bean(name = "primaryDataSo...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - If you don't get any update from them don't give interview.

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - One-on-one 

(3 Questions)

  • Q1. Difference between hashmap and hash table
  • Ans. 

    HashMap is non-synchronized and allows null values, while HashTable is synchronized and does not allow null values.

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

    • HashMap allows null values for both keys and values, while HashTable does not allow null keys or values.

    • HashMap is generally preferred for non-thread-safe applications, while HashTable is used in mul

  • Answered by AI
  • Q2. Static block related questions
  • Q3. Arraylist and linkedlist question

Skills evaluated in this interview

Interview experience
3
Average
Difficulty level
Moderate
Process Duration
Less than 2 weeks
Result
No response

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

Round 1 - One-on-one 

(2 Questions)

  • Q1. General Java questions
  • Q2. Spring boot 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 Aug 2024. There was 1 interview round.

Round 1 - Technical 

(9 Questions)

  • Q1. Transactions in springboot
  • Ans. 

    Transactions in Spring Boot manage database operations as a single unit of work to ensure data integrity.

    • Spring Boot provides support for declarative transaction management using @Transactional annotation.

    • Transactions can be configured at class or method level.

    • Transactions can be rolled back in case of exceptions to maintain data consistency.

    • Example: @Transactional annotation on a service method ensures that all databa...

  • Answered by AI
  • Q2. Difference between arraylist and linked list
  • Ans. 

    ArrayList is resizable array implementation, LinkedList is doubly linked list implementation.

    • ArrayList uses dynamic array to store elements, LinkedList uses doubly linked list.

    • ArrayList is faster for accessing elements by index, LinkedList is faster for adding/removing elements.

    • Example: ArrayList arrList = new ArrayList<>(); LinkedList linkedList = new LinkedList<>();

Answered by AI
  • Q3. How REST API used
  • Ans. 

    REST API is used to communicate between client and server using HTTP methods like GET, POST, PUT, DELETE.

    • REST API allows clients to access and manipulate resources on a server using standard HTTP methods.

    • It uses URLs to identify resources and HTTP methods to perform actions on those resources.

    • Common HTTP methods used in REST API are GET (retrieve data), POST (create data), PUT (update data), DELETE (remove data).

    • REST A...

  • Answered by AI
  • Q4. Annotations in springboot
  • Ans. 

    Annotations in Spring Boot are used to provide metadata about the application and its components.

    • Annotations are used to configure Spring Boot applications, define beans, handle requests, etc.

    • Examples include @SpringBootApplication, @RestController, @Autowired, @RequestMapping, etc.

  • Answered by AI
  • Q5. Features of java 8
  • Ans. 

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

    • 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 collections of objects in a functional style.

    • Default methods in interfaces ...

  • Answered by AI
  • Q6. How interface is implemented in java
  • Ans. 

    Interfaces in Java are implemented using the 'implements' keyword, allowing classes to provide specific implementations for methods defined in the interface.

    • Interfaces in Java define a contract for classes to implement, specifying method signatures without implementations.

    • A class can implement multiple interfaces by separating them with commas.

    • Classes implementing an interface must provide concrete implementations for ...

  • Answered by AI
  • Q7. How stream API works
  • Ans. 

    Stream API in Java provides a way to process collections of objects in a functional style.

    • Stream API allows for functional-style operations on collections like map, filter, reduce, etc.

    • It supports lazy evaluation, meaning operations are only performed when needed.

    • Streams can be sequential or parallel, depending on the source and operations used.

  • Answered by AI
  • Q8. Benefits of springboot over spring
  • Ans. 

    Spring Boot simplifies the setup and development of Spring applications by providing a convention-over-configuration approach.

    • Spring Boot eliminates the need for XML configuration by using annotations and sensible defaults.

    • It includes embedded servers like Tomcat, Jetty, or Undertow, making it easy to deploy standalone applications.

    • Auto-configuration feature reduces the amount of boilerplate code needed to set up a Spr...

  • Answered by AI
  • Q9. Difference between throw and throwable
  • Ans. 

    throw is a keyword used to explicitly throw an exception, while Throwable is a class that serves as the base class for all exceptions in Java.

    • throw is used to throw an exception in a method, while Throwable is the superclass of all exceptions in Java.

    • throw is followed by an instance of Throwable class or its subclasses, while Throwable is a class that provides common methods for handling exceptions.

    • Example: throw new N...

  • Answered by AI

    Interview Preparation Tips

    Interview preparation tips for other job seekers - Try to speak about one topic of more time it will increase the time of interview.

    Skills evaluated in this interview

    Tell us how to improve this page.

    People are getting interviews through

    based on 1 Accenture interview
    Referral
    100%
    Low Confidence
    ?
    Low Confidence means the data is based on a small number of responses received from the candidates.

    Interview Questions from Similar Companies

    TCS Interview Questions
    3.7
     • 10.2k Interviews
    Infosys Interview Questions
    3.7
     • 7.5k Interviews
    Wipro Interview Questions
    3.7
     • 5.5k Interviews
    Cognizant Interview Questions
    3.8
     • 5.5k Interviews
    Capgemini Interview Questions
    3.8
     • 4.7k Interviews
    Tech Mahindra Interview Questions
    3.6
     • 3.7k Interviews
    HCLTech Interview Questions
    3.5
     • 3.7k Interviews
    Genpact Interview Questions
    3.9
     • 3k Interviews
    LTIMindtree Interview Questions
    3.9
     • 2.8k Interviews
    IBM Interview Questions
    4.1
     • 2.3k Interviews
    View all
    Accenture Java Software Engineer Salary
    based on 5 salaries
    ₹5 L/yr - ₹7 L/yr
    6% less than the average Java Software Engineer Salary in India
    View more details

    Accenture Java Software Engineer Reviews and Ratings

    based on 1 review

    3.0/5

    Rating in categories

    2.0

    Skill development

    1.0

    Work-Life balance

    1.0

    Salary & Benefits

    4.0

    Job Security

    3.0

    Company culture

    3.0

    Promotions/Appraisal

    2.0

    Work Satisfaction

    Explore 1 Review and Rating
    Application Development Analyst
    38.9k salaries
    unlock blur

    ₹3 L/yr - ₹12 L/yr

    Application Development - Senior Analyst
    26.3k salaries
    unlock blur

    ₹6.8 L/yr - ₹20.2 L/yr

    Team Lead
    24.1k salaries
    unlock blur

    ₹7 L/yr - ₹25 L/yr

    Senior Software Engineer
    18.4k salaries
    unlock blur

    ₹6 L/yr - ₹19 L/yr

    Software Engineer
    17.6k salaries
    unlock blur

    ₹3.6 L/yr - ₹12.8 L/yr

    Explore more salaries
    Compare Accenture with

    TCS

    3.7
    Compare

    Cognizant

    3.8
    Compare

    Capgemini

    3.8
    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