Java Interview Questions Cheat Sheet: by Via
Java Interview Questions Cheat Sheet: by Via
Object Oriented Final Makes a variable, method, or class An abstract class is a class which cannot be
Garbage Collection
Cloning
Interfaces
A Java interface is a bit like a class, except a Java interface can only
contain method signatures and fields. An Java interface cannot contain
an implementation of the methods, only the signature (name, parameters
and exceptions) of the method.
You can use interfaces in Java as a way to achieve polymorphism.