Posts

π—ͺπ—Άπ˜€π˜€π—²π—» (DSA | Java | SpringBoot | System Design | SQL)

🟒 Java Basics 1. Why is Java considered a platform-independent language? 2. Why is Java not a purely object-oriented language? 3. What is the difference between JDK, JRE, and JVM? 4. What is the role of JIT compiler in Java? 5. What is the difference between Heap and Stack memory in Java? ⸻ 🟠 OOPs & Core Concepts 6. What are the four pillars of OOPs in Java? 7. What is the difference between a class and an object? 8. What is the difference between a constructor and a method? 9. Can the main method be overloaded in Java? 10. What is the difference between method overloading and method overriding? ⸻ πŸ”΅ Inheritance & Polymorphism 11. What is inheritance and how is it implemented in Java? 12. What is the use of the super keyword in Java? 13. What does the final keyword mean with variables, methods, and classes? 14. What is method hiding in Java (static methods) vs method overriding? 15. What is the difference between an abstract class and an interface? ⸻ 🟑 Strings...