Zafrul
TechStack
Home
Blog
Interview Q&A
Projects
AI Assistant
Resume Analyzer
Job Match
Contact
Java
General
Interview questions on General.
All Levels
Beginner
Intermediate
Advanced
Search
Showing
10
of
78
questions
1. What is Singleton? How to break Singleton?
+
2. In Java 21, how does a record differ from a standard class in terms of boilerplate and immutability?
+
3. What are Sequenced Collections in Java 21, and how do they differ from regular collections
+
4. 6⃣ What are the Security Enhancements in Java 25?
+
5. 7⃣ How is Memory and GC Improved in Java 25?
+
6. If you are using Spring Boot, you can use Lombok — but in Java 17 we have Records. How do they differ?
+
7. How do Sealed Classes improve control over inheritance?
+
8. What is cloning and why do we go for it? When is cloning useful?
+
9. What is serialization, why do we use it? What is the use of serialVersionUID?
+
10. How do we achieve immutability in Java? How to write your
+
Previous
Page 5 of 8
Next