<?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: Java Static</title>
	<atom:link href="http://javapapers.com/core-java/explain-the-java-static-modifier/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/explain-the-java-static-modifier/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 04 Jun 2012 02:04:02 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: VJ</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-12134</link>
		<dc:creator>VJ</dc:creator>
		<pubDate>Wed, 23 May 2012 04:32:50 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-12134</guid>
		<description>Hi Joe,

I am a Java newbie. This page is very helpful.

The question I have is about Static Methods is.....&#039;Java static methods cannot access instance variables or instance methods directly.&#039;

Why in the Main() method which is a Static Method, we can access other methods (part of that class) that are not defined as Static?</description>
		<content:encoded><![CDATA[<p>Hi Joe,</p>
<p>I am a Java newbie. This page is very helpful.</p>
<p>The question I have is about Static Methods is&#8230;..&#8217;Java static methods cannot access instance variables or instance methods directly.&#8217;</p>
<p>Why in the Main() method which is a Static Method, we can access other methods (part of that class) that are not defined as Static?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: System.out.println</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-11652</link>
		<dc:creator>System.out.println</dc:creator>
		<pubDate>Mon, 30 Apr 2012 18:52:28 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-11652</guid>
		<description>[...] a final class and cannot be instantiated. Therefore all its memebers (fields and methods) will be static and we understand that it is an utility class. As per javadoc, &#8220;&#8230;Among the facilities [...]</description>
		<content:encoded><![CDATA[<p>[...] a final class and cannot be instantiated. Therefore all its memebers (fields and methods) will be static and we understand that it is an utility class. As per javadoc, &#8220;&#8230;Among the facilities [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mcajavaprogramer</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-11628</link>
		<dc:creator>mcajavaprogramer</dc:creator>
		<pubDate>Mon, 30 Apr 2012 05:06:42 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-11628</guid>
		<description>what is the difference between class variable and static variable ?</description>
		<content:encoded><![CDATA[<p>what is the difference between class variable and static variable ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ThreadLocal</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-11453</link>
		<dc:creator>ThreadLocal</dc:creator>
		<pubDate>Sun, 22 Apr 2012 17:30:23 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-11453</guid>
		<description>[...] global access. It can be accessed from anywhere inside the thread. Also note that, it is declared static and [...]</description>
		<content:encoded><![CDATA[<p>[...] global access. It can be accessed from anywhere inside the thread. Also note that, it is declared static and [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joe</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-11200</link>
		<dc:creator>Joe</dc:creator>
		<pubDate>Mon, 09 Apr 2012 05:49:45 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-11200</guid>
		<description>Shazz, thanks for replying to users questions.</description>
		<content:encoded><![CDATA[<p>Shazz, thanks for replying to users questions.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shazz</title>
		<link>http://javapapers.com/core-java/explain-the-java-static-modifier/#comment-11185</link>
		<dc:creator>Shazz</dc:creator>
		<pubDate>Sun, 08 Apr 2012 14:17:19 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=49#comment-11185</guid>
		<description>Hi Kannan,

Static are basically class variable, they are not stored on the heap but in the special area  called method area, unlike object which when allocated occupied area in heap. 

Static variable are loaded just once when the class is loaded by the JVM at the same time static variable is also created. So all the content which will be common to all the method and object are stored as static variable.</description>
		<content:encoded><![CDATA[<p>Hi Kannan,</p>
<p>Static are basically class variable, they are not stored on the heap but in the special area  called method area, unlike object which when allocated occupied area in heap. </p>
<p>Static variable are loaded just once when the class is loaded by the JVM at the same time static variable is also created. So all the content which will be common to all the method and object are stored as static variable.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

