java interface constructor

Java Interfaces Tutorial

Many think that abstract methods are waste and interfaces are still more waste. If you understand correctly, you find their immense usage. Let us see one on Java Interfaces. Suppose I would like to construct a house. I take the help of Java interfaces as follows.

Observe, the method…

Abstract class constructor and Interface abstract

These are two different concepts which can be explained easily by a novice having a little bit knowledge of abstract classes and interfaces. It is advised to read abstract classes before going through this topics. It gives thorough understanding of abstract classes where some concepts you may not aware of,…