Java Inheritance
Inheritance in Java is a process in which sub class inherits all the properties of super class(parent class).
Inheritance in Java is a process in which sub class inherits all the properties of super class(parent class).
In Java, garbage collection is a process of providing Automatic Memory Management by reclaiming the runtime unused memory automatically which destroy unused objects.
Static keyword belongs to class than an object(instance of class) and is used for memory management