<?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>What are the access specifiers - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/what-are-the-access-specifiers/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/what-are-the-access-specifiers/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 03 Sep 2021 09:20:12 +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>What are the access specifiers - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/what-are-the-access-specifiers/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How will a class protect the code inside it ?</title>
		<link>https://www.wikitechy.com/interview-questions/programming/how-will-a-class-protect-the-code-inside-it/</link>
					<comments>https://www.wikitechy.com/interview-questions/programming/how-will-a-class-protect-the-code-inside-it/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Fri, 27 Aug 2021 00:13:17 +0000</pubDate>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[access specifier]]></category>
		<category><![CDATA[access specifier in c++]]></category>
		<category><![CDATA[access specifier in class]]></category>
		<category><![CDATA[access specifiers in c# mcq]]></category>
		<category><![CDATA[access specifiers in c++]]></category>
		<category><![CDATA[access specifiers in c++ with examples]]></category>
		<category><![CDATA[access specifiers in java]]></category>
		<category><![CDATA[encapsulation is also responsible for security and diversity in java]]></category>
		<category><![CDATA[functions of access specifier]]></category>
		<category><![CDATA[How will a class protect the code inside it]]></category>
		<category><![CDATA[Inheritance and access specifiers]]></category>
		<category><![CDATA[Most Asked Sapient Nitro Interview Questions]]></category>
		<category><![CDATA[object oriented programming exam questions and answers]]></category>
		<category><![CDATA[object oriented programming in java mcq with answers]]></category>
		<category><![CDATA[object oriented programming in java questions and answers]]></category>
		<category><![CDATA[object oriented programming mcq with answers]]></category>
		<category><![CDATA[object oriented programming questions and answers]]></category>
		<category><![CDATA[oop mcqs test]]></category>
		<category><![CDATA[protected class]]></category>
		<category><![CDATA[uses of access specifier in class]]></category>
		<category><![CDATA[What are the access specifiers]]></category>
		<category><![CDATA[what is protected class]]></category>
		<category><![CDATA[What is protected in OOP]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=2566</guid>

					<description><![CDATA[Answer : A. Using access specifier]]></description>
										<content:encoded><![CDATA[<div class="TextHeading">
<div class="hddn">
<p class="color-pink">How will a class protect the code inside it ?</p>
<div class="row">
<div class="col-sm-6">
<p>A. Using access specifier</p>
</div>
<div class="col-sm-6">
<p>B. Abstraction</p>
</div>
<div class="col-sm-6">
<p>C. Use of inheritance</p>
</div>
<div class="col-sm-6">
<p>D. All of the mentioned</p>
</div>
</div>
</div>
</div>
<h3 id="answer-a-using-access-specifier"><b>Answer : </b>A. Using access specifier</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>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/programming/how-will-a-class-protect-the-code-inside-it/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
