In Java, you can subclass (use extends keyword) or implement an interface.
You can also override the constructor including default constructor to write own code (generally for initialization).
Exceptions in Java are the classes that are singleton class or having private constructor, e.g Maths class.