<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: variables &#8211; public/protected/private/internal/static</title>
	<atom:link href="http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/</link>
	<description>flex developers web corner</description>
	<lastBuildDate>Fri, 12 Mar 2010 00:18:58 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: pookka</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1816</link>
		<dc:creator>pookka</dc:creator>
		<pubDate>Mon, 15 Feb 2010 09:47:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1816</guid>
		<description>All types and type members have an accessibility level, which controls whether they can be used from other code in your assembly or other assemblies. You specify the accessibility of a type or member when you declare it by using one of these access modifiers:

public

    The type or member can be accessed by any other code in the same assembly or another assembly that references it.


private

    The type or member can only be accessed by code in the same class or struct.


protected

    The type or member can only be accessed by code in the same class or struct, or in a derived class.


internal

    The type or member can be accessed by any code in the same assembly, but not from another assembly.


protected internal

    The type or member can be accessed by any code in the same assembly, or by any derived class in another assembly.</description>
		<content:encoded><![CDATA[<p>All types and type members have an accessibility level, which controls whether they can be used from other code in your assembly or other assemblies. You specify the accessibility of a type or member when you declare it by using one of these access modifiers:</p>
<p>public</p>
<p>    The type or member can be accessed by any other code in the same assembly or another assembly that references it.</p>
<p>private</p>
<p>    The type or member can only be accessed by code in the same class or struct.</p>
<p>protected</p>
<p>    The type or member can only be accessed by code in the same class or struct, or in a derived class.</p>
<p>internal</p>
<p>    The type or member can be accessed by any code in the same assembly, but not from another assembly.</p>
<p>protected internal</p>
<p>    The type or member can be accessed by any code in the same assembly, or by any derived class in another assembly.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: smedini</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1610</link>
		<dc:creator>smedini</dc:creator>
		<pubDate>Wed, 06 May 2009 08:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1610</guid>
		<description>The column internal is wrong.
The descendant of Class should be Deny.

You can say it&#039;s package internal and hierarchy protected.</description>
		<content:encoded><![CDATA[<p>The column internal is wrong.<br />
The descendant of Class should be Deny.</p>
<p>You can say it&#8217;s package internal and hierarchy protected.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mario Ruggier</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1608</link>
		<dc:creator>Mario Ruggier</dc:creator>
		<pubDate>Mon, 04 May 2009 09:55:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1608</guid>
		<description>Thanks, useful little summary table (helps to remember the frequently badly explained difference between internal and protected). 

But, would it not be more logical to switch the Internal and Protected columns? Like that the natural restriction-level progression is more evident... i.e. the table becomes: 

&lt;pre&gt;
Code placement			Private		Protected 	Internal	Public

Same class				Allow		Allow		Allow		Allow
Descendants of class	Deny		Allow		Allow		Allow
Classes in same package	Deny		Deny		Allow		Allow
Other package			Deny 		Deny 		Deny		Allow
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thanks, useful little summary table (helps to remember the frequently badly explained difference between internal and protected). </p>
<p>But, would it not be more logical to switch the Internal and Protected columns? Like that the natural restriction-level progression is more evident&#8230; i.e. the table becomes: </p>
<pre>
Code placement			Private		Protected 	Internal	Public

Same class				Allow		Allow		Allow		Allow
Descendants of class	Deny		Allow		Allow		Allow
Classes in same package	Deny		Deny		Allow		Allow
Other package			Deny 		Deny 		Deny		Allow
</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Virgil Cristea</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1320</link>
		<dc:creator>Virgil Cristea</dc:creator>
		<pubDate>Mon, 16 Feb 2009 09:45:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1320</guid>
		<description>You are right. I will modify it.</description>
		<content:encoded><![CDATA[<p>You are right. I will modify it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Rijkhof</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1309</link>
		<dc:creator>Daniel Rijkhof</dc:creator>
		<pubDate>Sun, 15 Feb 2009 11:10:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1309</guid>
		<description>Let me add... that comment was about flex (as) 3</description>
		<content:encoded><![CDATA[<p>Let me add&#8230; that comment was about flex (as) 3</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Daniel Rijkhof</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-1308</link>
		<dc:creator>Daniel Rijkhof</dc:creator>
		<pubDate>Sun, 15 Feb 2009 11:08:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-1308</guid>
		<description>Data is not correct :/

Code placement		Private	Internal	Protected	Public
Classes in same package	Deny	_Allow_		_Deny_		Allow</description>
		<content:encoded><![CDATA[<p>Data is not correct :/</p>
<p>Code placement		Private	Internal	Protected	Public<br />
Classes in same package	Deny	_Allow_		_Deny_		Allow</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erno</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-912</link>
		<dc:creator>Erno</dc:creator>
		<pubDate>Thu, 13 Nov 2008 22:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-912</guid>
		<description>Hi! This was good and simple. But what is static ? You didn&#039;t tell that. Well this is old post and I google it right away, but maybe next one need to know that. 

Thanks!</description>
		<content:encoded><![CDATA[<p>Hi! This was good and simple. But what is static ? You didn&#8217;t tell that. Well this is old post and I google it right away, but maybe next one need to know that. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Links for the Weekend, 4-19-2008</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-144</link>
		<dc:creator>Links for the Weekend, 4-19-2008</dc:creator>
		<pubDate>Sat, 19 Apr 2008 13:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-144</guid>
		<description>[...] Variables - Public/Protected/Private/Internal/Static - ActionScript, Flex resources&#8230; [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background: #d3e1ef; /* border: dotted 1px #777777; */">
<p>[...] Variables &#8211; Public/Protected/Private/Internal/Static &#8211; ActionScript, Flex resources&#8230; [...]</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: House of Code</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-77</link>
		<dc:creator>House of Code</dc:creator>
		<pubDate>Fri, 21 Mar 2008 20:25:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-77</guid>
		<description>&lt;strong&gt;The Science of Packages&lt;/strong&gt;

Everyone knows about packages, but do you know of the science of packages? There are quite a few principles that deal with maintainability and reusability. Read on to learn about them, as explained by Robert C. Martin.
...</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background: #d3e1ef; /* border: dotted 1px #777777; */">
<p><strong>The Science of Packages</strong></p>
<p>Everyone knows about packages, but do you know of the science of packages? There are quite a few principles that deal with maintainability and reusability. Read on to learn about them, as explained by Robert C. Martin.<br />
&#8230;</p>
</div>
]]></content:encoded>
	</item>
	<item>
		<title>By: Significance of package names - Ultrashock Forums</title>
		<link>http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/comment-page-1/#comment-75</link>
		<dc:creator>Significance of package names - Ultrashock Forums</dc:creator>
		<pubDate>Fri, 21 Mar 2008 15:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.flexer.info/2008/01/07/publicprotectedprivateinternalstatic/#comment-75</guid>
		<description>[...] in regards to exposing classes and interfaces to the public. For example, you can make classes package protected so that users outside that package cannot use that class. An example is that you do have a public [...]</description>
		<content:encoded><![CDATA[<div style="padding: 1em; background: #d3e1ef; /* border: dotted 1px #777777; */">
<p>[...] in regards to exposing classes and interfaces to the public. For example, you can make classes package protected so that users outside that package cannot use that class. An example is that you do have a public [...]</p>
</div>
]]></content:encoded>
	</item>
</channel>
</rss>
