goldman sachs logo
Goldman Sachs· Java Associate

Goldman Sachs Java Associate Interview Experience (Core Java Focus)

Location
Bangalore
Experience
4.5 years
Posted
27 May 2025
341 reads

Summary

I recently interviewed for the Java Associate role at Goldman Sachs in Bangalore. I was asked a series of core Java-focused questions, covering concepts like immutability, collections, functional interfaces, and database fundamentals. I am sharing these questions for others to prepare.

How it went

Hey LeetCoders! 👋

I recently interviewed for the Java Associate role at Goldman Sachs, and I wanted to share the list of Java-focused core questions that were asked during my interview. These questions test both conceptual clarity and hands-on experience with Java.

YOE : 4.5 yrs
Current Role : SDE 2
Location : Bangalore

Here’s a list of the questions that were asked:

  1. What is immutable in Java?
  2. How does PriorityQueue work in Java?
  3. Define an immutable class.
  4. How is String immutable in Java?
  5. Define a singleton class.
  6. What is a functional interface?
  7. What are the different types of functional interfaces?
  8. What is a stream in Java?
  9. What is the difference between final, finally, and finalize in Java?
  10. What is the use of finalize() method?
  11. What is the purpose of a singleton class?
  12. What is the internal working of HashMap and HashSet?
  13. How does HashSet store unique values?
  14. What is the difference between DELETE and TRUNCATE in SQL?
  15. What are ACID properties in the context of databases?
  16. How can we define a method inside an interface?
  17. Which keyword is used to define a method in an interface (Java 8 onwards)?

🔍 Your Turn!
If you know the answers or have been asked similar questions in interviews, drop your responses in the comments! Let’s help each other grow. 🙌

💬 Also, feel free to add your own Goldman Sachs interview questions in the thread!

Happy coding! 💻
#Java #InterviewExperience #GoldmanSachs #JavaInterview #LeetCode


Let me know if you’d like to add an intro about your background or tailor this for LinkedIn as well.

Questions asked (17)

  1. 01

    What is immutable in Java?

    Data Structures & Algorithms

    What is immutable in Java?

  2. 02

    How does PriorityQueue work in Java?

    Data Structures & Algorithms

    How does PriorityQueue work in Java?

  3. 03

    Define an immutable class.

    Data Structures & Algorithms

    Define an immutable class.

  4. 04

    How is String immutable in Java?

    Data Structures & Algorithms

    How is String immutable in Java?

  5. 05

    Define a singleton class.

    Data Structures & Algorithms

    Define a singleton class.

  6. 06

    What is a functional interface?

    Data Structures & Algorithms

    What is a functional interface?

  7. 07

    What are the different types of functional interfaces?

    Data Structures & Algorithms

    What are the different types of functional interfaces?

  8. 08

    What is a stream in Java?

    Data Structures & Algorithms

    What is a stream in Java?

  9. 09

    Difference between final, finally, and finalize in Java.

    Data Structures & Algorithms

    What is the difference between final, finally, and finalize in Java?

  10. 10

    What is the use of finalize() method?

    Data Structures & Algorithms

    What is the use of finalize() method?

  11. 11

    What is the purpose of a singleton class?

    Data Structures & Algorithms

    What is the purpose of a singleton class?

  12. 12

    Internal working of HashMap and HashSet.

    Data Structures & Algorithms

    What is the internal working of HashMap and HashSet?

  13. 13

    How does HashSet store unique values?

    Data Structures & Algorithms

    How does HashSet store unique values?

  14. 14

    Difference between DELETE and TRUNCATE in SQL.

    Data Structures & Algorithms

    What is the difference between DELETE and TRUNCATE in SQL?

  15. 15

    What are ACID properties in databases?

    Data Structures & Algorithms

    What are ACID properties in the context of databases?

  16. 16

    How can we define a method inside an interface?

    Data Structures & Algorithms

    How can we define a method inside an interface?

  17. 17

    Keyword for defining methods in an interface (Java 8 onwards).

    Data Structures & Algorithms

    Which keyword is used to define a method in an interface (Java 8 onwards)?

Know someone preparing? Send it to them:WhatsAppLinkedInX

Interviewed at Goldman Sachs recently?

Write up your rounds while you still remember the questions. It helps the next person more than you would think.

Share your experience
Discussion 0

Questions for the author, or how your own interview compared.

Join the discussion

Sign in with Google to comment or ask the author a question.

No comments yet

Be the first to share your thoughts and start the discussion!