Method (computer programming): Difference between revisions

Content deleted Content added
They are different
Abstract methods: add a link, fix another
Line 64:
 
==Abstract methods==
An ''abstract method'' is one with only a [[function prototype|signature]] and no [[Class implementation file|implementation]] body]]. It is often used to specify that a subclass must provide an implementation of the method. Abstract methods are used to specify [[Interface (computer science)|interfaces]] in some computer languages.<ref>{{cite web|title=Abstract Methods and Classes|url=http://docs.oracle.com/javase/tutorial/java/IandI/abstract.html|website=oracle.com|publisher=Oracle Java Documentation|accessdate=11 December 2014}}</ref>
 
===Example===