<?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>oops tricky interview questions c# - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/oops-tricky-interview-questions-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/oops-tricky-interview-questions-c/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Wed, 15 Sep 2021 07:21:55 +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>oops tricky interview questions c# - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/oops-tricky-interview-questions-c/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Which of the following are available only in the class hierarchy chain ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/which-of-the-following-are-available-only-in-the-class-hierarchy-chain/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/which-of-the-following-are-available-only-in-the-class-hierarchy-chain/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:22:04 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[c# oops scenario based interview questions]]></category>
		<category><![CDATA[class hierarchy example]]></category>
		<category><![CDATA[class hierarchy in c++]]></category>
		<category><![CDATA[class hierarchy in object oriented programming]]></category>
		<category><![CDATA[class hierarchy in oops]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[oops interview questions and answers]]></category>
		<category><![CDATA[oops interview questions and answers for 4 years experienced]]></category>
		<category><![CDATA[oops interview questions and answers for experienced]]></category>
		<category><![CDATA[oops interview questions c++]]></category>
		<category><![CDATA[oops interview questions in java]]></category>
		<category><![CDATA[oops interview questions in php]]></category>
		<category><![CDATA[oops practical interview questions c#]]></category>
		<category><![CDATA[oops tricky interview question]]></category>
		<category><![CDATA[oops tricky interview question php]]></category>
		<category><![CDATA[oops tricky interview questions and answers for experienced in c#]]></category>
		<category><![CDATA[oops tricky interview questions c#]]></category>
		<category><![CDATA[oops tricky interview questions java]]></category>
		<category><![CDATA[php oops interview questions for 5 year experience]]></category>
		<category><![CDATA[php oops interview questions with examples]]></category>
		<category><![CDATA[what is class hierarchy]]></category>
		<category><![CDATA[What is class hierarchy in OOP]]></category>
		<category><![CDATA[What is the class hierarchy]]></category>
		<category><![CDATA[Which of the following are available in the class hierarchy chain]]></category>
		<category><![CDATA[Which of the following are available only in the class hierarchy chain]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2570</guid>

					<description><![CDATA[Answer : C. Protected data members]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">Which of the following are available only in the class hierarchy chain ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. Public data members</p>
</div>
<div class="col-sm-6">
<p>B. Private data members</p>
</div>
<div class="col-sm-6">
<p>C. Protected data members</p>
</div>
<div class="col-sm-6">
<p>D. Member functions</p>
</div>
</div>
</div>
</div>
<h3 id="answer-c-protected-data-members"><b>Answer : </b>C. Protected data members</h3>
<div class="subheading">
<h2 id="explanation">Explanation :</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li><b>Public</b> &#8211; The members declared as Public are accessible from outside the Class through an object of the class.</li>
<li><b>Protected</b> &#8211; The members declared as Protected are accessible from outside the class but only in a class derived from it.</li>
<li><b>Private</b> &#8211; These members are only accessible from within the class. No outside Access is allowed.</li>
<li><b>Member Function</b> &#8211; Member functions are the functions, which have their declaration inside the class definition and works on the data members of the class. The definition of member functions can be inside or outside the definition of class.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/which-of-the-following-are-available-only-in-the-class-hierarchy-chain/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Tarun works all night long writing code and writing more and more classes for each object he now thinks that he can write a superclass which defines some hierarchical feature for other classes, what can he use ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/tarun-works-all-night-long-writing-code-and-writing-more-and-more-classes-for-each-object-he-now-thinks-that-he-can-write-a-superclass-which-defines-some-hierarchical-feature-for-other-classes-what-c/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/tarun-works-all-night-long-writing-code-and-writing-more-and-more-classes-for-each-object-he-now-thinks-that-he-can-write-a-superclass-which-defines-some-hierarchical-feature-for-other-classes-what-c/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:19:40 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[inheritance definition]]></category>
		<category><![CDATA[inheritance in java]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[oops concepts]]></category>
		<category><![CDATA[oops concepts in java]]></category>
		<category><![CDATA[oops interview questions]]></category>
		<category><![CDATA[oops interview questions and answers]]></category>
		<category><![CDATA[oops interview questions c++]]></category>
		<category><![CDATA[oops interview questions in java]]></category>
		<category><![CDATA[oops practical interview questions c#]]></category>
		<category><![CDATA[oops tricky interview question]]></category>
		<category><![CDATA[oops tricky interview questions c#]]></category>
		<category><![CDATA[Tarun works all night long writing code]]></category>
		<category><![CDATA[Tarun works all night long writing code and writing more]]></category>
		<category><![CDATA[Tarun works all night long writing code and writing more and more classes]]></category>
		<category><![CDATA[write a superclass which defines some hierarchical feature]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2569</guid>

					<description><![CDATA[Answer : C. Inheritance]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink" style="text-align: justify;">Tarun works all night long writing code and writing more and more classes for each object he now thinks that he can write a superclass which defines some hierarchical feature for other classes, what can he use ?</p>
<div class="row" style="text-align: justify;">
<div class="col-sm-6">
<p>A. Cascading</p>
</div>
<div class="col-sm-6">
<p>B. Hierarchical super positioning</p>
</div>
<div class="col-sm-6">
<p>C. Inheritance</p>
</div>
<div class="col-sm-6">
<p>D. Polymorphism</p>
</div>
</div>
</div>
</div>
<h3 id="answer-c-inheritance" style="text-align: justify;"><b>Answer : </b>C. Inheritance</h3>
<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;">In object-oriented programming, inheritance is that the mechanism of basing an object or category upon another object (prototypical inheritance) or category (class-based inheritance), holding similar implementation.</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/tarun-works-all-night-long-writing-code-and-writing-more-and-more-classes-for-each-object-he-now-thinks-that-he-can-write-a-superclass-which-defines-some-hierarchical-feature-for-other-classes-what-c/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
