<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1664650925435877323</id><updated>2011-08-28T22:52:38.658-07:00</updated><category term='Void classs'/><title type='text'>Void class</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://voidclass.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1664650925435877323/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://voidclass.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Suman mitra</name><uri>http://www.blogger.com/profile/03536329027060995845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/-A55beSkDmTo/TlsnN7pRh0I/AAAAAAAAAAk/dEcWsLvlHek/s220/Photo-0010.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>1</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1664650925435877323.post-3052816843802915800</id><published>2011-08-28T22:52:00.000-07:00</published><updated>2011-08-28T22:52:32.671-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Void classs'/><title type='text'>void class</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;b&gt;Purpose:&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;The  Void class according to javadoc exists because of the fact that some  time we may need to represent the void keyword as an object. But at the  same point we cannot create an instance of the Void class using the new  operator.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;This is because the constructor in Void has been declared as private.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-size: x-small;"&gt;Moreover the Void class is a final class which means that there is no way we can inherit this class.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: x-small;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size: x-small;"&gt;&lt;span style="font-family: Arial,Helvetica,sans-serif;"&gt;So  the only purpose that remains for the existence of the Void class is  reflection, where we can get the return type of a method as void&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1664650925435877323-3052816843802915800?l=voidclass.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://voidclass.blogspot.com/feeds/3052816843802915800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://voidclass.blogspot.com/2011/08/void-class.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1664650925435877323/posts/default/3052816843802915800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1664650925435877323/posts/default/3052816843802915800'/><link rel='alternate' type='text/html' href='http://voidclass.blogspot.com/2011/08/void-class.html' title='void class'/><author><name>Suman mitra</name><uri>http://www.blogger.com/profile/03536329027060995845</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='24' src='http://2.bp.blogspot.com/-A55beSkDmTo/TlsnN7pRh0I/AAAAAAAAAAk/dEcWsLvlHek/s220/Photo-0010.jpg'/></author><thr:total>0</thr:total></entry></feed>
