<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=Method_overriding</id>
		<title>Method overriding - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.karljones.com/index.php?action=history&amp;feed=atom&amp;title=Method_overriding"/>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=Method_overriding&amp;action=history"/>
		<updated>2026-10-23T13:33:34Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.2</generator>

	<entry>
		<id>http://wiki.karljones.com/index.php?title=Method_overriding&amp;diff=14205&amp;oldid=prev</id>
		<title>Karl Jones: Created page with &quot;'''Method overriding''', in object oriented programming, is a language feature that allows a subclass or child class to provide a specific...&quot;</title>
		<link rel="alternate" type="text/html" href="http://wiki.karljones.com/index.php?title=Method_overriding&amp;diff=14205&amp;oldid=prev"/>
				<updated>2016-04-28T14:17:41Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;#039;&amp;#039;&amp;#039;Method overriding&amp;#039;&amp;#039;&amp;#039;, in &lt;a href=&quot;/index.php?title=Object_oriented_programming&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Object oriented programming (page does not exist)&quot;&gt;object oriented programming&lt;/a&gt;, is a language feature that allows a &lt;a href=&quot;/index.php?title=Subclass_(computer_science)&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Subclass (computer science) (page does not exist)&quot;&gt;subclass&lt;/a&gt; or child class to provide a specific...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Method overriding''', in [[object oriented programming]], is a language feature that allows a [[Subclass (computer science)|subclass]] or child class to provide a specific implementation of a [[Method (computer science)|method]] that is already provided by one of its [[Superclass (computer science)|superclasses]] or parent classes.&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
&lt;br /&gt;
The implementation in the subclass overrides (replaces) the implementation in the superclass by providing a method that has same name, same [[Parameter (computer science)|parameters]] or signature, and same return type as the method in the parent class.&lt;br /&gt;
&lt;br /&gt;
The version of a [[Method (computer science)|method]] that is executed will be determined by the [[Object (computer science)|object]] that is used to invoke it.&lt;br /&gt;
&lt;br /&gt;
If an object of a parent class is used to invoke the method, then the version in the parent class will be executed, but if an object of the subclass is used to invoke the method, then the version in the child class will be executed&lt;br /&gt;
&lt;br /&gt;
Some [[programming languages]] allow a [[computer programmer]] to prevent a method from being overridden.&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
&lt;br /&gt;
* [[Implementation inheritance]]&lt;br /&gt;
* [[Inheritance semantics]]&lt;br /&gt;
* [[Method overloading]]&lt;br /&gt;
* [[Object oriented programming]]&lt;br /&gt;
* [[Polymorphism in object-oriented programming]]&lt;br /&gt;
* [[Template method pattern]]&lt;br /&gt;
* [[Virtual inheritance]]&lt;br /&gt;
&lt;br /&gt;
== External links ==&lt;br /&gt;
&lt;br /&gt;
* [https://en.wikipedia.org/wiki/Method_overriding Method overriding] @ wiki.karljones.com&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Computer science]]&lt;br /&gt;
[[Category:Software engineering]]&lt;/div&gt;</summary>
		<author><name>Karl Jones</name></author>	</entry>

	</feed>