<?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-3473473485529511329</id><updated>2011-11-28T00:56:06.974+01:00</updated><category term='certification'/><category term='struts'/><category term='stress'/><category term='peace'/><category term='java'/><category term='hard'/><category term='crime'/><category term='iraq'/><category term='victims'/><category term='death'/><category term='rachel Corrie'/><category term='gaza'/><category term='usa'/><category term='developer'/><category term='plastine'/><category term='isreal'/><category term='extermination'/><category term='book'/><category term='work'/><category term='scjp'/><category term='war'/><title type='text'>Java Corner</title><subtitle type='html'>Only an open mind can learn and grow</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>13</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-923347861906161550</id><published>2008-04-08T11:00:00.001+02:00</published><updated>2008-12-12T03:42:31.835+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='usa'/><category scheme='http://www.blogger.com/atom/ns#' term='victims'/><category scheme='http://www.blogger.com/atom/ns#' term='crime'/><category scheme='http://www.blogger.com/atom/ns#' term='war'/><category scheme='http://www.blogger.com/atom/ns#' term='iraq'/><title type='text'>Iraq war : How much longer?</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_y4crjf8aMPI/R_syEiM4juI/AAAAAAAAAE0/dvPeCTcjkxo/s1600-h/ASTATUE.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_y4crjf8aMPI/R_syEiM4juI/AAAAAAAAAE0/dvPeCTcjkxo/s320/ASTATUE.jpg" alt="" id="BLOGGER_PHOTO_ID_5186794449328967394" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span id="SEPH" class="DetaildSuammary" style="display: inline; line-height: 1.2;font-size:100%;" &gt;The war in Iraq has now entered its fifth year and the violence shows no signs of abating. &lt;/span&gt;&lt;span style="font-size:100%;"&gt;More people now recognise the war has been a disaster. The war was not justified and everything the US Government said has proved to be a lie, It has not brought peace or stability to Iraq or the Middle East and it has made this country the most unsafe in the world.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_y4crjf8aMPI/R_suxyM4jtI/AAAAAAAAAEs/NKkoqdbpx0U/s1600-h/100306iraq.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://1.bp.blogspot.com/_y4crjf8aMPI/R_suxyM4jtI/AAAAAAAAAEs/NKkoqdbpx0U/s320/100306iraq.jpg" alt="" id="BLOGGER_PHOTO_ID_5186790828671536850" border="0" /&gt;&lt;/a&gt;A rundown country has been further weakened by a bloody terrorist campaign, an explosion of atavistic hatreds, virtual civil war and the mass exodus of its ablest citizens....A tyranny was overthrown - but at a great cost.&lt;br /&gt;&lt;span style="font-size:100%;"&gt;What if Saddam Hussein had not been toppled? Would Iraq be better or worse off? Would the Middle East be more or less stable, the United States safer or in greater danger?&lt;br /&gt;Saddam and his thugs would have continued to kill innocent people—but the victims would have been different, and it is doubtful they would have been as numerous as the victims of the war(more than 1.000.000 victims). Nor would 4 million Iraqis be d&lt;/span&gt;&lt;span style="font-size:100%;"&gt;isplaced. Nor would millions more have such severe shortages of health care, electricity, and clean water, or be afraid to walk their own streets.&lt;br /&gt;&lt;/span&gt;To date, nearly 4000 American soldiers have been killed and some 29,000 have been injured in the war. Despite its considerable losses, the U.S. military still does not control the country, not even the 16-kilometer-long highway that separates the ultrafortified 'Green Zone' at the heart of the capital from Baghdad's airport on the outskirts of the city.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_y4crjf8aMPI/R_szECM4jvI/AAAAAAAAAE8/worZaveN26Q/s1600-h/3.Bush.War.Dead.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_y4crjf8aMPI/R_szECM4jvI/AAAAAAAAAE8/worZaveN26Q/s320/3.Bush.War.Dead.jpg" alt="" id="BLOGGER_PHOTO_ID_5186795540250660594" border="0" /&gt;&lt;/a&gt;The world learned that American personnel had been torturing detainees at Abu Ghraib prison in Baghdad, irrevocably damaging the United States' image and credibility&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_y4crjf8aMPI/R_s0oiM4jwI/AAAAAAAAAFE/rqPd7-6XFwY/s1600-h/BOX.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_y4crjf8aMPI/R_s0oiM4jwI/AAAAAAAAAFE/rqPd7-6XFwY/s320/BOX.jpg" alt="" id="BLOGGER_PHOTO_ID_5186797266827513602" border="0" /&gt;&lt;/a&gt;In the other side, Bush, in a speech at the Pentagon, offered some of his boldest assessments of progress and said the war's legacy is absolute:&lt;br /&gt;&lt;blockquote&gt;"The world is better, and the United States of America is safer."&lt;/blockquote&gt;So, thank you Mr. Bush :)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-923347861906161550?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/923347861906161550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=923347861906161550&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/923347861906161550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/923347861906161550'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/04/iraq-war-how-much-longer.html' title='Iraq war : How much longer?'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_y4crjf8aMPI/R_syEiM4juI/AAAAAAAAAE0/dvPeCTcjkxo/s72-c/ASTATUE.jpg' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-7531745236262466369</id><published>2008-03-15T10:07:00.000+01:00</published><updated>2008-03-15T10:09:02.730+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plastine'/><category scheme='http://www.blogger.com/atom/ns#' term='isreal'/><category scheme='http://www.blogger.com/atom/ns#' term='peace'/><category scheme='http://www.blogger.com/atom/ns#' term='crime'/><category scheme='http://www.blogger.com/atom/ns#' term='gaza'/><category scheme='http://www.blogger.com/atom/ns#' term='rachel Corrie'/><title type='text'>In Memoriam of Rachel Corrie (1979 - 2003)</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.rachelcorrie.org/racheladpic_files/image002.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px;" src="http://www.rachelcorrie.org/racheladpic_files/image002.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;span class="text14"&gt;&lt;span class="content"&gt; On 16 March 2003 in Rafah&lt;/span&gt;&lt;/span&gt;, Rachel Corrie was killed when she was run over by an Israeli bulldozer.  Rachel was trying to stop the bulldozer from demolishing the home of a Palestinian doctor in the Gaza Strip.&lt;br /&gt;She was an american volunteer with the International Solidarity Movement (ISM) in the Occupied Territories. Rachel has chosen non-violent, direct-action methods and principles to resist the daily brutality of Israel's 36-year-old military occupation and its ongoing and illegal land confiscation and settlement of the West Bank and Gaza Strip. Rachel was clearly identifiable and non-threatening in both her nature and approach. Rather, Rachel did put her life on the line to stand up against a policy that is inhumane.&lt;br /&gt;Rachel said:&lt;br /&gt;&lt;blockquote&gt;We Should be inspired by people ... who show that human beings can be kind, brave, generous, beautiful, strong - even in the most difficult circumstances.&lt;/blockquote&gt;&lt;br /&gt;Photos of the crime:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://electronicintifada.net/artman2/uploads/1/rach.jpg"&gt;&lt;img style="margin: 0px auto 10px; float: left; cursor: pointer; width: 278px; height: 209px;" src="http://electronicintifada.net/artman2/uploads/1/rach.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://electronicintifada.net/artman2/uploads/1/rach1.jpg"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: right; cursor: pointer; width: 296px; height: 206px;" src="http://electronicintifada.net/artman2/uploads/1/rach1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://electronicintifada.net/artman2/uploads/1/rach4.jpg"&gt;&lt;img style="margin: 0px auto 10px; float: right; cursor: pointer; width: 278px; height: 209px;" src="http://electronicintifada.net/artman2/uploads/1/rach4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://electronicintifada.net/artman2/uploads/1/rach3.jpg"&gt;&lt;img style="margin: 0px auto 10px; float: left; cursor: pointer; width: 278px; height: 209px;" src="http://electronicintifada.net/artman2/uploads/1/rach3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-7531745236262466369?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/7531745236262466369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=7531745236262466369&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7531745236262466369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7531745236262466369'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/03/in-memoriam-of-rachel-corrie-1979-2003.html' title='In Memoriam of Rachel Corrie (1979 - 2003)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-7168782216556049306</id><published>2008-03-13T11:47:00.002+01:00</published><updated>2008-12-12T03:42:33.536+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='developer'/><category scheme='http://www.blogger.com/atom/ns#' term='work'/><category scheme='http://www.blogger.com/atom/ns#' term='stress'/><category scheme='http://www.blogger.com/atom/ns#' term='hard'/><title type='text'>Hard to be a developer....</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_y4crjf8aMPI/R9kGgCaINXI/AAAAAAAAAC4/lIlsLrNvq0o/s1600-h/viciado.JPG"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_y4crjf8aMPI/R9kGgCaINXI/AAAAAAAAAC4/lIlsLrNvq0o/s400/viciado.JPG" alt="" id="BLOGGER_PHOTO_ID_5177176394111137138" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-7168782216556049306?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/7168782216556049306/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=7168782216556049306&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7168782216556049306'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7168782216556049306'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/03/hard-to-be-developer.html' title='Hard to be a developer....'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_y4crjf8aMPI/R9kGgCaINXI/AAAAAAAAAC4/lIlsLrNvq0o/s72-c/viciado.JPG' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-3987355456399324625</id><published>2008-03-05T19:37:00.003+01:00</published><updated>2008-03-05T19:46:52.683+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Object Orientation (Part II)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Encapsulation, IS-A, HAS-A&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Encapsulation helps hide implementation behind an interface (or API).&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Encapsulated code has two features: Instance variables are kept protected (usually with the private modifier) and Getter and setter methods provide access to instance variables.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;IS-A refers to inheritance it is expressed with the keyword extends.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;IS-A, "inherits from," and "is a subtype of" are all equivalent expressions.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;HAS-A means an instance of one class "has a" reference to an instance of another class.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Inheritance&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Inheritance is a mechanism that allows a class to be a subclass of a superclass, and thereby inherit variables and methods of the superclass.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Inheritance is a key concept that underlies IS-A, polymorphism, overriding, overloading, and casting.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;All classes (except class Object), are subclasses of type Object, and therefore&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;they inherit Object's methods.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Polymorphism&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Polymorphism means ‘many forms'.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A reference variable is always of a single, unchangeable type, but it can refer to a subtype object.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A single object can be referred to by reference variables of many different&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;types as long as they are the same type or a supertype of the object.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The reference variable's type (not the object's type), determines which methods can be called!&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Polymorphic method invocations apply only to overridden instance methods.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Overriding and Overloading&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Methods can be overridden or overloaded; constructors can be overloaded but not overridden.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Abstract methods must be overridden by the first concrete (nonabstract) subclass.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;final &lt;/span&gt;methods cannot be overridden.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Only inherited methods may be overridden, and remember that private methods are not inherited.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Overloading means reusing amethod name, but with different arguments.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Methods from a superclass can be overloaded in a subclass.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Polymorphism applies to overriding, not to overloading&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Object type (not the reference variable's type), determines which overridden method is used at runtime.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Reference type determines which overloaded method will be used at compile time.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-3987355456399324625?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/3987355456399324625/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=3987355456399324625&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/3987355456399324625'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/3987355456399324625'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/03/object-orientation-part-ii.html' title='Object Orientation (Part II)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-322481220763972558</id><published>2008-03-03T16:01:00.006+01:00</published><updated>2008-03-03T16:51:48.486+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='plastine'/><category scheme='http://www.blogger.com/atom/ns#' term='isreal'/><category scheme='http://www.blogger.com/atom/ns#' term='extermination'/><category scheme='http://www.blogger.com/atom/ns#' term='death'/><category scheme='http://www.blogger.com/atom/ns#' term='crime'/><category scheme='http://www.blogger.com/atom/ns#' term='gaza'/><category scheme='http://www.blogger.com/atom/ns#' term='war'/><title type='text'>Gaza : Earth of Death</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.monde-magouilles.com/photos_guerre/gaza2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.monde-magouilles.com/photos_guerre/gaza2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.monde-magouilles.com/photos_guerre/gaza3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.monde-magouilles.com/photos_guerre/gaza3.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.alquds.co.uk/today/02m62.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.alquds.co.uk/today/02m62.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aljazeera.net/mritems/Galleries/G_430/image10.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.aljazeera.net/mritems/Galleries/G_430/image10.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aljazeera.net/mritems/Galleries/G_430/image4.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.aljazeera.net/mritems/Galleries/G_430/image4.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aljazeera.net/mritems/Galleries/G_430/image2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.aljazeera.net/mritems/Galleries/G_430/image2.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aljazeera.net/mritems/Galleries/G_430/image1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.aljazeera.net/mritems/Galleries/G_430/image1.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.aljazeera.net/mritems/Galleries/G_430/image0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 400px;" src="http://www.aljazeera.net/mritems/Galleries/G_430/image0.jpg" alt="" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-322481220763972558?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/322481220763972558/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=322481220763972558&amp;isPopup=true' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/322481220763972558'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/322481220763972558'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/03/gaza-earth-of-death.html' title='Gaza : Earth of Death'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-939698163131448701</id><published>2008-02-28T09:16:00.000+01:00</published><updated>2008-02-28T09:19:29.285+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Object Orientation (Part I)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;OBJECTIVES :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Declare Interfaces&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Declare, Initialize, and Use Class Members&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use Overloading and Overriding&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Develop Constructors&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Describe Encapsulation, Coupling and Cohesion&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use Polymorphism&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Relate Modifiers and Inheritance&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use Superclass Constructors and Overloaded Constructors&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Use IS-A and HAS-A Relationships&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-939698163131448701?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/939698163131448701/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=939698163131448701&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/939698163131448701'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/939698163131448701'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/object-orientation-part-i.html' title='Object Orientation (Part I)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-196752354935537116</id><published>2008-02-26T11:00:00.002+01:00</published><updated>2008-02-27T16:03:35.000+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Declarations and Access Control (Part III)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;Other Modifiers—Members :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;final &lt;/span&gt;methods cannot be overridden in a subclass.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;methods are declared, with a signature, a return type, and an optional throws clause, but are not implemented.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="font-style: italic;"&gt;synchronized &lt;/span&gt;modifier applies only to methods and code blocks.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;synchronized &lt;/span&gt;methods can have any access control and can also be marked final.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="font-style: italic;"&gt;native &lt;/span&gt;modifier applies only to methods.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="font-style: italic;"&gt;strictfp &lt;/span&gt;modifier applies only to classes and methods.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Methods with var-args :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;As of Java 5, methods can declare a parameter that accepts from zero to many arguments, a so-called &lt;span style="font-style: italic;"&gt;var-arg&lt;/span&gt; method.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A &lt;span style="font-style: italic;"&gt;var-arg&lt;/span&gt; parameter is declared with the syntax &lt;span style="font-style: italic;"&gt;type... name&lt;/span&gt;;  for instance :     &lt;span style="font-style: italic;"&gt;doStuff(int... x) { }&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A &lt;span style="font-style: italic;"&gt;var-arg&lt;/span&gt; method can have only one &lt;span style="font-style: italic;"&gt;var-arg &lt;/span&gt;parameter.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;In methods with normal parameters and a &lt;span style="font-style: italic;"&gt;var-arg&lt;/span&gt;, the &lt;span style="font-style: italic;"&gt;var-arg&lt;/span&gt; must come last.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Variable Declarations :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Instance variables can have any access control and be marked &lt;span style="font-style: italic;"&gt;final &lt;/span&gt;or &lt;span style="font-style: italic;"&gt;transient&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Instance variables can't be &lt;span style="font-style: italic;"&gt;abstract&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;synchronized&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;native&lt;/span&gt;, or &lt;span style="font-style: italic;"&gt;strictfp&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;It is legal to declare a local variable with the same name as an instance variable; this is called "&lt;span style="font-style: italic;"&gt;shadowing&lt;/span&gt;."&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;final &lt;/span&gt;variables cannot be reinitialized once assigned a value.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;final &lt;/span&gt;reference variables cannot refer to a different object once the object has been assigned to the final variable.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;final &lt;/span&gt;reference variables must be initialized before the constructor completes.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There is no such thing as a &lt;span style="font-style: italic;"&gt;final &lt;/span&gt;object. An object reference marked final does not mean the object itself is immutable.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="font-style: italic;"&gt;transient &lt;/span&gt;modifier applies only to instance variables.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The &lt;span style="font-style: italic;"&gt;volatile &lt;/span&gt;modifier applies only to instance variables.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Array Declarations :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Arrays can hold primitives or objects, but the array itself is always an object.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;When you declare an array, the brackets can be to the left or right of the variable name.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;It is never legal to include the size of an array in the declaration.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Static Variables and Methods :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;They are not tied to any particular instance of a class.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;No classes instances are needed in order to use &lt;span style="font-style: italic;"&gt;static &lt;/span&gt;members of the class.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There is only one copy of a &lt;span style="font-style: italic;"&gt;static &lt;/span&gt;variable / class and all instances share it.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;static &lt;/span&gt;methods do not have direct access to non-static members.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;Enums :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;An &lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;specifies a list of constant values that can be assigned to a particular type.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;An &lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;can be declared outside or inside a class, but NOT in a method.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;An &lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;declared outside a class must NOT be marked &lt;span style="font-style: italic;"&gt;static&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;final&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;abstract&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;protected&lt;/span&gt;, or &lt;span style="font-style: italic;"&gt;private&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;constructors can NEVER be invoked directly in code. They are always called automatically when an &lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;is initialized.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The semicolon at the end of an &lt;span style="font-style: italic;"&gt;enum &lt;/span&gt;declaration is optional.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-196752354935537116?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/196752354935537116/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=196752354935537116&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/196752354935537116'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/196752354935537116'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/declarations-and-access-control-part.html' title='Declarations and Access Control (Part III)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-2081554065790937509</id><published>2008-02-23T11:00:00.001+01:00</published><updated>2008-02-27T16:04:01.251+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Declarations and Access Control (Part II)</title><content type='html'>&lt;span style="font-weight: bold;font-size:100%;" &gt;Identifiers :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Identifiers can begin with a letter, an underscore, or a currency character.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="font-size:85%;"&gt;After the first character, identifiers can also include digits.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="font-size:85%;"&gt;Identifiers can be of any length.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="font-size:85%;"&gt;JavaBeans methods must be named using camelCase, and depending on the method's purpose, must start with set, get, is, add, or remove.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Declaration Rules :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A source code file can have only one &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;class.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="font-size:85%;"&gt;If the source file contains a &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;class, the filename must match the &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;class name.&lt;/span&gt;&lt;/li&gt; &lt;li&gt;&lt;span style="font-size:85%;"&gt;A file can have only one &lt;span style="font-style: italic;"&gt;package &lt;/span&gt;statement, but multiple &lt;span style="font-style: italic;"&gt;imports&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The package statement (if any) must be the first (non-comment) line in a source file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The import statements (if any) must come after the package and before  the class declaration.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-style: italic;"&gt;package &lt;/span&gt;and &lt;span style="font-style: italic;"&gt;import &lt;/span&gt;statements apply to all classes in the file.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A file can have more than one nonpublic class.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Files with no &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;classes have no naming restrictions.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:100%;"&gt;Class Access Modifiers :&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There are three access modifiers: &lt;span style="font-style: italic;"&gt;public&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;protected&lt;/span&gt;, and &lt;span style="font-style: italic;"&gt;private&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There are four access levels: &lt;span style="font-style: italic;"&gt;public&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;protected&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;default&lt;/span&gt;, and &lt;span style="font-style: italic;"&gt;private&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Classes can have only &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;or default access.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A class with default access can be seen only by classes within the same package.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A class with public access can be seen by all classes from all packages.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Class visibility revolves around whether code in one class can create an instance of another class, extend (or subclass), another class and access methods and variables of another class.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-weight: bold;"&gt;Class Modifiers :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Classes can also be modified with &lt;span style="font-style: italic;"&gt;final&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;abstract&lt;/span&gt;, or &lt;span style="font-style: italic;"&gt;strictfp&lt;/span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A class cannot be both &lt;span style="font-style: italic;"&gt;final &lt;/span&gt;and &lt;span style="font-style: italic;"&gt;abstract&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A &lt;span style="font-style: italic;"&gt;final &lt;/span&gt;class cannot be subclassed.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;An &lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;class cannot be instantiated.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A single &lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;method in a class means the whole class must be &lt;span style="font-style: italic;"&gt;abstract&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;The first concrete class to extend an &lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;class must implement all of its &lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;methods.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Interface Implementation :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Interfaces are contracts for what a class can do, but they say nothing about the way in which the class must do it.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;An interface can have only &lt;span style="font-style: italic;"&gt;public &lt;/span&gt;and &lt;span style="font-style: italic;"&gt;abstract &lt;/span&gt;methods, no concrete methods allowed.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Interfaces can have constants, which are always implicitly &lt;span style="font-style: italic;"&gt;public&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;static&lt;/span&gt;, and &lt;span style="font-style: italic;"&gt;final&lt;/span&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Interfaces can only extend one or more other interfaces.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;span style="font-weight: bold;font-size:100%;" &gt;Member Access Modifiers&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Members can use all four access levels: public, protected, default, private.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;public &lt;/span&gt;&lt;span style="font-size:85%;"&gt;members can be accessed by all other classes, even in other packages.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;private &lt;/span&gt;&lt;span style="font-size:85%;"&gt;members can be accessed only by code in the same class.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Default members can be accessed only by classes in the same package.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;protected &lt;/span&gt;&lt;span style="font-size:85%;"&gt;members can be accessed by other classes in the same package, plus subclasses regardless of package.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;A &lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;protected &lt;/span&gt;&lt;span style="font-size:85%;"&gt;member inherited by a subclass from another package is not accessible to any other class in the subclass package, except for the subclass' own subclasses.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-2081554065790937509?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/2081554065790937509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=2081554065790937509&amp;isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/2081554065790937509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/2081554065790937509'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/declarations-and-access-control-part-ii.html' title='Declarations and Access Control (Part II)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-5546182007724059186</id><published>2008-02-23T10:37:00.001+01:00</published><updated>2008-02-27T16:04:15.895+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Declarations and Access Control (Part I)</title><content type='html'>&lt;span style="font-weight: bold;"&gt;OBJECTIVES :&lt;/span&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Declare Classes and Interfaces&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Develop Interfaces and Abstract Classes&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Use Primitives, Arrays, Enums and Legal Identifiers&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Use Static Methods, JavaBeans Naming, &amp;amp; Var-Args&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-5546182007724059186?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/5546182007724059186/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=5546182007724059186&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/5546182007724059186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/5546182007724059186'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/declarations-and-access-control-part-i.html' title='Declarations and Access Control (Part I)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-2381947016120240685</id><published>2008-02-22T17:27:00.003+01:00</published><updated>2008-12-12T03:42:34.770+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><category scheme='http://www.blogger.com/atom/ns#' term='book'/><title type='text'>Great book for the certification</title><content type='html'>&lt;strong style="font-weight: normal;"&gt;I have found this book. I think it will be very usefull to prepare the certification&lt;br /&gt;&lt;/strong&gt;&lt;div style="text-align: center;"&gt;&lt;strong style="font-weight: normal;"&gt;&lt;span style="font-weight: bold;"&gt;SCJP Sun Certified Programmer for Java 5 Study Guide&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_y4crjf8aMPI/R775OxFKUQI/AAAAAAAAAB4/HZ3D0mJCwRs/s1600-h/518zcxsbqOL._SS500_.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://2.bp.blogspot.com/_y4crjf8aMPI/R775OxFKUQI/AAAAAAAAAB4/HZ3D0mJCwRs/s320/518zcxsbqOL._SS500_.jpg" alt="" id="BLOGGER_PHOTO_ID_5169843454356377858" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-2381947016120240685?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/2381947016120240685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=2381947016120240685&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/2381947016120240685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/2381947016120240685'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/great-book-for-certification.html' title='Great book for the certification'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://2.bp.blogspot.com/_y4crjf8aMPI/R775OxFKUQI/AAAAAAAAAB4/HZ3D0mJCwRs/s72-c/518zcxsbqOL._SS500_.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-167996808845526545</id><published>2008-02-21T11:19:00.004+01:00</published><updated>2008-02-22T09:19:08.792+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='java'/><category scheme='http://www.blogger.com/atom/ns#' term='scjp'/><category scheme='http://www.blogger.com/atom/ns#' term='certification'/><title type='text'>Sun Certified Java Programmer (SCJP)</title><content type='html'>&lt;div id="result_box" dir="ltr"&gt;&lt;div id="result_box" dir="ltr"&gt;&lt;span style="font-size:100%;"&gt;Finally I decided to be SCJP certified. It's going to be  one of my goals for 2008.&lt;/span&gt;&lt;/div&gt;&lt;span style="font-size:100%;"&gt;The Java certifications are used to two things:&lt;br /&gt;&lt;/span&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;The mention on your CV that you are certified by Sun: It is a small  Like beef that receives a label, or a wine that receives a drink Champagne  appellation. Now, like everyone else does not pay attention to these labels,  all companies do not even pay attention to the fact that you are Java  certified or not. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:100%;"&gt;Judge your level:  Personally, it is for this reason  that I have decided to to be SCJP certified, to finally know at what  level I am located,  after more than  3 years of Java development. &lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;span style="font-size:100%;"&gt;What are the  benefits we gain?&lt;br /&gt;First, a personal satisfaction.  Then, somewhere was  your level of knowledge before certification, the fact that you have study  and train you to pass the certification, you will have learned something new.&lt;br /&gt;For some businesses, it's also the key that will allow you to be selected  for offered the position in relation to other candidates who are not  certified.&lt;br /&gt;Ok then, let's Goooo !!!!&lt;br /&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/3473473485529511329-167996808845526545?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/167996808845526545/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=167996808845526545&amp;isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/167996808845526545'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/167996808845526545'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/sun-certified-java-programmer-scjp.html' title='Sun Certified Java Programmer (SCJP)'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-3461094741601805854</id><published>2008-02-19T13:39:00.014+01:00</published><updated>2008-12-12T03:42:34.948+01:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='struts'/><title type='text'>Determining list size using Struts</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_y4crjf8aMPI/R7rW6RFKUNI/AAAAAAAAAAw/hBZTNb9rS1o/s1600-h/struts.gif"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://4.bp.blogspot.com/_y4crjf8aMPI/R7rW6RFKUNI/AAAAAAAAAAw/hBZTNb9rS1o/s200/struts.gif" alt="" id="BLOGGER_PHOTO_ID_5168679818866872530" border="0" /&gt;&lt;/a&gt;&lt;span style="font-size:100%;"&gt;&lt;br /&gt;This is an exemple showing how to detect the size of a list using struts . We can use the bean:size tag that &lt;/span&gt;define a bean containing the number of elements in a Collection.&lt;span style="font-size:75;"&gt;&lt;blockquote&gt;&lt;span style="font-size:85%;"&gt;&amp;lt;bean:size id="listSize" name="listForm" property="myList"&amp;gt;&lt;br /&gt;&amp;lt;nested:iterate  property="&lt;/span&gt;&lt;span style="font-size:75;"&gt;&lt;span style="font-size:85%;"&gt;myList&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:85%;"&gt;" indexid="index"&amp;gt;&lt;br /&gt;.....&lt;br /&gt;&amp;lt;% if((index.intValue() + 1) == listSize.intValue()) { %&amp;gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: left;"&gt;&lt;span style="font-size:85%;"&gt;                      &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;End&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style="font-size:85%;"&gt;&amp;lt; % }%&amp;gt;&lt;br /&gt;&amp;lt; /nested:iterate&amp;gt; &lt;/span&gt;&lt;/blockquote&gt;&lt;span style="font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-3461094741601805854?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/3461094741601805854/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=3461094741601805854&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/3461094741601805854'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/3461094741601805854'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/determining-list-size-using-struts.html' title='Determining list size using Struts'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/_y4crjf8aMPI/R7rW6RFKUNI/AAAAAAAAAAw/hBZTNb9rS1o/s72-c/struts.gif' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3473473485529511329.post-7039876477474851907</id><published>2008-02-19T11:46:00.006+01:00</published><updated>2008-03-05T17:28:33.017+01:00</updated><title type='text'>HelloWorld.java</title><content type='html'>This blog is a corner to share with you my little knowlage and my simple experience in life.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3473473485529511329-7039876477474851907?l=thejavacorner.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://thejavacorner.blogspot.com/feeds/7039876477474851907/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=3473473485529511329&amp;postID=7039876477474851907&amp;isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7039876477474851907'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3473473485529511329/posts/default/7039876477474851907'/><link rel='alternate' type='text/html' href='http://thejavacorner.blogspot.com/2008/02/hi-world.html' title='HelloWorld.java'/><author><name>A World Citizen</name><uri>http://www.blogger.com/profile/07246053453657909675</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://bp3.blogger.com/_y4crjf8aMPI/R7rLaRFKUKI/AAAAAAAAAAc/4QPjhYBF6-4/S220/12.jpg'/></author><thr:total>0</thr:total></entry></feed>
