<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments for Javaguidelines.com</title>
	<link>http://javaguidelines.com</link>
	<description>Just another WordPress weblog</description>
	<pubDate>Wed, 19 Nov 2008 23:47:42 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>Comment on Using Subversion, NetBeans IDE, and Sun Java System Web Server With Java ME by Sue Massey</title>
		<link>http://javaguidelines.com/2008/09/06/using-subversion-netbeans-ide-and-sun-java-system-web-server-with-java-me/#comment-68</link>
		<dc:creator>Sue Massey</dc:creator>
		<pubDate>Thu, 07 Feb 2008 05:13:32 +0000</pubDate>
		<guid>http://javaguidelines.com/2008/09/06/using-subversion-netbeans-ide-and-sun-java-system-web-server-with-java-me/#comment-68</guid>
		<description>I found your site on google blog search and read a few of your other posts.  Keep up the good work.  Just added your RSS feed to my feed reader.  Look forward to reading more from you.

- Sue.</description>
		<content:encoded><![CDATA[<p>I found your site on google blog search and read a few of your other posts.  Keep up the good work.  Just added your RSS feed to my feed reader.  Look forward to reading more from you.</p>
<p>- Sue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Java SE 6 Platform Quiz by admin</title>
		<link>http://javaguidelines.com/2008/01/29/the-java-se-6-platform-quiz/#comment-12</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Mon, 21 Jan 2008 15:08:15 +0000</pubDate>
		<guid>http://javaguidelines.com/2008/01/29/the-java-se-6-platform-quiz/#comment-12</guid>
		<description>http://java.sun.com/javase/6/launchquiz.html</description>
		<content:encoded><![CDATA[<p><a href="http://java.sun.com/javase/6/launchquiz.html" rel="nofollow">http://java.sun.com/javase/6/launchquiz.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on The Java SE 6 Platform Quiz by gajanan</title>
		<link>http://javaguidelines.com/2008/01/29/the-java-se-6-platform-quiz/#comment-11</link>
		<dc:creator>gajanan</dc:creator>
		<pubDate>Mon, 21 Jan 2008 14:59:43 +0000</pubDate>
		<guid>http://javaguidelines.com/2008/01/29/the-java-se-6-platform-quiz/#comment-11</guid>
		<description>pls sewnd quiz</description>
		<content:encoded><![CDATA[<p>pls sewnd quiz</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is Overriding? by Suganya</title>
		<link>http://javaguidelines.com/2007/07/04/what-is-overriding/#comment-9</link>
		<dc:creator>Suganya</dc:creator>
		<pubDate>Fri, 14 Sep 2007 19:36:26 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/07/04/what-is-overriding/#comment-9</guid>
		<description>please see
http://www.beyondaltitude.com for result</description>
		<content:encoded><![CDATA[<p>please see<br />
<a href="http://www.beyondaltitude.com" rel="nofollow">http://www.beyondaltitude.com</a> for result</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is the difference between Assignment and Initialization? by amjithps@gmail.com</title>
		<link>http://javaguidelines.com/2007/07/18/what-is-the-difference-between-assignment-and-initialization/#comment-7</link>
		<dc:creator>amjithps@gmail.com</dc:creator>
		<pubDate>Fri, 20 Jul 2007 04:31:38 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/07/18/what-is-the-difference-between-assignment-and-initialization/#comment-7</guid>
		<description>1.   amjithps(at)gmail(dot)com Said,

      Initialization and assignment are different operations, with different uses and different implementations.

      Let’s get it absolutely straight. Assignment occurs when you assign. All the other copying you run into is initialization, including initialization in a declaration, function return, argument passing, and catching exceptions.

      Assignment and initialization are essentially different operations not only because they’re used in different contexts but also because they do different things. This difference in operation is not so obvious in the built-in types such as int or double, because, in that case, both assignment and initialization consist simply of copying some bits (but see also References Are Aliases, Not Pointers [5, 13]):

      int a = 12; // initialization, copy 0X000C to a
      a = 12; // assignment, copy 0X000C to a

      However, things can be quite different for user-defined types. Consider the following simple, nonstandard string class:

      class String {
      public:
      String( const char *init ); // intentionally not explicit!
      ~String();
      String( const String &#38;that );
      String &#38;operator =( const String &#38;that );
      String &#38;operator =( const char *str );
      void swap( String &#38;that );
      friend const String // concatenate
      operator +( const String &#38;, const String &#38; );
      friend bool operator (::operator new( BUFSIZ ));
      names[0] = “Sakamoto”; // oops! delete [] uninitialized pointer!

      In this case, names refers to uninitialized storage because we called operator new directly, avoiding implicit initialization by String’s default constructor; names refers to a hunk of memory filled with random bits. When the String assignment operator is called in the second line, it will attempt to perform an array delete on an uninitialized pointer. (See Placement New [35, 119] for a safe way to perform an operation similar to such an assignment.)

      Because a constructor has less work to do than an assignment operator (in that a constructor can assume it’s working with uninitialized storage), an implementation will sometimes employ what’s known as a “computational constructor” for efficiency:

      const String operator +( const String &#38;a, const String &#38;b )
      { return String( a.s_, b.s_ ); }

      The two-argument computational constructor is not intended to be part of the interface of the String class, so it’s declared to be private.

      String::String( const char *a, const char *b ) {
      s_ = new char[ strlen(a)+strlen(b)+1 ];
      strcat( strcpy( s_, a ), b );
      }</description>
		<content:encoded><![CDATA[<p>1.   amjithps(at)gmail(dot)com Said,</p>
<p>      Initialization and assignment are different operations, with different uses and different implementations.</p>
<p>      Let’s get it absolutely straight. Assignment occurs when you assign. All the other copying you run into is initialization, including initialization in a declaration, function return, argument passing, and catching exceptions.</p>
<p>      Assignment and initialization are essentially different operations not only because they’re used in different contexts but also because they do different things. This difference in operation is not so obvious in the built-in types such as int or double, because, in that case, both assignment and initialization consist simply of copying some bits (but see also References Are Aliases, Not Pointers [5, 13]):</p>
<p>      int a = 12; // initialization, copy 0X000C to a<br />
      a = 12; // assignment, copy 0X000C to a</p>
<p>      However, things can be quite different for user-defined types. Consider the following simple, nonstandard string class:</p>
<p>      class String {<br />
      public:<br />
      String( const char *init ); // intentionally not explicit!<br />
      ~String();<br />
      String( const String &amp;that );<br />
      String &amp;operator =( const String &amp;that );<br />
      String &amp;operator =( const char *str );<br />
      void swap( String &amp;that );<br />
      friend const String // concatenate<br />
      operator +( const String &amp;, const String &amp; );<br />
      friend bool operator (::operator new( BUFSIZ ));<br />
      names[0] = “Sakamoto”; // oops! delete [] uninitialized pointer!</p>
<p>      In this case, names refers to uninitialized storage because we called operator new directly, avoiding implicit initialization by String’s default constructor; names refers to a hunk of memory filled with random bits. When the String assignment operator is called in the second line, it will attempt to perform an array delete on an uninitialized pointer. (See Placement New [35, 119] for a safe way to perform an operation similar to such an assignment.)</p>
<p>      Because a constructor has less work to do than an assignment operator (in that a constructor can assume it’s working with uninitialized storage), an implementation will sometimes employ what’s known as a “computational constructor” for efficiency:</p>
<p>      const String operator +( const String &amp;a, const String &amp;b )<br />
      { return String( a.s_, b.s_ ); }</p>
<p>      The two-argument computational constructor is not intended to be part of the interface of the String class, so it’s declared to be private.</p>
<p>      String::String( const char *a, const char *b ) {<br />
      s_ = new char[ strlen(a)+strlen(b)+1 ];<br />
      strcat( strcpy( s_, a ), b );<br />
      }</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on complete programmers reference by amjithps@gmail.com</title>
		<link>http://javaguidelines.com/2007/06/29/complete-programmers-reference/#comment-6</link>
		<dc:creator>amjithps@gmail.com</dc:creator>
		<pubDate>Fri, 20 Jul 2007 04:29:35 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/06/29/complete-programmers-reference/#comment-6</guid>
		<description>wow! great site ... thanks Anoop!</description>
		<content:encoded><![CDATA[<p>wow! great site &#8230; thanks Anoop!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What if the static modifier is removed from the signature of the main method? by admin</title>
		<link>http://javaguidelines.com/2007/06/19/what-if-the-static-modifier-is-removed-from-the-signature-of-the-main-method/#comment-4</link>
		<dc:creator>admin</dc:creator>
		<pubDate>Fri, 29 Jun 2007 10:04:15 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/06/19/what-if-the-static-modifier-is-removed-from-the-signature-of-the-main-method/#comment-4</guid>
		<description>test</description>
		<content:encoded><![CDATA[<p>test</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on What is an abstract class? by amjith</title>
		<link>http://javaguidelines.com/2007/06/19/what-is-an-abstract-class/#comment-3</link>
		<dc:creator>amjith</dc:creator>
		<pubDate>Mon, 25 Jun 2007 10:01:17 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/06/19/what-is-an-abstract-class/#comment-3</guid>
		<description>Abstract classes let you define some behaviors; they force your subclasses to provide others. For example, if you have an application framework, an abstract class may provide default services such as event and message handling. Those services allow your application to plug in to your application framework. However, there is some application-specific functionality that only your application can perform. Such functionality might include startup and shutdown tasks, which are often application-dependent. So instead of trying to define that behavior itself, the abstract base class can declare abstract shutdown and startup methods. The base class knows that it needs those methods, but an abstract class lets your class admit that it doesn't know how to perform those actions; it only knows that it must initiate the actions. When it is time to start up, the abstract class can call the startup method. When the base class calls this method, Java calls the method defined by the child class.</description>
		<content:encoded><![CDATA[<p>Abstract classes let you define some behaviors; they force your subclasses to provide others. For example, if you have an application framework, an abstract class may provide default services such as event and message handling. Those services allow your application to plug in to your application framework. However, there is some application-specific functionality that only your application can perform. Such functionality might include startup and shutdown tasks, which are often application-dependent. So instead of trying to define that behavior itself, the abstract base class can declare abstract shutdown and startup methods. The base class knows that it needs those methods, but an abstract class lets your class admit that it doesn&#8217;t know how to perform those actions; it only knows that it must initiate the actions. When it is time to start up, the abstract class can call the startup method. When the base class calls this method, Java calls the method defined by the child class.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Future of java by sanoop</title>
		<link>http://javaguidelines.com/2007/06/14/future-of-java/#comment-2</link>
		<dc:creator>sanoop</dc:creator>
		<pubDate>Sat, 16 Jun 2007 06:52:12 +0000</pubDate>
		<guid>http://javaguidelines.com/2007/06/14/future-of-java/#comment-2</guid>
		<description>yep</description>
		<content:encoded><![CDATA[<p>yep</p>
]]></content:encoded>
	</item>
</channel>
</rss>
