<?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 Import</title>
	<atom:link href="http://javapapers.com/core-java/what-is-a-static-import-in-java/feed/" rel="self" type="application/rss+xml" />
	<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/</link>
	<description>Blog on core java, servlets, jsp and design patterns.</description>
	<lastBuildDate>Mon, 06 Feb 2012 18:56:34 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
	<item>
		<title>By: avi</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-9679</link>
		<dc:creator>avi</dc:creator>
		<pubDate>Wed, 01 Feb 2012 14:31:38 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-9679</guid>
		<description>Hi,
I wanted to ask if using import copies and pastes the content of the entire class in my file, just like in c
Thanks</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I wanted to ask if using import copies and pastes the content of the entire class in my file, just like in c<br />
Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ranjana</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-9591</link>
		<dc:creator>Ranjana</dc:creator>
		<pubDate>Sat, 28 Jan 2012 07:51:42 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-9591</guid>
		<description>Good explaination...</description>
		<content:encoded><![CDATA[<p>Good explaination&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: senthilkumar</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-9051</link>
		<dc:creator>senthilkumar</dc:creator>
		<pubDate>Thu, 05 Jan 2012 11:53:05 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-9051</guid>
		<description>Nice explanation...</description>
		<content:encoded><![CDATA[<p>Nice explanation&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gopal</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-8735</link>
		<dc:creator>Gopal</dc:creator>
		<pubDate>Tue, 20 Dec 2011 10:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-8735</guid>
		<description>Excellent write up.. A bunch of thanks....</description>
		<content:encoded><![CDATA[<p>Excellent write up.. A bunch of thanks&#8230;.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: nitinvavdiya</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-8540</link>
		<dc:creator>nitinvavdiya</dc:creator>
		<pubDate>Wed, 07 Dec 2011 06:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-8540</guid>
		<description>in java which statement come first?import statement or static import statement.</description>
		<content:encoded><![CDATA[<p>in java which statement come first?import statement or static import statement.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Juben</title>
		<link>http://javapapers.com/core-java/what-is-a-static-import-in-java/#comment-8301</link>
		<dc:creator>Juben</dc:creator>
		<pubDate>Tue, 22 Nov 2011 09:46:06 +0000</pubDate>
		<guid isPermaLink="false">http://javapapers.com/?p=65#comment-8301</guid>
		<description>Hey dude,
The code you have given:
----------------------------------
public final class MyConstant {
private MyConstant() {}
public static final double PI = 3.14159;
}

import static MyConstant.PI;
public class MyMath {
public double myComplexMathMethod() {
return (PI * 100);
}
}

--------------
This doesnt work:
It gives error as unable to find Symbol when I run MyMath :-(</description>
		<content:encoded><![CDATA[<p>Hey dude,<br />
The code you have given:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
public final class MyConstant {<br />
private MyConstant() {}<br />
public static final double PI = 3.14159;<br />
}</p>
<p>import static MyConstant.PI;<br />
public class MyMath {<br />
public double myComplexMathMethod() {<br />
return (PI * 100);<br />
}<br />
}</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8211;<br />
This doesnt work:<br />
It gives error as unable to find Symbol when I run MyMath :-(</p>
]]></content:encoded>
	</item>
</channel>
</rss>

