Method (computer programming): Difference between revisions

Content deleted Content added
Line 95:
 
====Example====
In C#, a virtual method can be overridden with an abstract method. (This also applies to Java, where all non-private methods are virtual.)
<syntaxhighlight lang="csharp">
class IA