Upload Button Icon Add office photos

Accenture

Compare button icon Compare button icon Compare

Filter interviews by

Accenture Fullstack Java Application Developer Interview Questions and Answers

Updated 24 Mar 2023

19 Interview questions

A Fullstack Java Application Developer was asked
Q. Describe the Reflection API in Java.
Ans. 

Reflection API in Java allows inspection and modification of runtime behavior of a program.

  • Reflection API provides classes like Class, Method, Field, Constructor, etc. to inspect and modify the behavior of a program at runtime.

  • It can be used to access private fields and methods of a class.

  • It can be used to create new instances of a class dynamically.

  • It can be used to invoke methods of a class dynamically.

  • It can be...

A Fullstack Java Application Developer was asked
Q. Which authentication methods are used to secure REST APIs?
Ans. 

Various authentication methods can be used to secure REST API, including OAuth, JWT, Basic Authentication, and API Keys.

  • OAuth is a popular authentication method that allows users to grant access to third-party applications without sharing their credentials.

  • JWT (JSON Web Tokens) is a stateless authentication mechanism that uses a token to authenticate users.

  • Basic Authentication uses a username and password to authe...

Fullstack Java Application Developer Interview Questions Asked at Other Companies

asked in Accenture
Q1. Which authentication methods are used to secure REST APIs?
asked in Accenture
Q2. Which data structures are used in arrays and hashmaps?
asked in Accenture
Q3. Write a program to find duplicate elements in an ArrayList.
asked in Accenture
Q4. What is the difference between getSession() and load() in Hiberna ... read more
asked in Coforge
Q5. How do microservices communicate with each other?
A Fullstack Java Application Developer was asked
Q. How do you secure a REST API?
Ans. 

Secure REST API using authentication, encryption, and authorization.

  • Use HTTPS protocol to encrypt data in transit

  • Implement authentication using tokens or OAuth2

  • Implement authorization using roles and permissions

  • Use input validation and output encoding to prevent injection attacks

  • Implement rate limiting to prevent DDoS attacks

A Fullstack Java Application Developer was asked
Q. What is the synchronized keyword?
Ans. 

Synchronized keyword is used to control access to shared resources in a multithreaded environment.

  • It ensures that only one thread can access the shared resource at a time.

  • It can be applied to methods or blocks of code.

  • It can cause performance issues if used excessively.

  • Example: synchronized void myMethod() { //code }

  • Example: synchronized(this) { //code }

What people are saying about Accenture

View All
lavenderalmond
Verified Icon
5d
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.
A Fullstack Java Application Developer was asked
Q. How do we handle exceptions in REST APIs?
Ans. 

Exceptions in REST are handled using try-catch blocks and HTTP status codes.

  • Use try-catch blocks to catch exceptions thrown by the application

  • Map exceptions to appropriate HTTP status codes

  • Return error messages in the response body

  • Use global exception handlers to handle uncaught exceptions

  • Avoid returning sensitive information in error messages

A Fullstack Java Application Developer was asked
Q. What is the difference between getSession() and load() in Hibernate?
Ans. 

getSession() retrieves the current session while load() method loads the object by its identifier.

  • getSession() method is used to retrieve the current session from the session factory.

  • load() method is used to load the object by its identifier.

  • getSession() method returns null if there is no current session.

  • load() method throws an exception if the object is not found in the database.

  • getSession() method is used for re...

A Fullstack Java Application Developer was asked
Q. How do you perform XML validation?
Ans. 

XML validation can be done using XML Schema Definition (XSD) or Document Type Definition (DTD).

  • XSD is the preferred method for XML validation as it provides more features and is easier to use.

  • DTD is an older method and has limited features compared to XSD.

  • XML validation can be done using tools like XMLSpy, Notepad++, and online validators like W3C Markup Validation Service.

  • Validation can be done programmatically u...

Are these interview questions helpful?
A Fullstack Java Application Developer was asked
Q. Describe the caching mechanism in Hibernate.
Ans. 

Hibernate provides two levels of caching: first-level cache and second-level cache.

  • First-level cache is enabled by default and is associated with a Session object.

  • Second-level cache is optional and can be configured to use different caching providers like Ehcache, Hazelcast, etc.

  • Caching can improve application performance by reducing the number of database queries.

  • Caching can also cause data inconsistency issues i...

A Fullstack Java Application Developer was asked
Q. Write a program to find duplicate elements in an ArrayList.
Ans. 

Program to find duplicate elements in an array list

  • Create a HashSet to store unique elements

  • Loop through the array list and add each element to the HashSet

  • If an element already exists in the HashSet, it is a duplicate

  • Add the duplicate element to another list or print it

A Fullstack Java Application Developer was asked
Q. What is the difference between PUT and POST requests?
Ans. 

PUT is used to update an existing resource, while POST is used to create a new resource.

  • PUT replaces the entire resource with the new data, while POST appends the new data to the existing resource.

  • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request, while POST is not.

  • PUT requires the client to specify the resource ID in the request URL, while POST does not.

  • Example: ...

Accenture Fullstack Java Application Developer Interview Experiences

1 interview found

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

I applied via Approached by Company and was interviewed in Feb 2023. There was 1 interview round.

Round 1 - Technical 

(21 Questions)

  • Q1. Types of cloning in java
  • Ans. 

    There are two types of cloning in Java: Shallow and Deep cloning.

    • Shallow cloning creates a new object with the same field values as the original object, but the fields refer to the same objects as the original object.

    • Deep cloning creates a new object with the same field values as the original object, but the fields refer to new copies of the original objects.

    • Shallow cloning can be done using the clone() method, while d...

  • Answered by AI
  • Q2. What are idempotent methods in rest
  • Ans. 

    Idempotent methods in REST are HTTP methods that can be repeated multiple times without changing the result beyond the initial application.

    • Idempotent methods are safe to retry or repeat without causing unintended side effects.

    • GET, HEAD, PUT, and DELETE are idempotent methods.

    • POST is not idempotent because it creates a new resource with a new URI each time it is called.

    • Idempotency is important for ensuring the reliabili...

  • Answered by AI
  • Q3. Difference between put and post
  • Ans. 

    PUT is used to update an existing resource, while POST is used to create a new resource.

    • PUT replaces the entire resource with the new data, while POST appends the new data to the existing resource.

    • PUT is idempotent, meaning multiple identical requests will have the same effect as a single request, while POST is not.

    • PUT requires the client to specify the resource ID in the request URL, while POST does not.

    • Example: PUT /...

  • Answered by AI
  • Q4. Describe caching mechanism in hibernate
  • Ans. 

    Hibernate provides two levels of caching: first-level cache and second-level cache.

    • First-level cache is enabled by default and is associated with a Session object.

    • Second-level cache is optional and can be configured to use different caching providers like Ehcache, Hazelcast, etc.

    • Caching can improve application performance by reducing the number of database queries.

    • Caching can also cause data inconsistency issues if not...

  • Answered by AI
  • Q5. Association between hashcode and equals to method
  • Ans. 

    Hashcode and equals method are related in Java to ensure proper object comparison and hashing.

    • The hashcode method returns an integer value that represents the object's unique identifier.

    • The equals method compares two objects for equality and returns a boolean value.

    • If two objects are equal, their hashcodes must be equal as well.

    • If two objects have the same hashcode, it does not necessarily mean they are equal.

    • It is imp...

  • Answered by AI
  • Q6. What is the logging framework you used and errors it highlights
  • Q7. Write a program to get duplicate element in array list
  • Ans. 

    Program to find duplicate elements in an array list

    • Create a HashSet to store unique elements

    • Loop through the array list and add each element to the HashSet

    • If an element already exists in the HashSet, it is a duplicate

    • Add the duplicate element to another list or print it

  • Answered by AI
  • Q8. Describe cascading in hibernate
  • Ans. 

    Cascading in Hibernate refers to the ability to propagate the state of an entity to its associated entities.

    • Cascading is used to automatically persist, update, or delete associated entities when the state of the parent entity changes.

    • There are different types of cascading options available in Hibernate, such as ALL, PERSIST, MERGE, REMOVE, and REFRESH.

    • For example, if a parent entity has a collection of child entities a...

  • Answered by AI
  • Q9. Difference between get session and load in hibernate
  • Ans. 

    getSession() retrieves the current session while load() method loads the object by its identifier.

    • getSession() method is used to retrieve the current session from the session factory.

    • load() method is used to load the object by its identifier.

    • getSession() method returns null if there is no current session.

    • load() method throws an exception if the object is not found in the database.

    • getSession() method is used for read an...

  • Answered by AI
  • Q10. What is hql? what are it's benefits?
  • Ans. 

    HQL stands for Hibernate Query Language. It is an object-oriented query language used to retrieve data from a database.

    • HQL is similar to SQL but uses object-oriented concepts like inheritance, polymorphism, and association.

    • It is database independent and can be used with any database supported by Hibernate.

    • HQL queries are compiled to SQL queries at runtime, which makes it more efficient than using SQL directly.

    • It suppor...

  • Answered by AI
  • Q11. How to do xml validation
  • Ans. 

    XML validation can be done using XML Schema Definition (XSD) or Document Type Definition (DTD).

    • XSD is the preferred method for XML validation as it provides more features and is easier to use.

    • DTD is an older method and has limited features compared to XSD.

    • XML validation can be done using tools like XMLSpy, Notepad++, and online validators like W3C Markup Validation Service.

    • Validation can be done programmatically using ...

  • Answered by AI
  • Q12. What are methods of object class
  • Ans. 

    Methods of Object class in Java

    • toString() - returns a string representation of the object

    • equals(Object obj) - checks if two objects are equal

    • hashCode() - returns a hash code value for the object

    • getClass() - returns the runtime class of the object

    • wait() - causes the current thread to wait

    • notify() - wakes up a single thread that is waiting on the object

    • notifyAll() - wakes up all threads that are waiting on the object

  • Answered by AI
  • Q13. How to secure rest api
  • Ans. 

    Secure REST API using authentication, encryption, and authorization.

    • Use HTTPS protocol to encrypt data in transit

    • Implement authentication using tokens or OAuth2

    • Implement authorization using roles and permissions

    • Use input validation and output encoding to prevent injection attacks

    • Implement rate limiting to prevent DDoS attacks

  • Answered by AI
  • Q14. Which authentication methods used to secure rest api
  • Ans. 

    Various authentication methods can be used to secure REST API, including OAuth, JWT, Basic Authentication, and API Keys.

    • OAuth is a popular authentication method that allows users to grant access to third-party applications without sharing their credentials.

    • JWT (JSON Web Tokens) is a stateless authentication mechanism that uses a token to authenticate users.

    • Basic Authentication uses a username and password to authentica...

  • Answered by AI
  • Q15. How do we handle exceptions in rest
  • Ans. 

    Exceptions in REST are handled using try-catch blocks and HTTP status codes.

    • Use try-catch blocks to catch exceptions thrown by the application

    • Map exceptions to appropriate HTTP status codes

    • Return error messages in the response body

    • Use global exception handlers to handle uncaught exceptions

    • Avoid returning sensitive information in error messages

  • Answered by AI
  • Q16. Which data structure used in array and hashmap
  • Ans. 

    Arrays use a linear data structure while HashMap uses a key-value pair data structure.

    • Arrays are indexed collections of elements of the same data type.

    • HashMaps store key-value pairs and allow for fast retrieval of values based on their keys.

    • Arrays have a fixed size while HashMaps can dynamically resize.

    • Arrays are more efficient for simple data structures while HashMaps are better for complex data structures.

  • Answered by AI
  • Q17. What is sql injection
  • Ans. 

    SQL injection is a type of cyber attack where malicious SQL statements are inserted into an entry field to manipulate the database.

    • SQL injection can be used to steal sensitive information, modify or delete data, or even take control of the entire database.

    • It can be prevented by using parameterized queries, input validation, and limiting user privileges.

    • Example: Entering ' OR 1=1;--' in a login form can bypass authentic...

  • Answered by AI
  • Q18. What is synchronized key word
  • Ans. 

    Synchronized keyword is used to control access to shared resources in a multithreaded environment.

    • It ensures that only one thread can access the shared resource at a time.

    • It can be applied to methods or blocks of code.

    • It can cause performance issues if used excessively.

    • Example: synchronized void myMethod() { //code }

    • Example: synchronized(this) { //code }

  • Answered by AI
  • Q19. Difference between string and string buffer
  • Ans. 

    String is immutable while StringBuffer is mutable.

    • StringBuffer is faster for concatenation operations.

    • StringBuffer has methods to modify the string while String does not.

    • StringBuffer is thread-safe while String is not.

    • Example: String str = "hello"; StringBuffer sb = new StringBuffer(str); sb.append(" world");

    • Example: String str = "hello"; str.concat(" world"); // returns a new string, original string is not modified.

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

    Design patterns are reusable solutions to common software problems.

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

    • Some popular design patterns in Java are Singleton, Factory, Observer, and Decorator.

    • Singleton pattern ensures that only one instance of a class is created.

    • Factory pattern provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objec...

  • Answered by AI
  • Q21. Describe reflection api in java
  • Ans. 

    Reflection API in Java allows inspection and modification of runtime behavior of a program.

    • Reflection API provides classes like Class, Method, Field, Constructor, etc. to inspect and modify the behavior of a program at runtime.

    • It can be used to access private fields and methods of a class.

    • It can be used to create new instances of a class dynamically.

    • It can be used to invoke methods of a class dynamically.

    • It can be used...

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Mainly they are looking for experienced spring boot developers. Be sure to have knowledge of all things mentioned in your resume.

Skills evaluated in this interview

Interview questions from similar companies

Interview Questionnaire 

3 Questions

  • Q1. Mathematical ,verbal, logical, puzzles, pseudo code
  • Q2. Verbal
  • Q3. Logical

Interview Preparation Tips

Interview preparation tips for other job seekers - Help me for infosys apptitude test interview

Fullstack Java Application Developer Interview Questions Asked at Other Companies

asked in Accenture
Q1. Which authentication methods are used to secure REST APIs?
asked in Accenture
Q2. Which data structures are used in arrays and hashmaps?
asked in Accenture
Q3. Write a program to find duplicate elements in an ArrayList.
asked in Accenture
Q4. What is the difference between getSession() and load() in Hiberna ... read more
asked in Coforge
Q5. How do microservices communicate with each other?

Interview Questionnaire 

1 Question

  • Q1. Based on programming

I applied via Campus Placement and was interviewed before May 2021. There were 4 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 - Aptitude Test 

VERBAL QUANT DI/LR and Picture based test

Round 3 - Technical 

(1 Question)

  • Q1. Write a fibonaci series in c++ or C?
  • Ans. 

    Fibonacci series can be easily implemented using loops in C++ or C.

    • Declare variables for first two numbers of the series

    • Use a loop to calculate and print the next number in the series

    • Repeat the loop until desired number of terms are printed

  • Answered by AI
Round 4 - HR 

(1 Question)

  • Q1. Informed about the policies and made us sign a document

Interview Preparation Tips

Interview preparation tips for other job seekers - Just be calm and composed while answering the questions.

Skills evaluated in this interview

What people are saying about Accenture

View All
lavenderalmond
Verified Icon
5d
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.

I applied via Recruitment Consultant and was interviewed before Oct 2020. There was 1 interview round.

Interview Questionnaire 

2 Questions

  • Q1. What is Abstraction
  • Q2. Concept of hiding implementation

Interview Preparation Tips

Interview preparation tips for other job seekers - Not bad, good atmosphere, positive response from staff

I applied via Naukri.com and was interviewed in Mar 2021. There was 1 interview round.

Interview Questionnaire 

4 Questions

  • Q1. Yourself
  • Q2. How do you feel about working nights and weekends?
  • Ans. 

    I am open to working nights and weekends if it aligns with project needs and team goals, ensuring productivity and collaboration.

    • Flexibility: I understand that software development can require off-hours work, especially during critical project phases.

    • Team Collaboration: Working nights or weekends can enhance communication with team members in different time zones.

    • Project Deadlines: I am willing to put in extra hours to...

  • Answered by AI
  • Q3. I will try to complete my tasks within weekdays effectively and efficiently to avoid weekand night work.
  • Q4. What is the difference b/w confidence and over confidence?

Interview Preparation Tips

Interview preparation tips for other job seekers - Tech mahendra company is a very efficent work hard and if you have a growth of employees skills and sincearly work hard

I applied via LinkedIn and was interviewed in Apr 2021. There were 4 interview rounds.

Interview Questionnaire 

2 Questions

  • Q1. What is data structures
  • Ans. 

    Data structures are ways of organizing and storing data in a computer so that it can be accessed and used efficiently.

    • Data structures are used to manage and manipulate data.

    • They can be implemented using arrays, linked lists, trees, graphs, and other methods.

    • Examples include stacks, queues, hash tables, and binary search trees.

  • Answered by AI
  • Q2. Why database
  • Ans. 

    Databases are essential for storing and managing large amounts of data efficiently.

    • Databases allow for easy organization and retrieval of data

    • They provide data security and integrity

    • Databases enable scalability and performance optimization

    • Examples include MySQL, Oracle, MongoDB, and SQL Server

  • Answered by AI

Interview Preparation Tips

Interview preparation tips for other job seekers - Good,and bit advanced for student point of view

Skills evaluated in this interview

Are these interview questions helpful?

I applied via Naukri.com and was interviewed before May 2021. There were 3 interview rounds.

Round 1 - Technical 

(1 Question)

  • Q1. Java Collection, OOPS, Seralization
Round 2 - Technical 

(1 Question)

  • Q1. Java OOPS, Collection, threading, SQL
Round 3 - HR 

(1 Question)

  • Q1. Nothing specific, Salary Negotiations.

Interview Preparation Tips

Interview preparation tips for other job seekers - overall good experience and process was quick

I applied via Company Website and was interviewed before Jan 2021. There were 5 interview rounds.

Interview Questionnaire 

3 Questions

  • Q1. Tell me about yourself?
  • Q2. Normalization concept,Java basics inheritance overloading, encapsulation ,update table ,related to projects in final year
  • Q3. Situation based questions based on project

Interview Preparation Tips

Interview preparation tips for other job seekers - Be calm and confident and be genuine whatever you explain that should be very specific to question and if u are feeling narvous then put a gentle smile on your face,if you don't know about question ask then try little bit and say sir I will read about this.
All the Best😊😊

Interview Questionnaire 

1 Question

  • Q1. Basic questions

Accenture Interview FAQs

How many rounds are there in Accenture Fullstack Java Application Developer interview?
Accenture interview process usually has 2 rounds. The most common rounds in the Accenture interview process are Technical and Resume Shortlist.
What are the top questions asked in Accenture Fullstack Java Application Developer interview?

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

  1. which authentication methods used to secure rest ...read more
  2. which data structure used in array and hash...read more
  3. write a program to get duplicate element in array l...read more

Tell us how to improve this page.

Overall Interview Experience Rating

5/5

based on 1 interview experience

Difficulty level

Moderate 100%

Duration

Less than 2 weeks 100%
View more

Interview Questions from Similar Companies

TCS Interview Questions
3.6
 • 11.1k Interviews
Infosys Interview Questions
3.6
 • 7.9k Interviews
Wipro Interview Questions
3.7
 • 6.1k Interviews
Cognizant Interview Questions
3.7
 • 5.9k Interviews
Capgemini Interview Questions
3.7
 • 5.1k Interviews
Tech Mahindra Interview Questions
3.5
 • 4.1k Interviews
HCLTech Interview Questions
3.5
 • 4.1k Interviews
Genpact Interview Questions
3.7
 • 3.4k Interviews
IBM Interview Questions
3.9
 • 2.5k Interviews
DXC Technology Interview Questions
3.6
 • 842 Interviews
View all
Accenture Fullstack Java Application Developer Salary
based on 7 salaries
₹5.3 L/yr - ₹12.8 L/yr
At par with the average Fullstack Java Application Developer Salary in India
View more details
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