Content deleted Content added
Line 95:
====Example====
In C#, a virtual method can be overridden with an abstract method. (This also applies to Java.)
<syntaxhighlight lang="csharp">
class IA
Line 106 ⟶ 107:
</syntaxhighlight>
Interfaces' default methods can also be reabstracted, requiring subclasses to implement them. (This also applies to Java.)
<syntaxhighlight lang="csharp">
interface IA
|