Mohi Soni’s Post

Day 8 – Java OOPS Revision Today I revised some important Java interview topics: Abstract class: what it is and why we use it Abstract class vs Interface (detailed) Can an interface have methods with body? (default/static methods) Why Java doesn’t support multiple inheritance with classes How Java achieves multiple inheritance using interfaces Constructors: what they are and types of constructors Can we override a constructor? Object cloning basics Garbage collection in Java Stack memory vs Heap memory JVM vs JRE vs JDK finally block (with example) finalize() method and whether it is deprecated When to use abstract class over interface Next I’ll revise more oops concept. #java #oops #interviewprep #placements #learning

To view or add a comment, sign in

Explore content categories