<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>runtime polymorphism in c++ - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/runtime-polymorphism-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/runtime-polymorphism-in-c/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Mon, 02 May 2022 06:20:36 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>runtime polymorphism in c++ - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/runtime-polymorphism-in-c/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is Polymorphism in Java ?</title>
		<link>https://www.wikitechy.com/interview-questions/java/what-is-polymorphism-in-java/</link>
					<comments>https://www.wikitechy.com/interview-questions/java/what-is-polymorphism-in-java/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Tue, 13 Jul 2021 23:07:15 +0000</pubDate>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[compile time polymorphism in c++]]></category>
		<category><![CDATA[dark horse digital interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[FIS Global Business Solutions India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Infosys Technologies interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[method overloading in java]]></category>
		<category><![CDATA[method overriding in java]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Persistent Systems interview questions and answers]]></category>
		<category><![CDATA[polaris financial technology interview questions and answers]]></category>
		<category><![CDATA[polymorphism example c#]]></category>
		<category><![CDATA[polymorphism example in c++]]></category>
		<category><![CDATA[polymorphism example in java]]></category>
		<category><![CDATA[polymorphism in java]]></category>
		<category><![CDATA[polymorphism in object oriented programming]]></category>
		<category><![CDATA[polymorphism real time example]]></category>
		<category><![CDATA[RBS India De interview questions and answers]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[runtime polymorphism in c# example]]></category>
		<category><![CDATA[runtime polymorphism in c++]]></category>
		<category><![CDATA[runtime polymorphism is achieved by]]></category>
		<category><![CDATA[SAP Labs India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[static polymorphism in c++]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[telibrahma interview questions and answers]]></category>
		<category><![CDATA[types of polymorphism in c++]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=628</guid>

					<description><![CDATA[Answer : Polymorphism in Java is a concept in different ways...]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h2 id="what-is-polymorphism-in-java" class="color-pink" style="text-align: justify;">What is Polymorphism in Java ?</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Polymorphism in Java is a concept in different ways we can perform a single action.</li>
<li>Poly and morphs. The word &#8220;poly&#8221; means many and &#8220;morphs&#8221; means forms. Many forms are known as polymorphism.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/java/polymorphism-in-java.png" alt=" Polymorphism in Java" /></div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>There are two types of polymorphism in Java:
<ul>
<li>Compile-Time Polymorphism and</li>
<li>Runtime Polymorphism.</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Polymorphism in java we can perform by method overloading and method overriding.</li>
</ul>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="dynamic-method-dispatch-or-runtime-polymorphism-in-java" class="color-pink">Dynamic Method Dispatch or Runtime Polymorphism in Java</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Java supports Runtime Polymorphism is one of the ways is method overriding</li>
<li>A call to an overridden method is resolved at run time, rather than compile time it is called as dynamic method dispatch mechanism.</li>
<li>At run-time, it depends on the type of the object being referred that determines which version of an overridden method will be executed.</li>
<li>A subclass object refers by a superclass variable. This is also known as upcasting. Java uses this statistic to resolve calls to overridden methods at run time.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="img-responsive center-block aligncenter" src="https://cdn.wikitechy.com/interview-questions/java/upcasting.jpg" alt=" Upcasting" /></div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="example-of-java-runtime-polymorphism" class="color-blue">Example of Java Runtime Polymorphism</h2>
<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4232" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism.png" alt="" width="1092" height="1061" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism.png 1092w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism-300x291.png 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism-1024x995.png 1024w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism-768x746.png 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism-390x379.png 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2021/07/polymorphism-820x797.png 820w" sizes="(max-width: 1092px) 100vw, 1092px" /></p>
</div>
</div>
<div class="CodeContent" style="text-align: justify;">
<div class="hddn">
<figure class="highlight"><div class="code-embed-wrapper"> <div class="code-embed-infos"> </div> <pre class="language-java code-embed-pre line-numbers"  data-start="1" data-line-offset="0"><code class="language-java code-embed-code">class Bike{  <br/>  void run(){System.out.println(&quot;running&quot;);}  <br/>}  <br/>class Splendor extends Bike{  <br/>  void run(){System.out.println(&quot;running safely with 60km&quot;);}  <br/>  <br/>  public static void main(String args[]){  <br/>    Bike b = new Splendor();//upcasting  <br/>    b.run();  <br/>  }  <br/>} </code></pre> </div></figure>
</div>
</div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="output" class="color-blue">Output</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn"></div>
</div>
<div class="Output">
<div class="hddn">
<figure class="highlight" style="text-align: justify;">
<pre><code class="hljs javascript" data-lang=""><span class="nt">running safely <span class="hljs-keyword">with</span> <span class="hljs-number">60</span>km.</span></code></pre>
</figure>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/java/what-is-polymorphism-in-java/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>The operator when overloaded in a class ?</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 23:03:08 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[compile time polymorphism in c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[oops concepts]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[polymorphism c++]]></category>
		<category><![CDATA[polymorphism c++ shapes]]></category>
		<category><![CDATA[polymorphism example]]></category>
		<category><![CDATA[polymorphism in c++]]></category>
		<category><![CDATA[polymorphism in c++ with example program]]></category>
		<category><![CDATA[polymorphism in oops]]></category>
		<category><![CDATA[polymorphism in oops with example in c++]]></category>
		<category><![CDATA[polymorphism programming]]></category>
		<category><![CDATA[polymorphism types]]></category>
		<category><![CDATA[polymorphism vs inheritance]]></category>
		<category><![CDATA[runtime polymorphism]]></category>
		<category><![CDATA[runtime polymorphism in c++]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of polymorphism]]></category>
		<category><![CDATA[types of polymorphism in c++]]></category>
		<category><![CDATA[types of polymorphism in oops]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=392</guid>

					<description><![CDATA[Answer : B. Ad-hoc polymorphism]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="the-operator-when-overloaded-in-a-class" class="color-pink" style="text-align: justify;">The operator when overloaded in a class ?</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. Virtual polymorphism</p>
</div>
<div class="col-sm-6">
<p>B. Ad-hoc polymorphism</p>
</div>
<div class="col-sm-6">
<p>C. Transient polymorphism</p>
</div>
<div class="col-sm-6">
<p>D. Pseudo polymorphism</p>
</div>
</div>
<h3 id="answer-b-ad-hoc-polymorphism" style="text-align: justify;"><b>Answer : </b>B. Ad-hoc polymorphism</h3>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Polymorphism means having many forms that in a single entity can takes more than one form.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div><img decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/c++/polymorphism-in-cpp.jpg" alt="polymorphism in cpp" width="650" height="360" /></div>
<div class="hddn">The polymorphism classes are given below:</div>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li>
<ul>
<li style="text-align: justify;">Subtype polymorphism is also known as <b>runtime polymorphism</b></li>
<li style="text-align: justify;">Parametric polymorphism is also known as <b>compile-time polymorphism</b></li>
<li style="text-align: justify;">Ad-hoc polymorphism is also known as <b>overloading</b></li>
<li style="text-align: justify;">Coercion is also known as (implicit or explicit) <b>casting</b></li>
</ul>
</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/the-operator-when-overloaded-in-a-class/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>C++ supports run time polymorphism with the help of virtual functions, which is called ______ binding</title>
		<link>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/</link>
					<comments>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 22:49:38 +0000</pubDate>
				<category><![CDATA[C++]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Atos interview questions and answers]]></category>
		<category><![CDATA[BMC Software interview questions and answers]]></category>
		<category><![CDATA[Bosch India Software interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[Chetu interview questions and answers]]></category>
		<category><![CDATA[Ciena Corporation interview questions and answers]]></category>
		<category><![CDATA[compile time polymorphism in c++]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[eInfochips interview questions and answers]]></category>
		<category><![CDATA[Electronics Arts Inc interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Harman International interview questions and answers]]></category>
		<category><![CDATA[how runtime polymorphism is achieved in c++]]></category>
		<category><![CDATA[Indecomm Global Services interview questions and answers]]></category>
		<category><![CDATA[Larsen & Toubro interview questions and answers]]></category>
		<category><![CDATA[Mathworks India Private Limited interview questions and answers]]></category>
		<category><![CDATA[Mavenir interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[need of virtual function in c++]]></category>
		<category><![CDATA[NetApp interview questions and answers]]></category>
		<category><![CDATA[Oracle Corporation interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[Philips Software Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[polymorphism and virtual function in c++]]></category>
		<category><![CDATA[polymorphism example]]></category>
		<category><![CDATA[polymorphism in c++ with example programpolymorphism in c++]]></category>
		<category><![CDATA[polymorphism programming]]></category>
		<category><![CDATA[polymorphism programmingcompile time polymorphism in c++]]></category>
		<category><![CDATA[pure virtual function in c++]]></category>
		<category><![CDATA[runtime polymorphism]]></category>
		<category><![CDATA[runtime polymorphism in c++]]></category>
		<category><![CDATA[runtime polymorphism is achieved by virtual function in c++]]></category>
		<category><![CDATA[Sapient Technical and HR Interview Questions]]></category>
		<category><![CDATA[SRM Technologies interview questions and answers]]></category>
		<category><![CDATA[Symphony Teleca interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[Tecnotree interview questions and answers]]></category>
		<category><![CDATA[types of polymorphism in c++]]></category>
		<category><![CDATA[use of virtual function in c++]]></category>
		<category><![CDATA[Virtual Function in C++]]></category>
		<category><![CDATA[virtual function in c++ with example]]></category>
		<category><![CDATA[Wipro Infotech interview questions and answers]]></category>
		<category><![CDATA[Wipro interview questions and answers]]></category>
		<category><![CDATA[Yash Technologies interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=384</guid>

					<description><![CDATA[Answer : A. Dynamic]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<h3 id="c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding" class="color-pink" style="text-align: justify;">C++ supports run time polymorphism with the help of virtual functions, which is called ______ binding.</h3>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. Dynamic</p>
</div>
<div class="col-sm-6">
<p>B. Run time</p>
</div>
<div class="col-sm-6">
<p>C. Early binding</p>
</div>
<div class="col-sm-6">
<p>D. Static</p>
</div>
</div>
<h3 id="answer-a-dynamic" style="text-align: justify;"><b>Answer : </b>A. Dynamic</h3>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">Dynamic binding (dynamic dispatch) means that a block of code executed with reference to a procedure call is determined at run time.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/cpp/c-supports-run-time-polymorphism-with-the-help-of-virtual-functions-which-is-called-______-binding/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
