<?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>TechieDrill &#187; annotation</title>
	<atom:link href="http://techiedrill.com/tag/annotation/feed/" rel="self" type="application/rss+xml" />
	<link>http://techiedrill.com</link>
	<description>Your World Of Technical Tutorials</description>
	<lastBuildDate>Tue, 10 Aug 2010 20:39:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Java Annotations</title>
		<link>http://techiedrill.com/2009/11/java-annotations/</link>
		<comments>http://techiedrill.com/2009/11/java-annotations/#comments</comments>
		<pubDate>Sun, 22 Nov 2009 08:09:27 +0000</pubDate>
		<dc:creator>karnamrajesh</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[annotation]]></category>
		<category><![CDATA[annotations]]></category>

		<guid isPermaLink="false">http://techiedrill.com/?p=452</guid>
		<description><![CDATA[public class OverrideAnnotation
{
 public static void main(String s[])
 {
 OverrideExample e = new OverrideExample();
 System.out.println(e.toString());
 }
}
Annotations are kind of meta data which can be used in java classes. Typically methods, variables, classes and packages can be annotated.
Annotations basically provides information to the java compilers. Annotations can able to used to generate XMLs.
Try out the below [...]]]></description>
			<content:encoded><![CDATA[<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">public class OverrideAnnotation</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">{</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>public static void main(String s[])</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>{</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>OverrideExample e = new OverrideExample();</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>System.out.println(e.toString());</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>}</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 0px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">}</div>
<p>Annotations are kind of meta data which can be used in java classes. Typically methods, variables, classes and packages can be annotated.</p>
<p>Annotations basically provides information to the java compilers. Annotations can able to used to generate XMLs.</p>
<p>Try out the below sample code</p>
<p>public class OverrideAnnotation</p>
<p>{</p>
<p><span style="white-space: pre;"> </span>public static void main(String s[])</p>
<p><span style="white-space: pre;"> </span>{</p>
<p><span style="white-space: pre;"> </span>OverrideExample e = new OverrideExample();</p>
<p><span style="white-space: pre;"> </span>System.out.println(e.toString());</p>
<p><span style="white-space: pre;"> </span>}</p>
<p>}</p>
<div>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</div>
<div>
<div>class OverrideExample</div>
<div>{</div>
<div><span style="white-space: pre;"> </span>public String field;</div>
<div><span style="white-space: pre;"> </span>private String attribute;</div>
<div><span style="white-space: pre;"> </span>@Override</div>
<div><span style="white-space: pre;"> </span>public int hashCode()</div>
<div><span style="white-space: pre;"> </span>{</div>
<div><span style="white-space: pre;"> </span>return field.hashCode() + attribute.hashCode();</div>
<div><span style="white-space: pre;"> </span>}</div>
<div><span style="white-space: pre;"> </span>@Override</div>
<div><span style="white-space: pre;"> </span>public String toString()</div>
<div><span style="white-space: pre;"> </span>{</div>
<div><span style="white-space: pre;"> </span>return field + &#8221; &#8221; + attribute;</div>
<div><span style="white-space: pre;"> </span>}</div>
<div>}</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://techiedrill.com/2009/11/java-annotations/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
