Video summary

Accenture | Java Full Stack Interview | Java, REST, Micro Service, Spring Boot,Angular| Java Coding

Main summary

Key takeaways

Technology

Summary

The video presents a guide to questions reportedly asked in an Accenture interview for a Java full-stack developer role. The presenter says the interview covered Java, Spring Boot, REST APIs, microservices, SQL, and Angular. They also share advice on explaining project experience and technical concepts.

Interview Preparation

  • Prepare a concise introduction covering your project, responsibilities, and the technologies used.
  • Rate your Java ability realistically. The presenter suggests that candidates with solid knowledge might choose around 7 or 8 out of 10, since the interviewer may use the rating to guide follow-up questions.
  • Be ready to name the Java and Angular versions used in your project and explain why they were chosen.
  • At the end of the interview, ask relevant questions—for example, about the project or whether the interview is project-specific.

Java 8 Concepts

The presenter reviews several Java 8 features:

  • Interface default and static methods: Default methods provide an implementation that implementing classes may override. Static methods belong to the interface and are not overridden by implementing classes.
  • Lambda expressions: A concise way to express behavior, commonly used with functional interfaces and collection operations.
  • Functional interfaces: Interfaces with one abstract method. The @FunctionalInterface annotation lets the compiler check this constraint. Functional interfaces can also have default and static methods.
  • forEach and streams: Used to iterate over collections and perform operations such as filtering. A stream processes data without changing the original collection.
  • Optional: Presented as a way to help handle potentially absent values.
  • Date and Time API: Introduced in Java 8. The presenter notes that its date and time types are thread-safe.
  • Base64: Mentioned for encoding and decoding data.

Microservices and REST

  • A monolithic application keeps its modules in one codebase and is generally deployed as a single application.
  • A microservices architecture divides functionality into smaller services that communicate over HTTP or REST. The presenter highlights independent deployment and the ability to update one service without redeploying the whole application.
  • The HTTP methods discussed are:
    • GET: Retrieve data.
    • POST: Create data.
    • PUT: Update or replace data, and potentially create it if the resource is absent.
    • DELETE: Remove data.

Spring Boot CRUD Walkthrough

For an employee-style resource, the presenter outlines a layered Spring Boot structure:

  1. Create a model or entity class and map its fields to database columns.
  2. Use JPA annotations such as @Entity, @Id, and a generated-value annotation for the primary key.
  3. Add a repository extending JpaRepository, which provides operations such as save, findAll, findById, and delete.
  4. Put application logic in a service class.
  5. Expose endpoints through a controller, using mappings such as @GetMapping.

The walkthrough’s example uses an article entity with an ID, name, quantity, and price.

Collections and SQL

  • HashMap: Stores key-value pairs. The presenter describes hashing a key to locate a bucket and using equality checks to find a matching key when retrieving a value or handling collisions.
  • ConcurrentHashMap: Discussed as a thread-safe map intended to support concurrent access. The presenter contrasts it with collections that may fail during iteration if modified concurrently.
  • Fourth-highest salary: The SQL approach sorts distinct salaries in descending order and selects the fourth value using an offset of three—for example, LIMIT 3, 1 in MySQL. An outer query can then return employees with that salary.
  • Joins: The presenter covers inner and left joins, and mentions right and outer joins. Inner joins return matching rows; left joins include all rows from the left table as well as matching rows from the right table.

Angular

The interview discussion includes questions about Angular versions and framework choice. The presenter describes Angular as component-based and mentions routing, browser animation support, and API calls.

For passing data between components:

  • Parent to child: @Input
  • Child to parent: @Output
  • Unrelated components: A shared service

Accuracy Note

Some technical explanations in the subtitles are imprecise. In particular, GET is not inherently “unsafe” simply because parameters may appear in a URL; Base64 is encoding, not encryption; and describing ConcurrentHashMap as using a fixed set of segments does not reflect all Java implementations. The lambda syntax is also garbled in the subtitles; it is generally written with parentheses and an arrow, such as (x) -> ....

Main Speakers and Sources

  • Ashish, the presenter, shares and explains the interview questions.
  • The interview questions and project details are attributed to a friend of the presenter who reportedly attended the Accenture interview.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video