Posts

Showing posts from September, 2022

15 Core Java Questions Interview Questions(1-3 Yrs)

What are the 4 main OOPs concepts? What is the difference between Overloading and Overriding? Explain the different types of inheritance in java? What is the differance between abstract class and interface? Differance between finally,final and finalize? Explain the Garbage Collection in java? What are the methods in Object class? Explain the collection hierarchy? Differnce between List and Set? Difference between HashTable and HashSet? How hashmap internally works Difference between JDK,JRE and JVM? What is Stack and Heap memory? Why string is immutale in Java? How can we create a immutable class?