<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
		>
<channel>
	<title>Comments on: Java and JavaScript</title>
	<atom:link href="http://abhirama.wordpress.com/2007/10/21/java-and-javascript/feed/" rel="self" type="application/rss+xml" />
	<link>http://abhirama.wordpress.com/2007/10/21/java-and-javascript/</link>
	<description>It's the content that matters, not the title . . .</description>
	<lastBuildDate>Fri, 18 Dec 2009 18:49:05 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Sanket Singh</title>
		<link>http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-5</link>
		<dc:creator>Sanket Singh</dc:creator>
		<pubDate>Mon, 22 Oct 2007 03:10:54 +0000</pubDate>
		<guid isPermaLink="false">http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-5</guid>
		<description>Hmm...And what is Java Script???
Kya hai yeh sab???
Write something that a common man like me is able to understand...  :)</description>
		<content:encoded><![CDATA[<p>Hmm&#8230;And what is Java Script???<br />
Kya hai yeh sab???<br />
Write something that a common man like me is able to understand&#8230;  <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavitra</title>
		<link>http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-4</link>
		<dc:creator>Pavitra</dc:creator>
		<pubDate>Sun, 21 Oct 2007 17:36:38 +0000</pubDate>
		<guid isPermaLink="false">http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-4</guid>
		<description>cool.. that makes it clear :)</description>
		<content:encoded><![CDATA[<p>cool.. that makes it clear <img src='http://s.wordpress.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: abhirama</title>
		<link>http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-3</link>
		<dc:creator>abhirama</dc:creator>
		<pubDate>Sun, 21 Oct 2007 17:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-3</guid>
		<description>When we try to get a Method object using the getMethod method we have to pass along with the method name an array of its argument types.This is required as Java supports method overloading.

Here since the method does not take any parameters we are passing an empty array.In case the method signature was as foo (String bar) then the code becomes: 

Method method = clz.getMethod(”foo”, new Class[] {String.class});
method.invoke(new MethodChk(), new Object[] {&quot;moo&quot;});</description>
		<content:encoded><![CDATA[<p>When we try to get a Method object using the getMethod method we have to pass along with the method name an array of its argument types.This is required as Java supports method overloading.</p>
<p>Here since the method does not take any parameters we are passing an empty array.In case the method signature was as foo (String bar) then the code becomes: </p>
<p>Method method = clz.getMethod(”foo”, new Class[] {String.class});<br />
method.invoke(new MethodChk(), new Object[] {&#8220;moo&#8221;});</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Pavitra</title>
		<link>http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-2</link>
		<dc:creator>Pavitra</dc:creator>
		<pubDate>Sun, 21 Oct 2007 17:21:33 +0000</pubDate>
		<guid isPermaLink="false">http://abhirama.wordpress.com/2007/10/21/java-and-javascript/#comment-2</guid>
		<description>Hey Abhi

          That was a very good comparision.. I never knew we could do this in Java.But as you said i dont know if we ever need to this in Java unless the client is doubtful if the function is defined or not.But can you tell me one thing.. why are we passing an empty array as an argument?I did not get it&#039;s purpose..
Method method = clz.getMethod(”foo”, new Class[] {});
method.invoke(new MethodChk(), new Object[] {});

Pavitra</description>
		<content:encoded><![CDATA[<p>Hey Abhi</p>
<p>          That was a very good comparision.. I never knew we could do this in Java.But as you said i dont know if we ever need to this in Java unless the client is doubtful if the function is defined or not.But can you tell me one thing.. why are we passing an empty array as an argument?I did not get it&#8217;s purpose..<br />
Method method = clz.getMethod(”foo”, new Class[] {});<br />
method.invoke(new MethodChk(), new Object[] {});</p>
<p>Pavitra</p>
]]></content:encoded>
	</item>
</channel>
</rss>
