java interface abstract

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 Static Method Java

Abstract Static Method looks odd as it cannot exist in Java and declaring so, compiler will not keep quiet. Discussed with Example, Screenshot in Simple terms in Question/Answer format for a Beginner. 1. Can we declare Abstract Static Method? Before answering this question, let us brief about abstract methods. Following…

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,…