0
Wat is the difference between interface and abstract in java
I need detail explanation
1 Resposta
+ 1
Abstract class cannot be constructed in a code. It only contains functions (with or no realization) and fields that children classes inherit.
Interface is a container for functions. Class which inherits an interface must implement all functions.
In C# class has only 1 parent (abstract or non-abstract class) and infinite amount of interfaces.