Java Developer Interview Questions Based on Resume for Accenture
Core Java & OOPs Concepts
- What are the main principles of OOP and how have you used them in your projects?
- What is the difference between '==' and '.equals()' in Java?
- How does Java handle memory management and garbage collection?
- What is the purpose of 'final', 'finally', and 'finalize()' in Java?
- Explain exception handling in Java. What's the difference between 'throw' and 'throws'?
Java 8 Features
- What are Lambda Expressions and how are they used?
- What is the Stream API and how have you used it in real-time applications?
- What is the Optional class and when should it be used?
- Explain functional interfaces and give examples.
Spring & Spring Boot
- Explain the Spring Boot architecture.
- How does dependency injection work in Spring?
- What is the difference between '@Component', '@Service', and '@Repository'?
- What are Spring Boot starters?
- How do you configure properties in Spring Boot?
- What is Spring Data JPA and how is it used with repositories?
- Explain how exception handling is done in Spring Boot REST APIs.
RESTful Web Services
- What is the difference between PUT and POST in REST?
- How do you secure REST APIs in your projects?
- Explain how you handle request and response data (JSON/XML).
- How do you test your REST APIs? What tools do you use (e.g., Postman)?
Microservices & Docker/Kubernetes
- What is the difference between monolithic and microservices architecture?
- How do you containerize a Spring Boot application using Docker?
- What is the role of Kubernetes in your deployment pipeline?
- How do microservices communicate with each other (e.g., REST, message brokers)?
- What challenges have you faced with microservices and how did you solve them?
SQL & Databases
- What's the difference between 'INNER JOIN', 'LEFT JOIN', and 'RIGHT JOIN'?
- How do you optimize queries in Oracle or MySQL?
- Explain normalization and when to use it.
- Have you worked with stored procedures or views?
Tools & DevOps
- How do you use Maven in your projects?
- What is CI/CD? How do you use Jenkins in your pipeline?
- What version control systems have you used (Git, BitBucket)?
- What is the importance of unit testing? How do you write tests using JUnit?
Behavioral & Project-Based
- Describe your role and responsibilities in the HP B2B project.
- What were some challenges you faced and how did you overcome them?
- How do you handle code reviews and peer feedback?
- Why do you want to join Accenture?
- Are you open to relocation or working on new technologies?