Goldman Sachs Java Associate Interview Experience (Core Java Focus)
- Location
- Bangalore
- Experience
- 4.5 years
- Posted
- 27 May 2025
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:
- What is immutable in Java?
- How does
PriorityQueuework in Java? - Define an immutable class.
- How is
Stringimmutable in Java? - Define a singleton class.
- What is a functional interface?
- What are the different types of functional interfaces?
- What is a stream in Java?
- What is the difference between
final,finally, andfinalizein Java? - What is the use of
finalize()method? - What is the purpose of a singleton class?
- What is the internal working of
HashMapandHashSet? - How does
HashSetstore unique values? - What is the difference between
DELETEandTRUNCATEin SQL? - What are ACID properties in the context of databases?
- How can we define a method inside an interface?
- 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)
- 01
What is immutable in Java?
Data Structures & Algorithms
What is immutable in Java?
- 02
How does PriorityQueue work in Java?
Data Structures & Algorithms
How does
PriorityQueuework in Java? - 03
Define an immutable class.
Data Structures & Algorithms
Define an immutable class.
- 04
How is String immutable in Java?
Data Structures & Algorithms
How is
Stringimmutable in Java? - 05
Define a singleton class.
Data Structures & Algorithms
Define a singleton class.
- 06
What is a functional interface?
Data Structures & Algorithms
What is a functional interface?
- 07
What are the different types of functional interfaces?
Data Structures & Algorithms
What are the different types of functional interfaces?
- 08
What is a stream in Java?
Data Structures & Algorithms
What is a stream in Java?
- 09
Difference between final, finally, and finalize in Java.
Data Structures & Algorithms
What is the difference between
final,finally, andfinalizein Java? - 10
What is the use of finalize() method?
Data Structures & Algorithms
What is the use of
finalize()method? - 11
What is the purpose of a singleton class?
Data Structures & Algorithms
What is the purpose of a singleton class?
- 12
Internal working of HashMap and HashSet.
Data Structures & Algorithms
What is the internal working of
HashMapandHashSet? - 13
How does HashSet store unique values?
Data Structures & Algorithms
How does
HashSetstore unique values? - 14
Difference between DELETE and TRUNCATE in SQL.
Data Structures & Algorithms
What is the difference between
DELETEandTRUNCATEin SQL? - 15
What are ACID properties in databases?
Data Structures & Algorithms
What are ACID properties in the context of databases?
- 16
How can we define a method inside an interface?
Data Structures & Algorithms
How can we define a method inside an interface?
- 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)?