<?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></title>
	<atom:link href="http://www.my-programming.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.my-programming.com</link>
	<description>The comprehensive way to start programming</description>
	<lastBuildDate>Sat, 19 May 2012 04:23:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Difference between throw and throws keywords</title>
		<link>http://www.my-programming.com/2012/05/difference-between-throw-and-throws-keywords/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=difference-between-throw-and-throws-keywords</link>
		<comments>http://www.my-programming.com/2012/05/difference-between-throw-and-throws-keywords/#comments</comments>
		<pubDate>Sat, 19 May 2012 04:23:31 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Blah Blah]]></category>
		<category><![CDATA[Custom Message]]></category>
		<category><![CDATA[Exception Handling]]></category>
		<category><![CDATA[Exceptions]]></category>
		<category><![CDATA[Java Compiler]]></category>
		<category><![CDATA[Keyword]]></category>
		<category><![CDATA[Keywords]]></category>
		<category><![CDATA[Lt]]></category>
		<category><![CDATA[Public Void]]></category>
		<category><![CDATA[Signature]]></category>
		<category><![CDATA[Singular Form]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=239</guid>
		<description><![CDATA[Whenever we want to force an exception then we use throw keyword. the throw keyword (note the singular form) is used to force an exception. It can also pass a custom message to your exception handling module. Moreover throw keyword can also be used to pass a custom message to the exception handling module i.e. the message which we want to be [...]]]></description>
				<content:encoded><![CDATA[<p>Whenever we want to force an exception then we use <strong>throw<em> </em></strong>keyword. the <strong>throw</strong> keyword (note the singular form) is used to force an exception. It can also pass a custom message to your exception handling module. Moreover<strong> throw</strong> keyword can also be used to pass a custom message to the exception handling module i.e. the message which we want to be printed.</p>
<p><em>Throw</em> is used to actually throw the exception, whereas <em>throws</em> is declarative for the method. They are not interchangeable.</p>
<p><em>Throws</em>: this is to be used when you are not using the try catch statement in your code but you know that this particular class is capable of throwing so and so exception(only checked exceptions). In this you do not use try catch block but write using the throw clause at appropriate point in  you code and the exception is thrown to caller of the method and is handeled by it</p>
<pre>public void myMethod(int param) throws MyException 
{</pre>
<pre>    if (param &lt; 10)</pre>
<pre>    {</pre>
<pre>        throw new MyException("Too low!);</pre>
<pre>    }</pre>
<pre>    //Blah, Blah, Blah...</pre>
<pre>}</pre>
<p>The Throw clause can be used in any part of code where you feel a specific exception needs to be thrown to the calling method.</p>
<p>If a method is throwing an exception, it should either be surrounded by a try catch block to catch it or that method should have the throws clause in its signature. Without the throws clause in the signature the Java compiler does not know what to do with the exception. The throws clause tells the compiler that this particular exception would be handled by the calling method.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-java/" title="difference between throw and throws in java">difference between throw and throws in java</a> (761)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throw-in-java/" title="difference between throws and throw in java">difference between throws and throw in java</a> (99)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keyword-in-java/" title="difference between throw and throws keyword in java">difference between throw and throws keyword in java</a> (66)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws/" title="difference between throw and throws">difference between throw and throws</a> (66)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-in-java/" title="throw and throws in java">throw and throws in java</a> (53)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws-in-java/" title="what is the difference between throw and throws in java">what is the difference between throw and throws in java</a> (52)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-c/" title="difference between throw and throws in c#">difference between throw and throws in c#</a> (35)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throw-and-throws-in-java/" title="what is difference between throw and throws in java">what is difference between throw and throws in java</a> (23)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keyword/" title="difference between throw and throws keyword">difference between throw and throws keyword</a> (21)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws-keywords-in-java/" title="what is the difference between throw and throws keywords in java">what is the difference between throw and throws keywords in java</a> (17)</li><li><a href="http://www.my-programming.com/search/difference-bw-throw-and-throws-in-java/" title="difference b/w throw and throws in java">difference b/w throw and throws in java</a> (15)</li><li><a href="http://www.my-programming.com/search/diff-between-throw-and-throws-in-java/" title="diff between throw and throws in java">diff between throw and throws in java</a> (14)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throw/" title="difference between throws and throw">difference between throws and throw</a> (11)</li><li><a href="http://www.my-programming.com/search/differentiate-between-throw-and-throws-in-java/" title="differentiate between throw and throws in java">differentiate between throw and throws in java</a> (10)</li><li><a href="http://www.my-programming.com/search/throw-keyword-in-java/" title="throw keyword in java">throw keyword in java</a> (9)</li><li><a href="http://www.my-programming.com/search/throws-and-throw-in-java/" title="throws and throw in java">throws and throw in java</a> (9)</li><li><a href="http://www.my-programming.com/search/explain-throw-and-throws-clauses-in-java/" title="explain throw and throws clauses in java">explain throw and throws clauses in java</a> (8)</li><li><a href="http://www.my-programming.com/search/throw-keyword/" title="throw keyword">throw keyword</a> (8)</li><li><a href="http://www.my-programming.com/search/diff-between-throws-and-throw-in-java/" title="diff between throws and throw in java">diff between throws and throw in java</a> (7)</li><li><a href="http://www.my-programming.com/search/differences-between-throw-and-throws-in-java/" title="differences between throw and throws in java">differences between throw and throws in java</a> (6)</li><li><a href="http://www.my-programming.com/search/throws-keyword-in-java/" title="throws keyword in java">throws keyword in java</a> (6)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keywords-in-java/" title="difference between throw and throws keywords in java">difference between throw and throws keywords in java</a> (6)</li><li><a href="http://www.my-programming.com/search/use-of-throw-keyword-in-java/" title="use of throw keyword in java">use of throw keyword in java</a> (6)</li><li><a href="http://www.my-programming.com/search/throw-and-throws/" title="throw and throws">throw and throws</a> (6)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-try-catch/" title="difference between throws and try catch">difference between throws and try catch</a> (5)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-difference/" title="throw and throws difference">throw and throws difference</a> (5)</li><li><a href="http://www.my-programming.com/search/diff-bw-throw-and-throws-in-java/" title="diff b/w throw and throws in java">diff b/w throw and throws in java</a> (5)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-clause-in-java/" title="difference between throw and throws clause in java">difference between throw and throws clause in java</a> (4)</li><li><a href="http://www.my-programming.com/search/explain-throws-keyword-in-java/" title="explain throws keyword in java">explain throws keyword in java</a> (4)</li><li><a href="http://www.my-programming.com/search/diff-between-throw-and-throws/" title="diff between throw and throws">diff between throw and throws</a> (4)</li><li><a href="http://www.my-programming.com/search/what-is-throw-and-throws-in-java/" title="what is throw and throws in java">what is throw and throws in java</a> (4)</li><li><a href="http://www.my-programming.com/search/difference-between-try-and-catch-in-java/" title="difference between try and catch in java">difference between try and catch in java</a> (4)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws/" title="what is the difference between throw and throws">what is the difference between throw and throws</a> (4)</li><li><a href="http://www.my-programming.com/search/throw-vs-throws-in-c/" title="throw vs throws in c#">throw vs throws in c#</a> (4)</li><li><a href="http://www.my-programming.com/search/different-between-throw-and-throws-in-java/" title="different between throw and throws in java">different between throw and throws in java</a> (3)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throws-and-throw-in-java/" title="what is difference between throws and throw in java">what is difference between throws and throw in java</a> (3)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throws-and-throw-in-java/" title="what is the difference between throws and throw in java">what is the difference between throws and throw in java</a> (3)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-clause/" title="difference between throw and throws clause">difference between throw and throws clause</a> (3)</li><li><a href="http://www.my-programming.com/search/diffrence-between-throw-and-throws-in-java/" title="diffrence between throw and throws in java">diffrence between throw and throws in java</a> (3)</li><li><a href="http://www.my-programming.com/search/explain-try-catch-throw-throws-finally-in-java/" title="explain try catch throw throws finally in java">explain try catch throw throws finally in java</a> (3)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-exception-handling-in-java/" title="difference between throw and throws in exception handling in java">difference between throw and throws in exception handling in java</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throw-and-throws-keyword/" title="what is difference between throw and throws keyword">what is difference between throw and throws keyword</a> (2)</li><li><a href="http://www.my-programming.com/search/the-difference-between-throw-and-throws-in-java/" title="the difference between throw and throws in java">the difference between throw and throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-try-catch-and-throws-in-java/" title="difference between try catch and throws in java">difference between try catch and throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throw-and-throws/" title="what is difference between throw and throws">what is difference between throw and throws</a> (2)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-keyword-in-java/" title="throw and throws keyword in java">throw and throws keyword in java</a> (2)</li><li><a href="http://www.my-programming.com/search/throw-vs-throws/" title="throw vs throws">throw vs throws</a> (2)</li><li><a href="http://www.my-programming.com/search/differentiate-between-throw-and-throws/" title="differentiate between throw and throws">differentiate between throw and throws</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-throw-and-throws/" title="difference throw and throws">difference throw and throws</a> (2)</li><li><a href="http://www.my-programming.com/search/throw-vs-throws-java/" title="throw vs throws java">throw vs throws java</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws-keyword-in-java/" title="what is the difference between throw and throws keyword in java">what is the difference between throw and throws keyword in java</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throw-in-java/" title="difference between throw and throw in java">difference between throw and throw in java</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-thorws/" title="difference between throw and thorws">difference between throw and thorws</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-c/" title="difference between throw and throws in c">difference between throw and throws in c</a> (2)</li><li><a href="http://www.my-programming.com/search/diff-bet-throw-and-throws-in-java/" title="diff bet throw and throws in java">diff bet throw and throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-throws-in-java/" title="difference between throw &amp; throws in java">difference between throw &amp; throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-the-diff-between-throw-and-throws-in-java/" title="what is the diff between throw and throws in java">what is the diff between throw and throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-b-w-throw-and-throws-in-c/" title="difference b w throw and throws in c#">difference b w throw and throws in c#</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-the-diff-b-w-throw-and-throws-in-java/" title="what is the diff b w throw and throws in java">what is the diff b w throw and throws in java</a> (2)</li><li><a href="http://www.my-programming.com/search/differece-between-throw-and-throws/" title="Differece between throw and throws">Differece between throw and throws</a> (2)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-in-java-difference/" title="throw and throws in java difference">throw and throws in java difference</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws/" title="what is the difference between throw and throws?">what is the difference between throw and throws?</a> (1)</li><li><a href="http://www.my-programming.com/search/when-to-use-throw-throws-in-application-java/" title="when to use throw &amp; throws in application java">when to use throw &amp; throws in application java</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-keyword-java/" title="throw and throws keyword java">throw and throws keyword java</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-dan-throws/" title="throw dan throws">throw dan throws</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-keywords-in-java/" title="throw and throws keywords in java">throw and throws keywords in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throws-and-throw/" title="what is the difference between throws and throw">what is the difference between throws and throw</a> (1)</li><li><a href="http://www.my-programming.com/search/whay-is-throw-and-throws/" title="whay is throw and throws">whay is throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/when-to-use-throws/" title="when to use throws">when to use throws</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-and-throws-clauses-in-java/" title="throw and throws clauses in java">throw and throws clauses in java</a> (1)</li><li><a href="http://www.my-programming.com/search/logos-of-c-and-c-progamming-language-in-png-format/" title="logos of C and C progamming language in png format">logos of C and C progamming language in png format</a> (1)</li><li><a href="http://www.my-programming.com/search/menu-oriented-program-visual-c-oop/" title="menu-oriented program visual c oop">menu-oriented program visual c oop</a> (1)</li><li><a href="http://www.my-programming.com/search/notes-on-throw-and-throws-in-java/" title="notes on throw and throws in java">notes on throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/program-for-throw-and-throws/" title="program for throw and throws">program for throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/program-on-throw-keyword/" title="program on throw keyword">program on throw keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/the-difference-between-throw-and-throws/" title="the difference between throw and throws">the difference between throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/%d8%a7%d9%84%d9%81%d8%b1%d9%82-%d8%a8%d9%8a%d9%86-throw-and-throws/" title="الفرق بين throw and throws">الفرق بين throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/write-the-difference-between-throw-and-throws-in-java/" title="Write the difference between throw and throws in java">Write the difference between throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/write-a-java-program-that-uses-try-catch-and-throws-keyword/" title="write a java program that uses try catch and throws keyword">write a java program that uses try catch and throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/thorw-and-throws-differecne-in-java/" title="thorw and throws differecne in java">thorw and throws differecne in java</a> (1)</li><li><a href="http://www.my-programming.com/search/why-we-use-throws-in-java/" title="why we use throws in java">why we use throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/when-we-need-to-use-throws-keyword-in-java/" title="When we need to use Throws keyword in Java">When we need to use Throws keyword in Java</a> (1)</li><li><a href="http://www.my-programming.com/search/keyword-throws/" title="keyword throws">keyword throws</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws-keyword/" title="what is the difference between throw and throws keyword">what is the difference between throw and throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/use-of-throw-keyword-in-c-net/" title="use of throw keyword in c# net">use of throw keyword in c# net</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-bw-throw-and-throws/" title="what is the difference b/w throw and throws?">what is the difference b/w throw and throws?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-bw-throw-and-throws/" title="what is the difference b/w throw and throws">what is the difference b/w throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/wat-is-the-usage-of-throw-keyword-in-java/" title="wat is the usage of throw keyword in java">wat is the usage of throw keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-difference-between-throw-and-throws-in-java/" title="what are the difference between throw and throws in java">what are the difference between throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throw-and-throwa-in-java/" title="what is difference between throw and throwa in java">what is difference between throw and throwa in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-diff-throw-and-throws/" title="what is the diff throw and throws">what is the diff throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-dffrnce-bw-throw-nd-throws-on-java/" title="what is the dffrnce b/w throw nd throws on java">what is the dffrnce b/w throw nd throws on java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-differnt-between-throw-and-throws/" title="what is differnt between throw and throws">what is differnt between throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throw-and-throws-keyword-in-java/" title="what is difference between throw and throws keyword in java">what is difference between throw and throws keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throws-and-try-catch/" title="what is difference between throws and try catch">what is difference between throws and try catch</a> (1)</li><li><a href="http://www.my-programming.com/search/use-of-throw-and-throws-keyword/" title="use of throw and throws keyword">use of throw and throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/use-of-throw-and-throws-block-in-java/" title="use of throw and throws block in java">use of throw and throws block in java</a> (1)</li><li><a href="http://www.my-programming.com/search/use-of-throw-and-throw-keywords/" title="use of throw and throw keywords">use of throw and throw keywords</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-vs-throws-in-java/" title="throw vs throws in java">throw vs throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-throws-key-words/" title="what is the difference between throw and throws key words">what is the difference between throw and throws key words</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-throw-keyword-in-java/" title="what is throw keyword in java">what is throw keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/throws-and-throw-differencf/" title="throws and throw differencf">throws and throw differencf</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-throw-and-thorws-keyword/" title="what is the difference between throw and thorws keyword?">what is the difference between throw and thorws keyword?</a> (1)</li><li><a href="http://www.my-programming.com/search/throws-and-throw-in-java-difference/" title="throws and throw in java difference">throws and throw in java difference</a> (1)</li><li><a href="http://www.my-programming.com/search/throws-keyword/" title="throws keyword">throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/throws-vs-throw-in-java/" title="throws vs throw in java">throws vs throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-the-throws-and-throw-in-java/" title="what is the difference between the throws and throw in java">what is the difference between the throws and throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/try-catch-throw-throws-finally-java/" title="try catch throw throws finally java">try catch throw throws finally java</a> (1)</li><li><a href="http://www.my-programming.com/search/usage-of-throw-keyword-in-java/" title="usage of throw keyword in java">usage of throw keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-throws-and-throw/" title="what is difference between throws and throw?">what is difference between throws and throw?</a> (1)</li><li><a href="http://www.my-programming.com/search/c-exception-handling-throws-clause/" title="c# exception handling throws clause">c# exception handling throws clause</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throes/" title="difference between throw and throes">difference between throw and throes</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throwable-in-java/" title="difference between throw and throwable in java">difference between throw and throwable in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-c/" title="difference between throw and throws c#">difference between throw and throws c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-c-net-with-example/" title="difference between throw and throws in c# net with example">difference between throw and throws in c# net with example</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-exception-handling/" title="difference between throw and throws in exception handling">difference between throw and throws in exception handling</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-java-exception-handling/" title="difference between throw and throws in java exception handling">difference between throw and throws in java exception handling</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-in-php/" title="difference between throw and throws in php">difference between throw and throws in php</a> (1)</li><li><a href="http://www.my-programming.com/search/basic-difference-between-throw-and-throws-keyword-in-java/" title="basic difference between throw and throws keyword in java">basic difference between throw and throws keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keyword-in-java/" title="difference between throw and throws keyword in java?">difference between throw and throws keyword in java?</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keyword/" title="difference between throw and throws keyword?">difference between throw and throws keyword?</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-keywords-in-java-com/" title="difference between throw and throws keywords in java com">difference between throw and throws keywords in java com</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throws-statement/" title="difference between throw and throws statement">difference between throw and throws statement</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-and-throwse-in-java/" title="difference between throw and throwse in java">difference between throw and throwse in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-vs-throws-in-java/" title="difference between throw vs throws in java">difference between throw vs throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throw-in-c/" title="difference between throws and throw in c">difference between throws and throw in c</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throw-java/" title="difference between throws and throw java">difference between throws and throw java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-throws/" title="Difference between throw &amp; throws ?">Difference between throw &amp; throws ?</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throw-thows-keywords-in-java/" title="difference between throw &amp; thows keywords in java">difference between throw &amp; thows keywords in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throe-and-throws-in-java/" title="difference between throe and throws in java">difference between throe and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/c-objected-orented-catch/" title="C# objected orented catch">C# objected orented catch</a> (1)</li><li><a href="http://www.my-programming.com/search/can-we-use-throw-and-throws-together-in-java/" title="can we use throw and throws together in java">can we use throw and throws together in java</a> (1)</li><li><a href="http://www.my-programming.com/search/compare-keywords-throw-and-throws-in-java/" title="compare keywords throw and throws in java">compare keywords throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/defferentiate-between-throw-n-throws-in-java/" title="defferentiate between throw n throws in java">defferentiate between throw n throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/diference-between-throw-and-throws/" title="diference between throw and throws">diference between throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/diff-between-thows-and-throw-in-java/" title="diff between thows and throw in java">diff between thows and throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/diff-between-throw-and-throws-keywords/" title="diff between throw and throws keywords">diff between throw and throws keywords</a> (1)</li><li><a href="http://www.my-programming.com/search/diff-between-throw-and-trows-in-java/" title="diff between throw and trows in java">diff between throw and trows in java</a> (1)</li><li><a href="http://www.my-programming.com/search/diff-between-throws-and-try-catch/" title="diff between throws and try catch">diff between throws and try catch</a> (1)</li><li><a href="http://www.my-programming.com/search/differ-bw-throw-and-throws-keyword/" title="Differ b/w throw and throws keyword">Differ b/w throw and throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/differ-between-throw-and-throws-in-java/" title="Differ between throw and throws in java">Differ between throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-bw-throw-and-throws-in-exception-handling-c/" title="difference b/w throw and throws in exception handling c#">difference b/w throw and throws in exception handling c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-bw-throw-and-throws-keyword/" title="difference b/w throw and throws keyword">difference b/w throw and throws keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-bw-throw-and-throws-keyword-in-java/" title="difference b/w throw and throws keyword in java">difference b/w throw and throws keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-java-throw-and-throws/" title="difference between java throw and throws">difference between java throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-keyword-throw-and-throws/" title="difference between keyword throw and throws">difference between keyword throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throw-keyword/" title="Difference between throws and throw keyword">Difference between throws and throw keyword</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-thrown/" title="difference between throws and thrown">difference between throws and thrown</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-throws-and-throws-in-java/" title="difference between throws and throws in java">difference between throws and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/diffrence-between-throw-and-throws-java-t-point/" title="diffrence between throw and throws java t point">diffrence between throw and throws java t point</a> (1)</li><li><a href="http://www.my-programming.com/search/diffrence-btween-throw-and-throws-in-java/" title="Diffrence btween throw and throws in java">Diffrence btween throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/diffrnce-betwn-throw-and-throws-keywords/" title="diffrnce betwn throw and throws keywords">diffrnce betwn throw and throws keywords</a> (1)</li><li><a href="http://www.my-programming.com/search/distinguish-between-throw-and-throws-in-java/" title="distinguish between throw and throws in java">distinguish between throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-difference-between-throw-and-throws-in-exception-handling/" title="Explain difference between throw and throws in Exception handling">Explain difference between throw and throws in Exception handling</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-the-use-of-throw-and-throws/" title="explain the use of throw and throws">explain the use of throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-throw-and-thrown-and-throws-keyword-in-exception-handling/" title="explain throw and thrown and throws keyword in exception handling">explain throw and thrown and throws keyword in exception handling</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-throw-in-java/" title="explain throw in java">explain throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-throw-keyword-in-java/" title="explain throw keyword in java">explain throw keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/finally-object-oriented-programing/" title="finally Object oriented programing">finally Object oriented programing</a> (1)</li><li><a href="http://www.my-programming.com/search/how-it-allows-the-programmer-to-avoid-having-cleanup-code-accidentally-bypassed-by-a-return-in-finally/" title="how it allows the programmer to avoid having cleanup code accidentally bypassed by a return in finally">how it allows the programmer to avoid having cleanup code accidentally bypassed by a return in finally</a> (1)</li><li><a href="http://www.my-programming.com/search/how-keyword-throws-different-from-throw-in-java/" title="how keyword throws different from throw in java">how keyword throws different from throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/how-throws-and-throw-in-java-are-different/" title="how throws and throw in java are different">how throws and throw in java are different</a> (1)</li><li><a href="http://www.my-programming.com/search/how-to-use-throws-keyword-in-c/" title="how to use throws keyword in c#">how to use throws keyword in c#</a> (1)</li><li><a href="http://www.my-programming.com/search/java-difference-between-throw-and-throws/" title="java difference between throw and throws">java difference between throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/java-difference-between-throw-and-throws-keywords/" title="java difference between throw and throws keywords">java difference between throw and throws keywords</a> (1)</li><li><a href="http://www.my-programming.com/search/differents-between-throw-and-throws-in-java/" title="differents between throw and throws in java">differents between throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/differentiate-between-throw-throws/" title="Differentiate between throw &amp; throws">Differentiate between throw &amp; throws</a> (1)</li><li><a href="http://www.my-programming.com/search/different-bewteen-throw-and-throws-in-java/" title="different bewteen throw and throws in java">different bewteen throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-try-catch-and-throws/" title="difference between try catch and throws">difference between try catch and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-try-catch-throw-and-throws/" title="Difference between try catch throw and throws">Difference between try catch throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-try-throws-in-c-net/" title="difference between try throws in c# net">difference between try throws in c# net</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-betwen-throws-and-throw-in-java/" title="difference betwen throws and throw in java">difference betwen throws and throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-in-between-throws-and-throw/" title="difference in between throws and throw">difference in between throws and throw</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-in-throw-and-throws/" title="difference in throw and throws">difference in throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-throw-and-throws-in-java/" title="difference throw and throws in java">difference throw and throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-vs-throw-and-throws/" title="difference vs throw and throws">difference vs throw and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/differencethrow-throws-in-java/" title="difference:throw &amp; throws in java">difference:throw &amp; throws in java</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-between-throw-and-throws-in-exception-c/" title="differences between throw and throws in exception c">differences between throw and throws in exception c</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-between-throw-and-throws-keyword-in-java/" title="differences between throw and throws keyword in java">differences between throw and throws keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/differenece-between-throwsa-and-throw/" title="differenece between throwsa and throw">differenece between throwsa and throw</a> (1)</li><li><a href="http://www.my-programming.com/search/different-between-thow-and-throws/" title="Different between thow and throws">Different between thow and throws</a> (1)</li><li><a href="http://www.my-programming.com/search/different-between-throw-and-throws-of-java/" title="different between throw and throws of java">different between throw and throws of java</a> (1)</li><li><a href="http://www.my-programming.com/search/different-between-throw-throws-and-finally/" title="Different between throw throws and finally ?">Different between throw throws and finally ?</a> (1)</li><li><a href="http://www.my-programming.com/search/different-between-throws-and-throw/" title="different between throws and throw">different between throws and throw</a> (1)</li><li><a href="http://www.my-programming.com/search/java-exception-handling-program-usin-throw-and-throws/" title="Java exception handling program usin throw and throws">Java exception handling program usin throw and throws</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2012/05/difference-between-throw-and-throws-keywords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to throw Exceptions in Java</title>
		<link>http://www.my-programming.com/2012/05/how-to-throw-exceptions-in-java/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-throw-exceptions-in-java</link>
		<comments>http://www.my-programming.com/2012/05/how-to-throw-exceptions-in-java/#comments</comments>
		<pubDate>Sat, 19 May 2012 04:18:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Code Java]]></category>
		<category><![CDATA[Descendants]]></category>
		<category><![CDATA[Exception Object]]></category>
		<category><![CDATA[Exceptions In Java]]></category>
		<category><![CDATA[Execution]]></category>
		<category><![CDATA[Instances]]></category>
		<category><![CDATA[Java Platform]]></category>
		<category><![CDATA[Java Runtime Environment]]></category>
		<category><![CDATA[Object C]]></category>
		<category><![CDATA[Subclass]]></category>
		<category><![CDATA[Throwable Class]]></category>
		<category><![CDATA[Throwable Object]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=235</guid>
		<description><![CDATA[The exception is an exception object containing the details of the error being raised. This can be declared as an object and initialised before the throw command or included in the throw statement, using the new keyword and one of the exception&#8217;s constructors to set the object&#8217;s properties. Before you can catch an exception, some code somewhere must throw one. Any code [...]]]></description>
				<content:encoded><![CDATA[<p>The <em>exception</em> is an exception object containing the details of the error being raised. This can be declared as an object and initialised before the throw command or included in the throw statement, using the new keyword and one of the exception&#8217;s constructors to set the object&#8217;s properties.</p>
<p>Before you can catch an exception, some code somewhere must throw one. Any code can throw an exception: your code, code from a package written by someone else such as the packages that come with the Java platform, or the Java runtime environment. Regardless of what throws the exception, it&#8217;s always thrown with the throw statement.</p>
<p>Java platform provides numerous exception classes. All the classes are descendants of the Throwable class, and all allow programs to differentiate among the various types of exceptions that can occur during the execution of a program.You can also create your own exception classes to represent problems that can occur within the classes you write.</p>
<h3>The throw Statement</h3>
<p>All methods use the throw statement to throw an exception. The throw statement requires a single argument: a throwable object. Throwable objects are instances of any subclass of the Throwable class. Here&#8217;s an example of a throw statement.</p>
<div>
<div>Code: Java</div>
<div dir="ltr">
<pre>throw someThrowableObject;</pre>
</div>
</div>
<p>If you want to throw an exception explicitly then you need to use the throw clause. All the system-defined exceptions are thrown automatically, but the user-defined exceptions must be thrown explicitly using the throw clause. It takes the form as:</p>
<div>
<div>Code: Java</div>
<div dir="ltr">
<pre>try
 {// statements
 throw new UserDefinedException( );
 // statements
 }catch (UserDefinedException e)
 {
 System.out.printIn (“User defined exception caught”);
 }</pre>
</div>
</div>
<p>The UserDefinedException is a class made specifically to handle an exception and it is encapsulating some specific kind of user defined behaviour. This exception is raised explicitly using the throw clause. At the same time the catch clause is there ready to catch the same exception object.</p>
<p>Consider the following example in which a system defined exception is deliberately thrown in order to demonstrate the functionality of the throw clause:<br />
<code></code></p>
<div>
<div>Code: Java</div>
<div dir="ltr">
<pre>class Throw_clause {
    public static void main (String args [ ])
    {
        try{
            throw new NullPointerException ( );
        } catch (NullPointerException e){
            System.out.println ("Invalid reference use");
        }
    }
}</pre>
</div>
</div>
<p>Output:</p>
<div>
<div>Code:</div>
<pre dir="ltr"><span style="color: #4169e1;">Invalid reference use</span></pre>
</div>
<p>In the above example the throw clause throws an object of a system defined exception NullPointerException, which is actually thrown when an object storing a null pointer is reference. Thus, as soon as an the exception is raised it is caught with the catch clause, the statement inside the catch clause are executed and we get the above output.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/user-defined-exception-in-java-with-example-program/" title="user defined exception in java with example program">user defined exception in java with example program</a> (23)</li><li><a href="http://www.my-programming.com/search/example-program-for-user-defined-exception-in-java/" title="example program for user defined exception in java">example program for user defined exception in java</a> (14)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-handling-in-java-with-examples-program/" title="user defined exception handling in java with examples program">user defined exception handling in java with examples program</a> (5)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-in-java-simple-example/" title="user defined exception in java simple example">user defined exception in java simple example</a> (5)</li><li><a href="http://www.my-programming.com/search/simple-example-of-user-defined-exception-in-java/" title="Simple example of user defined exception in java">Simple example of user defined exception in java</a> (4)</li><li><a href="http://www.my-programming.com/search/simple-example-for-user-defined-exceptions-in-java/" title="simple example for user defined exceptions in java">simple example for user defined exceptions in java</a> (2)</li><li><a href="http://www.my-programming.com/search/explicitly-cause-an-exception-in-java-use-keyword/" title="explicitly cause an exception in java use keyword">explicitly cause an exception in java use keyword</a> (2)</li><li><a href="http://www.my-programming.com/search/write-a-java-program-to-throw-user-defined-exception/" title="write a java program to throw user defined exception">write a java program to throw user defined exception</a> (2)</li><li><a href="http://www.my-programming.com/search/user-defined-exceptions-and-throwable-in-java/" title="user defined exceptions and throwable in java">user defined exceptions and throwable in java</a> (1)</li><li><a href="http://www.my-programming.com/search/simple-program-of-throw-in-java/" title="simple program of throw in java">simple program of throw in java</a> (1)</li><li><a href="http://www.my-programming.com/search/simple-progran-of-throw-clause-in-java/" title="simple progran of throw clause in java">simple progran of throw clause in java</a> (1)</li><li><a href="http://www.my-programming.com/search/simple-user-defined-exception-example-in-java/" title="simple user defined exception example in java">simple user defined exception example in java</a> (1)</li><li><a href="http://www.my-programming.com/search/throw-user-defined-exception-in-java-example/" title="throw user defined exception in java example">throw user defined exception in java example</a> (1)</li><li><a href="http://www.my-programming.com/search/throwable-class-c/" title="throwable class c">throwable class c</a> (1)</li><li><a href="http://www.my-programming.com/search/write-a-simple-throw-exception-handling-program-in-java/" title="write a simple throw exception handling program in java">write a simple throw exception handling program in java</a> (1)</li><li><a href="http://www.my-programming.com/search/throwable-exception-family/" title="throwable exception family">throwable exception family</a> (1)</li><li><a href="http://www.my-programming.com/search/to-explicitly-cause-an-exception-to-occur-you-would-use-what-java-statement/" title="To explicitly cause an Exception to occur you would use what Java statement?">To explicitly cause an Exception to occur you would use what Java statement?</a> (1)</li><li><a href="http://www.my-programming.com/search/use-of-throw-in-java-with-simple-example/" title="use of throw in java with simple example">use of throw in java with simple example</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-example-program-in-java/" title="user defined exception example program in java">user defined exception example program in java</a> (1)</li><li><a href="http://www.my-programming.com/search/write-a-java-program-for-handling-user-defined-exceptions/" title="write a java program for handling user-defined exceptions">write a java program for handling user-defined exceptions</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-in-java-example/" title="user defined exception in java example">user defined exception in java example</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exceptions-with-clause-in-java/" title="user defined exceptions with clause in java">user defined exceptions with clause in java</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exceptions-keyword-in-java/" title="user defined exceptions keyword in java">user defined exceptions keyword in java</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-using-throw/" title="user defined exception using throw">user defined exception using throw</a> (1)</li><li><a href="http://www.my-programming.com/search/user-defined-exception-in-dao-layer/" title="user defined exception in dao layer">user defined exception in dao layer</a> (1)</li><li><a href="http://www.my-programming.com/search/java-throw-and-throws-user-defined-exception/" title="java throw and throws user defined exception">java throw and throws user defined exception</a> (1)</li><li><a href="http://www.my-programming.com/search/a-simple-throw-program-in-java/" title="a simple throw program in java">a simple throw program in java</a> (1)</li><li><a href="http://www.my-programming.com/search/exception-in-java-with-simple-example-with-output/" title="exception in java with simple example with output">exception in java with simple example with output</a> (1)</li><li><a href="http://www.my-programming.com/search/examples-of-java-programs-using-throw-exceptions/" title="examples of java programs using throw exceptions">examples of java programs using throw exceptions</a> (1)</li><li><a href="http://www.my-programming.com/search/example-user-defined-exceptions-in-java/" title="example user defined exceptions in java">example user defined exceptions in java</a> (1)</li><li><a href="http://www.my-programming.com/search/example-of-throw-user-defined-exception-in-java/" title="example of throw user defined exception in java">example of throw user defined exception in java</a> (1)</li><li><a href="http://www.my-programming.com/search/definition-of-throw-in-java-with-example/" title="definition of throw in java with example">definition of throw in java with example</a> (1)</li><li><a href="http://www.my-programming.com/search/code-to-throw-user-defined-exception-in-java/" title="code to throw user defined exception in java">code to throw user defined exception in java</a> (1)</li><li><a href="http://www.my-programming.com/search/class-which-throw-user-def-exception-by-using-throw-and-throws-exception/" title="class which throw user def exception by using throw and throws exception">class which throw user def exception by using throw and throws exception</a> (1)</li><li><a href="http://www.my-programming.com/search/fatal-error-out-of-memory-allocated-74448896-tried-to-allocate-71-bytes-in-wp-includesmeta-php-on-line-574/" title="Fatal error: Out of memory (allocated 74448896) (tried to allocate 71 bytes) in wp-includes/meta php on line 574">Fatal error: Out of memory (allocated 74448896) (tried to allocate 71 bytes) in wp-includes/meta php on line 574</a> (1)</li><li><a href="http://www.my-programming.com/search/how-throw-an-exception-java/" title="how throw an exception java">how throw an exception java</a> (1)</li><li><a href="http://www.my-programming.com/search/how-to-throw-nullpointerexception-in-java-using-userdefined-exception/" title="how to throw nullpointerexception in java using userdefined exception">how to throw nullpointerexception in java using userdefined exception</a> (1)</li><li><a href="http://www.my-programming.com/search/sample-programs-for-user-defined-exception-in-java/" title="sample programs for user-defined exception in java">sample programs for user-defined exception in java</a> (1)</li><li><a href="http://www.my-programming.com/search/runtime-error-program-cpro/" title="runtime error program: c:\pro">runtime error program: c:\pro</a> (1)</li><li><a href="http://www.my-programming.com/search/program-to-demonstrate-the-use-of-throw-clause/" title="program to demonstrate the use of throw clause">program to demonstrate the use of throw clause</a> (1)</li><li><a href="http://www.my-programming.com/search/java-throwing-runtimeexception-to-exit/" title="java throwing runtimeexception to exit">java throwing runtimeexception to exit</a> (1)</li><li><a href="http://www.my-programming.com/search/java-example-program-for-exception-handling-using-user-defined-exception/" title="java example program for exception handling using user defined exception">java example program for exception handling using user defined exception</a> (1)</li><li><a href="http://www.my-programming.com/search/if-the-exception-raised-at-dao-layer-how-to-throw-that-exception-in-java/" title="if the exception raised at dao layer how to throw that exception in java">if the exception raised at dao layer how to throw that exception in java</a> (1)</li><li><a href="http://www.my-programming.com/search/how-write-a-program-for-user-defined-exception-in-java-with-example/" title="how write a program for user defined exception in java with example">how write a program for user defined exception in java with example</a> (1)</li><li><a href="http://www.my-programming.com/search/how-to-throws-and-catch-user-defined-error-in-java/" title="how to throws and catch user defined error in java">how to throws and catch user defined error in java</a> (1)</li><li><a href="http://www.my-programming.com/search/a-simple-user-defined-catch-throw-exception-handling-in-java/" title="A simple user defined catch throw exception handling in java">A simple user defined catch throw exception handling in java</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2012/05/how-to-throw-exceptions-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Use Finally Clause</title>
		<link>http://www.my-programming.com/2012/05/how-to-use-finally-clause/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-use-finally-clause</link>
		<comments>http://www.my-programming.com/2012/05/how-to-use-finally-clause/#comments</comments>
		<pubDate>Sat, 19 May 2012 04:05:43 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Cleanup Code]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Control Statement]]></category>
		<category><![CDATA[Exception Handling]]></category>
		<category><![CDATA[Execution]]></category>
		<category><![CDATA[No Exceptions]]></category>
		<category><![CDATA[Programmer]]></category>
		<category><![CDATA[Uncaught Exception]]></category>
		<category><![CDATA[Unexpected Exception]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=229</guid>
		<description><![CDATA[The finally block always executes when the try block exits. This ensures that the finally block is executed even if an unexpected exception occurs. But finally is useful for more than just exception handling — it allows the programmer to avoid having cleanup code accidentally bypassed by a return, continue, or break. Putting cleanup code in a finally block is always a good practice, even when no exceptions are anticipated. [...]]]></description>
				<content:encoded><![CDATA[<ul>
<li>The <code>finally</code> block <em>always</em> executes when the <code>try</code> block exits. This ensures that the <code>finally</code> block is executed even if an unexpected exception occurs. But <code>finally</code> is useful for more than just exception handling — it allows the programmer to avoid having cleanup code accidentally bypassed by a <code>return</code>, <code>continue</code>, or <code>break</code>. Putting cleanup code in a <code>finally</code> block is always a good practice, even when no exceptions are anticipated.</li>
<li>A <code>finally</code> clause is usually included to make sure that some clean-up (e.g., closing opened files) is done.</li>
</ul>
<ul>
<li>A <code>finally</code> clause <em>always</em> executes when its try block executes (whether or not there is an exception). Furthermore, if the <code>finally</code> clause includes a transfer of control statement (return, break, continue, throw) then that statement overrides any transfer of control initiated in the try or in a catch clause. First, let&#8217;s assume that the <code>finally</code>clause does not include any transfer of control. Here are the situations that can arise:
<ol>
<li>No exception occurs during execution of the try, and no transfer of control is executed in the try.<br />
// The finally clause executes, then the statement following the try block.</li>
<li>No exception occurs during execution of the try, but it <em>does</em> execute a transfer of control.<br />
// The finally clause executes, then the transfer of control takes place.</li>
<li>An exception <em>does</em> occur during execution of the try, and there is no catch clause for that exception.<br />
// The finally clause executes, then the uncaught exception is &#8220;passed up&#8221; to the next enclosing try block, possibly in a calling function.</li>
<li>An exception <em>does</em> occur during execution of the try, and there <em>is</em> a catch clause for that exception. The catch clause does not execute a transfer of control.<br />
// The catch clause executes, then the finally clause, then the statement following the try block.</li>
<li>An exception <em>does</em> occur during execution of the try, there <em>is</em> a catch clause for that exception, and the catch clause <em>does</em> execute a transfer of control.<br />
// The catch clause executes, then the finally clause, then the transfer of control takes place.</li>
</ol>
<p>If the finally block <em>does</em> include a transfer of control, then that takes precedence over any transfer of control executed in the try or in an executed catch clause. So for all of the cases listed above, the finally clause would execute, then <em>its</em> transfer of control would take place. Here&#8217;s one example:</p>
<pre>    try {
        return 0;
    } finally {
        return 2;
    }</pre>
<p>The result of executing this code is that 2 is returned.Note that this is rather confusing! The moral is that you probably do <em>not</em> want to include transfer-of-control statements in both the try statements and the finally clause, or in both a catch clause and the finally clause.</p>
<h3>Try-finally clauses in bytecodes</h3>
<p>In bytecodes, <code>finally</code> clauses act as miniature subroutines within a method. At each exit point inside a <code>try</code> block and its associated <code>catch</code> clauses, the miniature subroutine that corresponds to the <code>finally</code> clause is called. After the <code>finally</code> clause completes &#8212; as long as it completes by executing past the last statement in the <code>finally</code> clause, not by throwing an exception or executing a return, continue, or break &#8212; the miniature subroutine itself returns. Execution continues just past the point where the miniature subroutine was called in the first place, so the <code>try</code> block can be exited in the appropriate manner.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2012/05/how-to-use-finally-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Catch Exceptions</title>
		<link>http://www.my-programming.com/2012/05/how-to-catch-exceptions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-catch-exceptions</link>
		<comments>http://www.my-programming.com/2012/05/how-to-catch-exceptions/#comments</comments>
		<pubDate>Sat, 19 May 2012 03:59:49 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Clauses]]></category>
		<category><![CDATA[Command Line Argument]]></category>
		<category><![CDATA[Exception Object]]></category>
		<category><![CDATA[Exit]]></category>
		<category><![CDATA[First Command]]></category>
		<category><![CDATA[Istream]]></category>
		<category><![CDATA[Java Exceptions]]></category>
		<category><![CDATA[Keyword]]></category>
		<category><![CDATA[Main String]]></category>
		<category><![CDATA[Scope]]></category>
		<category><![CDATA[String Args]]></category>
		<category><![CDATA[Zero Catch]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=226</guid>
		<description><![CDATA[To see how an exception is caught, you must first understand the concept of a guarded region. This section of code might produce exceptions and is followed by the code to handle those exceptions. If you are inside a method and you throw an exception (or another method that you call within this method throws an [...]]]></description>
				<content:encoded><![CDATA[<p>To see how an exception is caught, you must first understand the concept of a <em>guarded region</em>. This section of code might produce exceptions and is followed by the code to handle those exceptions.</p>
<p>If you are inside a method and you throw an exception (or another method that you call within this method throws an exception), that method will exit in the process of throwing. If you don&#8217;t want a throw to exit the method, you can set up a special block within that method to capture the exception. This is called the <em>try block</em> because you &#8220;try&#8221; your various method calls there. The try block is an ordinary scope preceded by the keyword try.</p>
<p>Catch exceptions using <em>try</em> blocks:</p>
<pre>    try {
       // statements that might cause exceptions
       // possibly including function calls
    } catch ( <span style="color: red;">exception-1 id-1</span> ) {
       // statements to handle this exception
    } catch ( <span style="color: red;">exception-2 id-2</span> ) {
       // statements to handle this exception
    .
    .
    .
    } finally {
       // statements to execute <em>every time</em> this try block executes
    }</pre>
<p>Notes:</p>
<ol>
<li>Each catch clause specifies the type of one exception, and provides a name for it (similar to the way a function header specifies the type and name of a parameter). Java exceptions are objects, so the statements in a catch clause can refer to the thrown exception object using the specified name.</li>
<li>The finally clause is optional.</li>
<li>In general, there can be one or more catch clauses. If there <em>is</em> a finally clause, there can be zero catch clauses.</li>
</ol>
<p><span style="text-decoration: underline;">Example</span> (a program that tries to open a file named by the first command-line argument for reading)</p>
<pre>public static void main(String[] args)
{
    InputStream istream;
    File        inputFile;

    try {
        inputFile = new File(args[0]);
	istream =   new InputStream(inputFile);  // may throw FileNotFoundException
    } catch (FileNotFoundException ex) {
        System.out.println("file " + args[0] + " not found");
    }
}</pre>
<p>Notes:</p>
<ol>
<li>The program really should make sure there is a command-line argument before attempting to use args[0].</li>
<li>Also, it probably makes more sense to put the try block in a loop, so that if the file is not found the user can be asked to enter a new file name, and a new attempt to open the file can be made.</li>
<li>As is, if the user runs the program with a bad file name foo, the message &#8220;file foo not found&#8221; will be printed, and the program will halt.</li>
<li>If there were no try block and the program were run with a bad file name foo, a more complicated message, something like this:
<pre>	 java.io.FilenotFoundException: foo
	    at java.io.FileInputStream ...
	    at ...
	    at Test.main ...</pre>
<p>would be printed. (Actually, if there were no try/catch for the FileNotFoundException, the program wouldn&#8217;t compile because it fails to list that exception as one that might be thrown. We&#8217;ll come back to that issue later&#8230;)</li>
</ol>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/how-can-catch-alt-code-with-php-in-objective-c/" title="how can catch alt code with php in objective c">how can catch alt code with php in objective c</a> (1)</li><li><a href="http://www.my-programming.com/search/oop-in-c/" title="oop in c">oop in c</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2012/05/how-to-catch-exceptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Null pointer exceptions</title>
		<link>http://www.my-programming.com/2012/05/java-null-pointer-exceptions/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=java-null-pointer-exceptions</link>
		<comments>http://www.my-programming.com/2012/05/java-null-pointer-exceptions/#comments</comments>
		<pubDate>Sat, 19 May 2012 03:50:16 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Arrays]]></category>
		<category><![CDATA[Bec]]></category>
		<category><![CDATA[C Pointer]]></category>
		<category><![CDATA[Constructor]]></category>
		<category><![CDATA[Default Values]]></category>
		<category><![CDATA[Instance Variable]]></category>
		<category><![CDATA[Int Value]]></category>
		<category><![CDATA[Java Exceptions]]></category>
		<category><![CDATA[Java Object]]></category>
		<category><![CDATA[Java Programs]]></category>
		<category><![CDATA[Jvm]]></category>
		<category><![CDATA[Main String]]></category>
		<category><![CDATA[Null Object]]></category>
		<category><![CDATA[Null Pointer Exception]]></category>
		<category><![CDATA[Object Reference]]></category>
		<category><![CDATA[Object References]]></category>
		<category><![CDATA[Pointers In C]]></category>
		<category><![CDATA[Public Int]]></category>
		<category><![CDATA[Scalars]]></category>
		<category><![CDATA[Store Location]]></category>
		<category><![CDATA[Widget]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=220</guid>
		<description><![CDATA[NullPointerException  is the exception that occurred when a programmer perform an operation on a object  or calling a method on the object i.e null. This exception is thrown by JVM.We should not handle that exception by try and catch block  The only way to resolve Null Pointer Exception is to avoid performing the operation on [...]]]></description>
				<content:encoded><![CDATA[<p><strong>NullPointerException</strong>  is the exception that occurred when a programmer perform an operation on a object  or calling a method on the object i.e null. This exception is thrown by JVM.We should not handle that exception by try and catch block  The only way to resolve Null Pointer Exception is to avoid performing the operation on an object or method of the object i.e is null.</p>
<p>Of the things which can go wrong at runtime in Java programs, null pointer exceptions are by far the most common. Recall that all values in Java programs are either scalars or references to objects, and that all variables have default values, which in the case of object references is null. Object references are like pointers in C, but are much more constrained: a C pointer can point to an arbitrary store location, while a Java object reference can point to an object of known type, or be null. When making a method call:</p>
<pre>x.m()</pre>
<p>there are therefore only two things that can go wrong: <tt>x</tt> might refer to a different object to that we intended, or it could be null. Fortunately, the latter is much more common in practice. The procedure for debugging null pointer exceptions is very simple:</p>
<ol>
<li>Identify the line where it occurred.</li>
<li>Ask &#8220;what objects (or arrays) are being referenced on this line&#8221;. One of them is null and it&#8217;s usually obvious which.</li>
<li>Figure out why it&#8217;s null.</li>
</ol>
<p>Usually the thing which is null is an instance variable, and it&#8217;s null because of some cockup with the constructor. This can occur in many ways: I&#8217;ve seen all of the cases below occur in practice, most of them many times. Suppose we have a simple class:</p>
<pre>public class Widget {
private int value;

public Widget(int v) { value = v; }

public int getValue() { return value; }
}</pre>
<p>and another class which uses it:</p>
<pre>public class Oops {

private Widget theWidget;

public static void main(String[] args) {
Oops myInstance = new Oops();
System.out.println(myInstance.theWidget.getValue());
}
}</pre>
<p>Obviously, when we run this we get a <strong>nullPointerException (1)</strong>, because theWidget has its default value of null, courtesy of the default constructor for class Oops. (In principle, there are four things on the line which could be null &#8211; four dots &#8211; but we can hopefully rule out System and System.out, and we just created myInstance, so it has to be theWidget).</p>
<p>So we need to provide an appropriate constructor, which will either take a Widget as a parameter, or create one. In the former case, we ought to use a meaningful name for the parameter, and it&#8217;s tedious to keep inventing meaningful names, so let&#8217;s use the same name as the instance variable:</p>
<pre>public Oops(Widget theWidget) {
theWidget = theWidget;
}</pre>
<p><strong>nullPointerException (2)</strong>. Oh, of course, we forgot to change the main program, the default constructor&#8217;s still getting called.</p>
<pre>...
Oops myInstance = new Oops(new Widget(42));
...</pre>
<p><strong>NullPointerException (3)</strong> Eh? The problem is that both sides of the assignement</p>
<pre>theWidget = theWidget;</pre>
<p>refer to the parameter, not to the instance variable, which isn&#8217;t touched. One solution &#8211; actually the one I use, is to explicitly say <tt>'this.'</tt> on the left hand side. I used to think this was completely safe, but:</p>
<pre>public Oops(Widget theWiget) {
this.theWidget = theWidget;
}</pre>
<p><strong>nullPointerException (4)</strong> Que? This time, because of the mis-spelling of the parameter name, both sides of the assignment refer to the instance variable, and it still doesn&#8217;t get set properly.</p>
<p>Possibly the safest way is to use the same names, but decorate one or the other by some systematic convention like a leading underscore. (I think it&#8217;s better to decorate the parameter, because that will probably only be referred to once, but some people prefer to decorate instance variables.)</p>
<pre>public Oops(Widget _theWidget) {
this.theWidget = _theWidget;
}</pre>
<p>The <tt>this.</tt> is now redundant, but I find it clearer to leave it in. The only thing which can go wrong now is if the parameter is null:</p>
<pre>...
Oops myInstance = new Oops(null);
...</pre>
<p><strong>nullPointerException (5)</strong>. In general, the caller of a constructor (or a method in general) is responsible for providing sensible parameters, and you shouldn&#8217;t assume null is ok unless the documentation explicitly says so.</p>
<p>Now suppose we create the widget in the constructor:</p>
<pre>public Oops() {
Widget theWidget = new Widget(42);
}
...
Oops myInstance = new Oops();
...</pre>
<p><strong>nullPointerException (6)</strong>. This time, the left hand side of the assignement is a <em>local variable</em> in the constructor, and again the instance variable isn&#8217;t touched.</p>
<p>Finally, my favourite:</p>
<pre>public void Oops() {
this.theWidget = new Widget(42);
}
...
Oops myInstance = new Oops();
...</pre>
<p><strong>nullPointerException (7)</strong>.</p>
<p>The problem is that the keyword <tt>void</tt> has slipped in, as a result of which we don&#8217;t have a constructor at all, but a <em>method</em> which happens to have the same name as the class! This is legal, although obviously not a good idea. The call to <tt>new Oops()</tt> therefore calls the default constructor again and we know the rest.</p>
<p>If <tt>void</tt> is omitted, this version works:</p>
<pre>public  Oops() {
this.theWidget = new Widget(42);
}
...
Oops myInstance = new Oops();
...</pre>
<p>These all look like pretty dumb mistakes when presented this way, but remember that normally there&#8217;s a lot of other code around to confuse the issue.</p>
<p>&nbsp;</p>
<p>When you see a null pointer exception. You should go to the line specified in the error and check if there might be any null references there. To do that you can add basic &#8220;if statements&#8221; for your object references used around that line (just like goldhouse did for f variable in the above code.). Once you found the null reference variable, you can fix the problem by changing the code there. This step is application specific: you might need to make sure that no null reference is there or you can allow null references but control the program flow for not getting a null pointer exception.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/arrays-of-objects-java-null-pointer-exceptions/" title="arrays of objects java null pointer exceptions">arrays of objects java null pointer exceptions</a> (1)</li><li><a href="http://www.my-programming.com/search/does-exception-catch-null-pointer-exception/" title="does Exception catch null pointer exception">does Exception catch null pointer exception</a> (1)</li><li><a href="http://www.my-programming.com/search/java-error-null-pointer-exception/" title="Java Error Null Pointer Exception">Java Error Null Pointer Exception</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-a-null-pointer-exception-in-java/" title="what is a null pointer exception in java">what is a null pointer exception in java</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2012/05/java-null-pointer-exceptions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C# Versus Other Programming Languages</title>
		<link>http://www.my-programming.com/2011/10/c-versus-other-programming-languages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=c-versus-other-programming-languages</link>
		<comments>http://www.my-programming.com/2011/10/c-versus-other-programming-languages/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 05:54:41 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Basic Java]]></category>
		<category><![CDATA[C Programming Language]]></category>
		<category><![CDATA[Constructs]]></category>
		<category><![CDATA[End Result]]></category>
		<category><![CDATA[Features Of C]]></category>
		<category><![CDATA[General Purpose Programming Language]]></category>
		<category><![CDATA[Grief]]></category>
		<category><![CDATA[Java Java]]></category>
		<category><![CDATA[Key Reasons]]></category>
		<category><![CDATA[Learning C]]></category>
		<category><![CDATA[Learning Java]]></category>
		<category><![CDATA[Many People]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Nbsp]]></category>
		<category><![CDATA[Predecessors]]></category>
		<category><![CDATA[Programmers]]></category>
		<category><![CDATA[Programming C]]></category>
		<category><![CDATA[Programming Errors]]></category>
		<category><![CDATA[programming languages]]></category>
		<category><![CDATA[Programming Languages C]]></category>
		<category><![CDATA[Promises]]></category>
		<category><![CDATA[Purpose Programming]]></category>
		<category><![CDATA[Three Languages]]></category>
		<category><![CDATA[Visual Basic 6]]></category>
		<category><![CDATA[Visual Basic C]]></category>
		<category><![CDATA[Visual Java]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=210</guid>
		<description><![CDATA[C# is one of the newest programming languages. It is a good that this will become a very popular language for a number of reasons. One of the key reasons is Microsoft and the promises of .NET. You might have heard about Visual Basic, C++, and Java. Perhaps you&#8217;re wondering what the differences are between [...]]]></description>
				<content:encoded><![CDATA[<p>C# is one of the newest programming languages. It is a good that this will become a very popular language for a number of reasons. One of the key reasons is Microsoft and the promises of .NET.</p>
<p>You might have heard about Visual Basic, C++, and Java. Perhaps you&#8217;re wondering what the differences are between C# and these other programming languages. You might also be wondering whether you should be teaching yourself one of these three languages instead of C#.</p>
<p>Microsoft says that C# brings the power of C++ with the ease of Visual Basic. C# does bring a lot of power, but is it as easy as Visual Basic? It might not be as easy as Visual Basic 6, but it is as easy as Visual Basic .NET (version 7), which was rewritten from the ground up. The end result is that Visual Basic is really no easier than programming C#. In fact, you can actually write many programs with less code using C#.</p>
<p>C# was meant to be an advance over both C++ and Java as a general purpose programming language. Although it can be argued that some of its features are a step backward, C# clearly includes some constructs that move it beyond its predecessors. Some of its features will surely be adopted by programming languages of the near-term future.</p>
<p>Although C# removes some of the features of C++ that cause programmers a lot of grief, no power or functionality was really lost. Some of the programming errors that are easy to create in C++ can be totally avoided in C#. This can save you hours or even days in finishing your programs. You&#8217;ll understand more about the differences from C++ as you learn C#.</p>
<p>You might also have heard of the C programming language. Many people wonder if they should learn C before learning C#, C++, or Java. Simply put, there is absolutely no need to learn C first.</p>
<p>Another language that has gotten lots of attention is Java. Java, like C++ and C#, is based on C. If you decide to learn Java later, you will find that a lot of what you learn about C# can be applied.</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/c-vs-other-languages/" title="c# vs other languages">c# vs other languages</a> (12)</li><li><a href="http://www.my-programming.com/search/programming-pictures/" title="programming pictures">programming pictures</a> (5)</li><li><a href="http://www.my-programming.com/search/c-compared-to-other-languages/" title="c# compared to other languages">c# compared to other languages</a> (4)</li><li><a href="http://www.my-programming.com/search/pic-programming/" title="pic programming">pic programming</a> (3)</li><li><a href="http://www.my-programming.com/search/c-programming/" title="c programming">c programming</a> (3)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-other-programming-languages/" title="difference between c# and other programming languages">difference between c# and other programming languages</a> (3)</li><li><a href="http://www.my-programming.com/search/pic-programmer/" title="pic programmer">pic programmer</a> (2)</li><li><a href="http://www.my-programming.com/search/comparison-of-c-with-other-languages/" title="comparison of c# with other languages">comparison of c# with other languages</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-other-programming-languages/" title="difference between c and other programming languages">difference between c and other programming languages</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-other-languages/" title="difference between c# and other languages">difference between c# and other languages</a> (2)</li><li><a href="http://www.my-programming.com/search/c-vs-other/" title="c# vs other">c# vs other</a> (2)</li><li><a href="http://www.my-programming.com/search/how-c-language-differ-from-others/" title="how c# language differ from others">how c# language differ from others</a> (1)</li><li><a href="http://www.my-programming.com/search/key-features-of-c-programming/" title="key features of c programming">key features of c programming</a> (1)</li><li><a href="http://www.my-programming.com/search/how-other-programing-languages-differs-from-c/" title="how other programing languages differs from c#">how other programing languages differs from c#</a> (1)</li><li><a href="http://www.my-programming.com/search/language-c/" title="language c#">language c#</a> (1)</li><li><a href="http://www.my-programming.com/search/married-wish-in-programming-language/" title="married wish in programming language">married wish in programming language</a> (1)</li><li><a href="http://www.my-programming.com/search/java-visual-basic/" title="java visual basic">java visual basic</a> (1)</li><li><a href="http://www.my-programming.com/search/image-of-programmer/" title="image of programmer">image of programmer</a> (1)</li><li><a href="http://www.my-programming.com/search/how-popular-programming-languages-differ-from-c/" title="how popular programming languages differ from c#">how popular programming languages differ from c#</a> (1)</li><li><a href="http://www.my-programming.com/search/picture-of-programming/" title="PICTURE OF pROGRAMMING">PICTURE OF pROGRAMMING</a> (1)</li><li><a href="http://www.my-programming.com/search/%cf%80%cf%81%ce%bf%ce%b3%cf%81%ce%b1%ce%bc%ce%bc%ce%b1%cf%84%ce%b9%cf%83%ce%bc%ce%bf%cf%82/" title="προγραμματισμος">προγραμματισμος</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-c-and-othe-languages/" title="what is the difference between c# and othe languages">what is the difference between c# and othe languages</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-programing-and-programming-languages/" title="what is difference between programing and programming languages">what is difference between programing and programming languages</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-c-programming-language-differ-from-other-programing-language/" title="what is c# programming language differ from other programing language">what is c# programming language differ from other programing language</a> (1)</li><li><a href="http://www.my-programming.com/search/spurgeons-law-90-of-everything-is-crap/" title="spurgeons law 90% of everything is crap">spurgeons law 90% of everything is crap</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-picture/" title="programming picture">programming picture</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-pics/" title="programming pics">programming pics</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-languge/" title="programming languge">programming languge</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-language-future-comparison/" title="Programming language future comparison">Programming language future comparison</a> (1)</li><li><a href="http://www.my-programming.com/search/picture-programming/" title="picture programming">picture programming</a> (1)</li><li><a href="http://www.my-programming.com/search/how-c-is-different-from-other-languages/" title="how c# is different from other languages">how c# is different from other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/how-c-differs-from-other-languages/" title="how c# differs from other languages">how c# differs from other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/compare-c-with-other-languages-in-detail/" title="compare c# with other languages in detail">compare c# with other languages in detail</a> (1)</li><li><a href="http://www.my-programming.com/search/and-difference-in-c-language/" title="* and ** difference in c language">* and ** difference in c language</a> (1)</li><li><a href="http://www.my-programming.com/search/c-language/" title="c# language">c# language</a> (1)</li><li><a href="http://www.my-programming.com/search/c-vs-other-programming-languages/" title="c vs other programming languages">c vs other programming languages</a> (1)</li><li><a href="http://www.my-programming.com/search/basic-concepts-of-oops-in-java/" title="basic concepts of oops in java">basic concepts of oops in java</a> (1)</li><li><a href="http://www.my-programming.com/search/advantages-of-c-over-other-languages/" title="advantages of c# over other languages">advantages of c# over other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/advantages-of-c-net-over-other-languages/" title="advantages of c# net over other languages">advantages of c# net over other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/advantages-of-c-sharp-programming-language/" title="advantages of c sharp programming language">advantages of c sharp programming language</a> (1)</li><li><a href="http://www.my-programming.com/search/advantage-of-c-comparing-to-others/" title="advantage of c# comparing to others">advantage of c# comparing to others</a> (1)</li><li><a href="http://www.my-programming.com/search/compared-c-with-other-languages/" title="compared c# with other languages">compared c# with other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/comparing-cobol-and-c-program/" title="comparing cobol and c# program">comparing cobol and c# program</a> (1)</li><li><a href="http://www.my-programming.com/search/comparison-net-c-and-other-languages/" title="comparison net c# and other languages">comparison net c# and other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/how-c-differ-from-other-languages/" title="How c# differ from other languages">How c# differ from other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/future-of-c-and-c/" title="future of c# and c">future of c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/differene-between-c-and-other-programming-languages/" title="differene between c# and other programming languages">differene between c# and other programming languages</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-between-c-and-other-languages/" title="differences between c# and other languages">differences between c# and other languages</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-features-of-php-with-other-programming-language/" title="difference features of php with other programming language">difference features of php with other programming language</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-vb-and-other-programming-languages-java/" title="difference between vb and other programming languages java">difference between vb and other programming languages java</a> (1)</li><li><a href="http://www.my-programming.com/search/computing-languages/" title="computing languages">computing languages</a> (1)</li><li><a href="http://www.my-programming.com/search/computer-language-programing/" title="COMPUTER LANGUAGE PROGRAMING">COMPUTER LANGUAGE PROGRAMING</a> (1)</li><li><a href="http://www.my-programming.com/search/comparison-of-c-with-other-object-oriented-programing-languages/" title="comparison of c# with other object oriented programing languages">comparison of c# with other object oriented programing languages</a> (1)</li><li><a href="http://www.my-programming.com/search/advantage-of-c-compared-to-other-languages/" title="advantage of c# compared to other languages">advantage of c# compared to other languages</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2011/10/c-versus-other-programming-languages/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Differences Between C# and C++</title>
		<link>http://www.my-programming.com/2011/10/differences-between-c-and-c/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=differences-between-c-and-c</link>
		<comments>http://www.my-programming.com/2011/10/differences-between-c-and-c/#comments</comments>
		<pubDate>Sat, 29 Oct 2011 10:22:44 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[C#]]></category>
		<category><![CDATA[C/C++]]></category>
		<category><![CDATA[Object Oriented Programming]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Assembly Machine]]></category>
		<category><![CDATA[C Developers]]></category>
		<category><![CDATA[C Programs]]></category>
		<category><![CDATA[C Source Code]]></category>
		<category><![CDATA[C Syntax]]></category>
		<category><![CDATA[Common Language Runtime]]></category>
		<category><![CDATA[High Level Language]]></category>
		<category><![CDATA[Intermediate Code]]></category>
		<category><![CDATA[Intermediate Language]]></category>
		<category><![CDATA[Jit Compiler]]></category>
		<category><![CDATA[Language Designers]]></category>
		<category><![CDATA[Memory Footprint]]></category>
		<category><![CDATA[Microsoft Team]]></category>
		<category><![CDATA[Object Oriented Language]]></category>
		<category><![CDATA[Open Source Version]]></category>
		<category><![CDATA[Runtime Environments]]></category>
		<category><![CDATA[Scripting Languages]]></category>
		<category><![CDATA[Windows Pcs]]></category>
		<category><![CDATA[Xbox 360]]></category>
		<category><![CDATA[Zune]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=204</guid>
		<description><![CDATA[C# is a modern object-oriented language developed by a Microsoft team led by Anders Hejlsberg. C# is a strongly typed object-oriented language whose code visually resembles C++ (and Java). This decision by the C# language designers allows C++ developers to easily leverage their knowledge to quickly become productive in C#, C# syntax differs from C++ in some [...]]]></description>
				<content:encoded><![CDATA[<p><strong>C#</strong> is a modern object-oriented language developed by a Microsoft team led by Anders Hejlsberg. C# is a strongly typed object-oriented language whose code visually resembles C++ (and Java). This decision by the C# language designers allows C++ developers to easily leverage their knowledge to quickly become productive in C#, C# syntax differs from C++ in some ways, but most of the differences between these languages are semantic and behavioral, stemming from differences in the runtime environments in which they execute.</p>
<p>C# source code compiles into managed code. Managed code, as you may already know, is an intermediate language (IL) because it is halfway between the high-level language (C#) and the lowest-level language (assembly/machine code). The Common Language Runtime, or CLR for short, is the virtual machine on which C# runs. Many languages run on the CLR and this means they can all be compiled and used on Windows PCs, the Xbox 360, and the Zune. The CLR is owned and developed by Microsoft, but there is also an open-source version of the CLR called Mono. Using Mono, C# programs can be run on Macs, Linux, or any other system for which Mono can be compiled. At runtime, the Common Language Runtime(CLR) compiles the code on the fly by using Just In Time (JIT) compiling. As with just about anything in engineering, this technique comes with its pros and cons. It may seem that an obvious con is the inefficiency of compiling the code at runtime. This process is different from interpreting, which is typically used by scripting languages such as Perl and JScript.</p>
<p>The JIT compiler doesn&#8217;t compile a function or method each and every time it&#8217;s called; it does so only the first time, and when it does, it produces machine code native to the platform on which it&#8217;s running. An obvious pro of JIT compiling is that the working set of the application is reduced, because the memory footprint of intermediate code is smaller. During the excetion of the application, only the needed code is JIT-compiled. If your application contains printing code, for example, that code is not needed if the user never prints a document, and therefore the JIT compiler never compiles it. Moreover, the CLR can optimize the program&#8217;s execution on the fly at runtime. For example, the CLR may determine a way to reduce page faults in the memory manager by rearranging compiled code in memory, and it could do all this at runtime. Once you weigh all the pros together, you find that they outweigh the cons for most applications.</p>
<p>Unlike C#,  C++ code traditionally complies into native code. Native code is the machine code that&#8217;s native to the processor for which the program was compiled. For the sake of discussion, assume that we&#8217;re talking about natively compiled C++ code rather than managed C++ which can be achieved by using C++/CLI. Compilers take human-readable source code, written in a language like C++ or C, and compile it into machine code. For example, the PlayStation 3 C++ compiler compiles source code into machine code that can run on the Cell CPU. To run the same C++ code on the Xbox 360 Xenon CPU, it must be compiled again using the Xbox 360 C++ complier. C# doesn’t work like this. C# compiles down to an assembly language called the common intermediate language or CIL. CIL is then run on a virtual machine that generates the machine code for the particular system. In the PlayStation 3 case that would mean to run C# on the PlayStation, it would need a virtual machine that could take CIL code and output machine code that the Cell CPU understands. If you want your native C++ application to run on different platforms, such as on both a 32-bit platform and a 64-bit platform, you must compile it separately for each. The native binary output is generally not compatible across platforms.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/difference-between-c-and-c/" title="difference between c and c#">difference between c and c#</a> (79)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c/" title="difference between c# and c">difference between c# and c</a> (49)</li><li><a href="http://www.my-programming.com/search/c-language/" title="c language">c language</a> (21)</li><li><a href="http://www.my-programming.com/search/differences-between-c-and-c/" title="differences between c and c#">differences between c and c#</a> (17)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-language/" title="difference between c and c# language">difference between c and c# language</a> (14)</li><li><a href="http://www.my-programming.com/search/differences-between-c-and-c/" title="differences between c# and c">differences between c# and c</a> (11)</li><li><a href="http://www.my-programming.com/search/difference-between-c-sharp-and-c/" title="difference between c sharp and c">difference between c sharp and c</a> (10)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-c-and-c/" title="what is the difference between c# and c">what is the difference between c# and c</a> (9)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-c-and-c/" title="what is difference between c and c#">what is difference between c and c#</a> (8)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-c-and-c/" title="what is the difference between c and c#">what is the difference between c and c#</a> (8)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-c-and-c-language/" title="what is the difference between c# and c language">what is the difference between c# and c language</a> (5)</li><li><a href="http://www.my-programming.com/search/c-and-c-difference/" title="c# and c difference">c# and c difference</a> (5)</li><li><a href="http://www.my-programming.com/search/difference-c-and-c/" title="difference c# and c">difference c# and c</a> (5)</li><li><a href="http://www.my-programming.com/search/different-between-c-and-c/" title="different between c# and c">different between c# and c</a> (4)</li><li><a href="http://www.my-programming.com/search/comparison-between-c-and-c/" title="comparison between c# and c">comparison between c# and c</a> (4)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-programming-language/" title="difference between c and c# programming language">difference between c and c# programming language</a> (4)</li><li><a href="http://www.my-programming.com/search/whats-the-difference-between-c-and-c/" title="whats the difference between c and c#">whats the difference between c and c#</a> (4)</li><li><a href="http://www.my-programming.com/search/difference-c-c/" title="différence c# c">différence c# c</a> (3)</li><li><a href="http://www.my-programming.com/search/difference-between-c-c-and-c/" title="difference between c c and c#">difference between c c and c#</a> (3)</li><li><a href="http://www.my-programming.com/search/comparison-between-c-and-c/" title="comparison between c and c#">comparison between c and c#</a> (3)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-sharp/" title="difference between c and c sharp">difference between c and c sharp</a> (3)</li><li><a href="http://www.my-programming.com/search/main-difference-between-c-and-c/" title="main difference between c# and c">main difference between c# and c</a> (3)</li><li><a href="http://www.my-programming.com/search/differencebetween-c-and-c/" title="differencebetween c# and c">differencebetween c# and c</a> (2)</li><li><a href="http://www.my-programming.com/search/c-c-differences/" title="c# c differences">c# c differences</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-c-compiler-and-c-compiler/" title="difference between c compiler and c# compiler">difference between c compiler and c# compiler</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-c-c/" title="Difference between c &amp; c#">Difference between c &amp; c#</a> (2)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-compiler/" title="Difference between c and c# compiler">Difference between c and c# compiler</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-c-and-c/" title="what is difference between c# and c">what is difference between c# and c</a> (2)</li><li><a href="http://www.my-programming.com/search/high-level-object-oriented-language/" title="high level object oriented language">high level object oriented language</a> (1)</li><li><a href="http://www.my-programming.com/search/major-difference-between-c-and-c/" title="major difference between c and c#">major difference between c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/main-difference-between-c-and-c/" title="main difference between c and c#">main difference between c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/main-differences-between-c-and-c/" title="main differences between c and c#">main differences between c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/main-differences-between-c-and-c/" title="main differences between c# and c">main differences between c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/fundamental-of-scripting-language/" title="fundamental of scripting language">fundamental of scripting language</a> (1)</li><li><a href="http://www.my-programming.com/search/main-difference-between-java-and-c-and-c/" title="main difference between java and c and c#">main difference between java and c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/major-difference-between-c-and-c/" title="major difference between c# and c">major difference between c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/oop-difference-between-c-and-c/" title="oop difference between c and c#">oop difference between c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-major-difference-between-c-and-oop-languages/" title="what is the major difference between c# and oop languages">what is the major difference between c# and oop languages</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-main-differences-between-java-c-and-c-and-what-is-similar/" title="what is the main differences between Java C and C# and what is similar">what is the main differences between Java C and C# and what is similar</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-differnece-between-c-sharp-and-c/" title="what is the differnece between c sharp and c">what is the differnece between c sharp and c</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-managed-and-native-c/" title="what is the difference between managed and native c">what is the difference between managed and native c</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-major-difference-between-c-and-c-sharp/" title="what is the major difference between c and c sharp?">what is the major difference between c and c sharp?</a> (1)</li><li><a href="http://www.my-programming.com/search/major-differences-between-c-and-c/" title="major differences between c# and c">major differences between c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-in-c-and-c/" title="what is difference in c and c#">what is difference in c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-difference-between-c-c/" title="what is difference between C# &amp; C">what is difference between C# &amp; C</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-differenc-between-c-sharp-and-c/" title="what is differenc between C sharp and C">what is differenc between C sharp and C</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-differences-between-c-and-c/" title="What are the differences between c and c# ?">What are the differences between c and c# ?</a> (1)</li><li><a href="http://www.my-programming.com/search/the-difference-between-c-sharp-and-c/" title="The difference between c sharp and c">The difference between c sharp and c</a> (1)</li><li><a href="http://www.my-programming.com/search/write-the-difference-between-c-and-c-compiler/" title="write the difference between c and c# compiler">write the difference between c and c# compiler</a> (1)</li><li><a href="http://www.my-programming.com/search/different-between-c-and-c-programing/" title="different between c# and c programing">different between c# and c programing</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c/" title="difference between c and c##">difference between c and c##</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-compilers/" title="difference between c and c# compilers">difference between c and c# compilers</a> (1)</li><li><a href="http://www.my-programming.com/search/5-main-difference-between-c-and-c/" title="5 main difference between c and c#">5 main difference between c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-between-c-and-c/" title="difference between between c# and c">difference between between c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-and-similarities-between-c-and-c/" title="difference and similarities between c# and c">difference and similarities between c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/computer-language-c/" title="computer language c">computer language c</a> (1)</li><li><a href="http://www.my-programming.com/search/c-vs-c-differences/" title="c# vs c differences">c# vs c differences</a> (1)</li><li><a href="http://www.my-programming.com/search/c-or-c/" title="c# or c">c# or c</a> (1)</li><li><a href="http://www.my-programming.com/search/c-differences/" title="c# differences">c# differences</a> (1)</li><li><a href="http://www.my-programming.com/search/c-c-difference/" title="c# c difference">c# c difference</a> (1)</li><li><a href="http://www.my-programming.com/search/c-and-c-syntax-difference/" title="c# and c syntax difference">c# and c syntax difference</a> (1)</li><li><a href="http://www.my-programming.com/search/c-and-c/" title="c# and c">c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-c-c-c/" title="difference between c c c#">difference between c c c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-c-and-c-language/" title="difference between c# and c language">difference between c# and c language</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-in-syntax-of-c-and-c/" title="differences in syntax of c and c#">differences in syntax of c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-between-c-sharp-and-c/" title="differences between c sharp and c">differences between c sharp and c</a> (1)</li><li><a href="http://www.my-programming.com/search/differences-between-c-c-and-c/" title="differences between c c and c#">differences between c c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-in-syntax-of-c-and-c-c/" title="difference in syntax of c and c# c">difference in syntax of c and c# c</a> (1)</li><li><a href="http://www.my-programming.com/search/c-differences-from-c/" title="c# differences from c">c# differences from c</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-c-and-c/" title="difference c and c#">difference c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-btw-c-and-c/" title="difference btw c# and c">difference btw c# and c</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-btn-c-and-c/" title="difference btn c and c#">difference btn c and c#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-object-code-and-intermediate-code/" title="difference between object code and intermediate code">difference between object code and intermediate code</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-compiler-of-c-and-c/" title="difference between compiler of C and C#">difference between compiler of C and C#</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-compilation-and-execution-in-c-sharp/" title="difference between compilation and execution in c sharp">difference between compilation and execution in c sharp</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-c-c/" title="difference between c# c">difference between c# c</a> (1)</li><li><a href="http://www.my-programming.com/search/c-c-differences/" title="c c# differences">c c# differences</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2011/10/differences-between-c-and-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is Pseudocode?</title>
		<link>http://www.my-programming.com/2011/10/what-is-pseudocode/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=what-is-pseudocode</link>
		<comments>http://www.my-programming.com/2011/10/what-is-pseudocode/#comments</comments>
		<pubDate>Wed, 26 Oct 2011 16:33:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=197</guid>
		<description><![CDATA[Pseudocode and flowcharts are both popular ways of representing algorithms. Pseudocode has been chosen as the primary method of representing an algorithm because it is easy to read and write, and allows the programmer to concentrate on the logic of the problem. Pseudocode is really structured English. It is English that has been formalised and [...]]]></description>
				<content:encoded><![CDATA[<p><strong>Pseudocode</strong> and flowcharts are both popular ways of representing algorithms. Pseudocode has been chosen as the primary method of representing an algorithm because it is easy to read and write, and allows the programmer to concentrate on the logic of the problem. Pseudocode is really structured English. It is English that has been formalised and abbreviated to look like the high-level computer languages.</p>
<p>Pseudocode provides another way to represent program logic. The approach is to write the program in a language similar to the one used for implementation but with an easily understood shorthand for complex expressions. The idea is to represent the logic but to ignore many of the syntactic requirements of the programming language.</p>
<p>A pseudocode design description is thus a mixture of human language and programming constructs. Instead of the complete logic for well-known functions, simple statements are used. Similarly, the program flow can be represent with traditional conditional statements, using written expressions to describe the logic. While there are no generally accepted pseudocode notation standards, it is a good idea to use language constructs that are similar to those in the high-level language being used. When you do, the psedocode will look familiar at implementation time and will provide a framework for implementation.</p>
<p>Because pseudocode does not require the programming language details, it is generally easier and quicker to produce than a completed source program. While there is no standard pseudocode, once you understand one version, it is easy to understand other versions. Many programmers use pseudocode. Abstract versions of it are used to express abstract algorithms. More language specific versions of it are used to express design for programs in those languages. Pseudocodes supposed to be clear enough that a human being can execute it &#8220;by hand,&#8221; without using a computer and with little or no knowledge of programming languages.</p>
<div>Pseudocode is used to represent the algorithm.  The common characteristics of pseudocode :</div>
<div>
<ul>
<li>Statements are written in simple English</li>
<li>Each instructions is written on a separate line</li>
<li>Keywords and indentation are used to signify particular control structures</li>
<li>Each set of instructions is written from top to bottom, with only one entry and one exit</li>
<li>Groups of statements may be formed into modules, and the module given a name</li>
</ul>
</div>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/what-is-pseudocode/" title="what is pseudocode">what is pseudocode</a> (176)</li><li><a href="http://www.my-programming.com/search/pseudocodes/" title="pseudocodes">pseudocodes</a> (78)</li><li><a href="http://www.my-programming.com/search/features-of-pseudocode/" title="features of pseudocode">features of pseudocode</a> (9)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocode/" title="what is pseudocode?">what is pseudocode?</a> (8)</li><li><a href="http://www.my-programming.com/search/general-characteristics-of-writing-pseudocode/" title="general characteristics of writing Pseudocode">general characteristics of writing Pseudocode</a> (8)</li><li><a href="http://www.my-programming.com/search/ways-of-representing-algorithms/" title="ways of representing algorithms">ways of representing algorithms</a> (8)</li><li><a href="http://www.my-programming.com/search/what-is-pseudo-code/" title="what is pseudo code">what is pseudo code</a> (7)</li><li><a href="http://www.my-programming.com/search/ways-of-representing-algorithm/" title="Ways of representing algorithm">Ways of representing algorithm</a> (7)</li><li><a href="http://www.my-programming.com/search/ways-of-representing-an-algorithm/" title="ways of representing an algorithm">ways of representing an algorithm</a> (6)</li><li><a href="http://www.my-programming.com/search/what-is-a-pseudo-code/" title="what is a pseudo code">what is a pseudo code</a> (5)</li><li><a href="http://www.my-programming.com/search/what-is-a-pseudocode/" title="what is a pseudocode">what is a pseudocode</a> (3)</li><li><a href="http://www.my-programming.com/search/pseudocode/" title="pseudocode">pseudocode</a> (3)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocode/" title="what is pseudocode ?">what is pseudocode ?</a> (3)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocode-in-programming/" title="What Is Pseudocode in Programming">What Is Pseudocode in Programming</a> (3)</li><li><a href="http://www.my-programming.com/search/characteristics-of-pseudocode/" title="Characteristics of pseudocode">Characteristics of pseudocode</a> (3)</li><li><a href="http://www.my-programming.com/search/pseudocode-program/" title="pseudocode program">pseudocode program</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-psuedocode/" title="What is psuedocode">What is psuedocode</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-psuedo-code/" title="what is psuedo code">what is psuedo code</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-pseudo-code/" title="what is pseudo code?">what is pseudo code?</a> (2)</li><li><a href="http://www.my-programming.com/search/characteristics-of-pseudo-code/" title="characteristics of pseudo code">characteristics of pseudo code</a> (2)</li><li><a href="http://www.my-programming.com/search/what-is-pseudcode/" title="what is pseudcode">what is pseudcode</a> (2)</li><li><a href="http://www.my-programming.com/search/what-are-the-characteristics-of-effective-pseudo-code/" title="what are the characteristics of effective pseudo-code">what are the characteristics of effective pseudo-code</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-feauters-of-a-pseudocode/" title="what are the feauters of a pseudocode">what are the feauters of a pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-high-level-pseudocode-and-detailed-pseudocode/" title="what is the difference between high level pseudocode and detailed pseudocode?">what is the difference between high level pseudocode and detailed pseudocode?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-logical-constructs-in-pseudo-code-in-programming-logic-and-design/" title="what are the logical constructs in Pseudo code in programming logic and design?">what are the logical constructs in Pseudo code in programming logic and design?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocode-in-programming-and-algorithm/" title="what is pseudocode in programming and algorithm">what is pseudocode in programming and algorithm</a> (1)</li><li><a href="http://www.my-programming.com/search/ways-to-tell-if-a-flowchartpseudocode-is-structured/" title="ways to tell if a flowchart/pseudocode is structured">ways to tell if a flowchart/pseudocode is structured</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudo-code-structured-flow-charts-and-actual-code-are-used-for-representing-algorithms/" title="Pseudo Code Structured flow charts and Actual code are used for representing Algorithms">Pseudo Code Structured flow charts and Actual code are used for representing Algorithms</a> (1)</li><li><a href="http://www.my-programming.com/search/ways-of-representing-algorthms/" title="ways of representing algorthms">ways of representing algorthms</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-difference-between-pseudocode-and-logical-programming/" title="what is the difference between pseudocode and logical programming">what is the difference between pseudocode and logical programming</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-pseudo-code/" title="what is the pseudo code">what is the pseudo code</a> (1)</li><li><a href="http://www.my-programming.com/search/representing-the-logics-of-programs-using-pseudocodes/" title="representing the logics of programs using pseudocodes">representing the logics of programs using pseudocodes</a> (1)</li><li><a href="http://www.my-programming.com/search/representation-of-algorithms-and-pseudocode-and-flowcharts/" title="representation of algorithms and pseudocode and flowcharts">representation of algorithms and pseudocode and flowcharts</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-ways-of-representing-algorithms/" title="what are the ways of representing algorithms">what are the ways of representing algorithms</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-ways-of-representing-an-algorithm/" title="what are the ways of representing an algorithm">what are the ways of representing an algorithm</a> (1)</li><li><a href="http://www.my-programming.com/search/what-ia-pseudocode/" title="what ia pseudocode">what ia pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/writing-in-pseudo-code-is-a-feature-of-which-computer-language/" title="Writing in pseudo code is a feature of which computer language">Writing in pseudo code is a feature of which computer language</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocodewrite-pseudo-code-for-different-logical-control-structures/" title="What is pseudocode?write pseudo code for different logical control structures">What is pseudocode?write pseudo code for different logical control structures</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pseudo-code/" title="what is pseudo-code?">what is pseudo-code?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pseudocoding/" title="what is pseudocoding">what is pseudocoding</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-psoedo-code/" title="what is psoedo code">what is psoedo code</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pseucode/" title="what is pseucode">what is pseucode</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-psedudocode/" title="what is psedudocode">what is psedudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-psedocode/" title="what is psedocode">what is psedocode</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-psuducode/" title="what is psuducode?">what is psuducode?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-pesudo-code/" title="what is pesudo code">what is pesudo code</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-features-of-a-pseudo-code/" title="What is Features of a pseudo code?">What is Features of a pseudo code?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-an-algodifference-between-a-pseudo-code-and-an-algo-which-is-betterwhy/" title="What is an Algo?Difference between a Pseudo-code and an algo Which is better?why?">What is an Algo?Difference between a Pseudo-code and an algo Which is better?why?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-psede-code/" title="What is psede code">What is psede code</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-a-pesudo-code/" title="what is a pesudo code">what is a pesudo code</a> (1)</li><li><a href="http://www.my-programming.com/search/represent-a-modules-in-pseudocode/" title="represent a modules in pseudocode">represent a modules in pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/represent-a-module-in-pseudocode/" title="represent a module in pseudocode">represent a module in pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/a-single-programmer-can-on-average-write-test-and-document-only-__lines-of-code-per-day/" title="a single programmer can on average write test and document only __lines of code per day">a single programmer can on average write test and document only __lines of code per day</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-algorithm-and-pseudocode-notation/" title="difference between algorithm and pseudocode notation">difference between algorithm and pseudocode notation</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-pseudocode-and-algorithm/" title="difference between pseudocode and algorithm">difference between pseudocode and algorithm</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-pseudocode-and-flowcharts-in-c/" title="Difference between Pseudocode and flowcharts in c#">Difference between Pseudocode and flowcharts in c#</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-generalcharactresistice-of-writing-pseudocode/" title="EXPLAIN GENERALCHARACTRESISTICE OF WRITING PSEUDOCODE">EXPLAIN GENERALCHARACTRESISTICE OF WRITING PSEUDOCODE</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-psuedocodes-statements/" title="explain psuedocodes statements">explain psuedocodes statements</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-the-difference-between-pseudo-code-and-algorithm/" title="explain the difference between pseudo code and algorithm">explain the difference between pseudo code and algorithm</a> (1)</li><li><a href="http://www.my-programming.com/search/features-of-psudocode/" title="features of psudocode">features of psudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/flowcharts-or-pseudocode-easier/" title="flowcharts or pseudocode? easier">flowcharts or pseudocode? easier</a> (1)</li><li><a href="http://www.my-programming.com/search/difference-between-algorithm-and-pseudocode/" title="difference between algorithm and pseudocode">difference between algorithm and pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/describe-the-methods-of-algorithm-represent-of-english-language-pseudo/" title="describe the methods of algorithm represent of english language pseudo">describe the methods of algorithm represent of english language pseudo</a> (1)</li><li><a href="http://www.my-programming.com/search/describe-pseudocode/" title="Describe pseudocode">Describe pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/about-pseudo-code-logic-in-c/" title="about pseudo code logic in c">about pseudo code logic in c</a> (1)</li><li><a href="http://www.my-programming.com/search/c-characteristics-of-pseudocode/" title="C characteristics of pseudocode">C characteristics of pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/characteristic-of-pseudo-codes/" title="Characteristic of pseudo codes">Characteristic of pseudo codes</a> (1)</li><li><a href="http://www.my-programming.com/search/characteristics-of-a-well-structured-pseudocode-algorithms/" title="characteristics of a well structured pseudocode algorithms">characteristics of a well structured pseudocode algorithms</a> (1)</li><li><a href="http://www.my-programming.com/search/characteristics-of-effective-pseudo-code/" title="characteristics of effective pseudo-code">characteristics of effective pseudo-code</a> (1)</li><li><a href="http://www.my-programming.com/search/characteristics-of-psuedo-code/" title="characteristics of psuedo code">characteristics of psuedo code</a> (1)</li><li><a href="http://www.my-programming.com/search/characteristics-of-writing-pseudocode/" title="characteristics of writing pseudocode">characteristics of writing pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/computer-language-for-searches/" title="computer language for searches">computer language for searches</a> (1)</li><li><a href="http://www.my-programming.com/search/flowcharts-pseudocode-program-code/" title="flowcharts pseudocode program code">flowcharts pseudocode program code</a> (1)</li><li><a href="http://www.my-programming.com/search/functions-of-pseudo-code/" title="functions of pseudo code">functions of pseudo code</a> (1)</li><li><a href="http://www.my-programming.com/search/general-characteristic-of-pseudo-code/" title="general characteristic of pseudo code">general characteristic of pseudo code</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocode-method/" title="pseudocode method">pseudocode method</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocode-representing-logic/" title="pseudocode representing logic">pseudocode representing logic</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocode-standard/" title="PSEUDOCODE STANDARD">PSEUDOCODE STANDARD</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocodes-language/" title="pseudocodes language">pseudocodes language</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocode/" title="pseudocode\\">pseudocode\\</a> (1)</li><li><a href="http://www.my-programming.com/search/pseuducodes/" title="pseuducodes">pseuducodes</a> (1)</li><li><a href="http://www.my-programming.com/search/psuedo-logic-programming/" title="psuedo logic programming">psuedo logic programming</a> (1)</li><li><a href="http://www.my-programming.com/search/psuedocode-programming/" title="psuedocode (Programming)">psuedocode (Programming)</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudocode-features/" title="pseudocode features">pseudocode features</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudo-code-to-represent-algorithms/" title="pseudo-code to represent algorithms">pseudo-code to represent algorithms</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudo-code-main-menu/" title="pseudo code main menu">pseudo code main menu</a> (1)</li><li><a href="http://www.my-programming.com/search/general-characteristic-of-writing-pseudocode/" title="general characteristic of writing pseudocode">general characteristic of writing pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/how-to-write-pseudocode-for-c-program/" title="how to write pseudocode for c program">how to write pseudocode for c program</a> (1)</li><li><a href="http://www.my-programming.com/search/methods-of-representing-algorithm/" title="methods of representing algorithm">methods of representing algorithm</a> (1)</li><li><a href="http://www.my-programming.com/search/presenting-the-programming-logic-using-pseudocode/" title="presenting the programming logic using pseudocode?">presenting the programming logic using pseudocode?</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-in-c-language-algorithms-and-psuedo/" title="programming in c language algorithms and psuedo">programming in c language algorithms and psuedo</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-logic-using-pseudocode/" title="Programming logic using pseudocode">Programming logic using pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudo-code-features/" title="pseudo code features">pseudo code features</a> (1)</li><li><a href="http://www.my-programming.com/search/pseudo-code-is-a-misture-of-english-and/" title="pseudo code is a misture of english and">pseudo code is a misture of english and</a> (1)</li><li><a href="http://www.my-programming.com/search/psuedocode-vs-flowchart/" title="psuedocode vs flowchart">psuedocode vs flowchart</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2011/10/what-is-pseudocode/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Why Exception Handling Is Handy</title>
		<link>http://www.my-programming.com/2011/10/why-exception-handling-is-handy/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=why-exception-handling-is-handy</link>
		<comments>http://www.my-programming.com/2011/10/why-exception-handling-is-handy/#comments</comments>
		<pubDate>Fri, 21 Oct 2011 03:31:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=190</guid>
		<description><![CDATA[For starters, exception handling brings order to the error identification and management process through the use of a generalized strategy for not only identifying and reporting application errors, but also specifying what the program should do once an error is encountered. Furthermore, exception handling syntax promotes the separation of error handlers from the general application logic, resulting in considerably [...]]]></description>
				<content:encoded><![CDATA[<p><a href="http://www.my-programming.com/wp-content/uploads/2011/10/php.jpg"><img class="alignleft size-full wp-image-149" title="php" src="http://www.my-programming.com/wp-content/uploads/2011/10/php.jpg" alt="PHP programming language" width="238" height="283" /></a>For starters, <strong>exception handling</strong> brings order to the error identification and management process through the use of a generalized strategy for not only identifying and reporting application errors, but also specifying what the program should do once an error is encountered. Furthermore, exception handling syntax promotes the separation of error handlers from the general application logic, resulting in considerably more organized, readable code. Most languages that implement exception handling abstract the process into four steps:</p>
<p>1. The application attempts to perform some task.<br />
2. If the attempt fails, the exception-handling feature throws an exception.<br />
3. The assigned handler catches the exception and performs any necessary tasks.<br />
4. The exception-handling feature cleans up any resources consumed during the attempt.</p>
<p>In a perfect world, your program would run like a well-oiled machine, devoid of both internal and userinitiated errors that disrupt the flow of execution. However, programming, like the real world, often involves unforeseen happenings that disrupt the flow of events. In programmer’s lingo, these unexpected happenings are known as exceptions. Some programming languages have the capability to react gracefully to an exception, a behavior known as exception handling. When an error is detected, the code issues, or throws, an exception. In turn, the error-handling code takes ownership of the exception, or catches it. The advantages to such a strategy are many.</p>
<p>Almost all languages have borrowed from the C++ syntax, known as try/catch. Here’s a simple<br />
pseudocode example:</p>
<p><code>try {<br />
perform some task<br />
if something goes wrong<br />
throw exception("Something bad happened")<br />
// Catch the thrown exception<br />
} catch(exception) {<br />
output the exception message<br />
}</code></p>
<p>You can also create multiple handler blocks, which allows you to account for a variety of errors. You can accomplish this either by using various predefined handlers or by extending one of the predefined handlers, essentially creating your own custom handler. PHP currently only offers a single handler, exception. However, that handler can be extended if necessary. It’s likely that additional default handlers will be made available in future releases. For the purposes of illustration, let’s build on the previous pseudocode example, using contrived handler classes to manage I/O and division-related errors:</p>
<p><code>try {<br />
perform some task<br />
if something goes wrong<br />
throw IOexception("Could not open file.")<br />
if something else goes wrong<br />
throw Numberexception("Division by zero not allowed.")<br />
// Catch IOexception<br />
} catch(IOexception) {<br />
output the IOexception message<br />
}<br />
// Catch Numberexception<br />
} catch(Numberexception) {<br />
output the Numberexception message<br />
}</code></p>
<p>If you’re new to exceptions, this standardized approach probably seems like a breath of fresh air.  The next section applies these concepts to PHP by introducing and demonstrating the variety of new exception-handling procedures made available in version 5.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/advantages-of-pseudocode-in-c-programming/" title="advantages of pseudocode in c programming">advantages of pseudocode in c programming</a> (2)</li><li><a href="http://www.my-programming.com/search/define-pseudocode/" title="define pseudocode">define pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/divide-by-zero-exception-handling-pseudocode/" title="divide by zero exception handling pseudocode">divide by zero exception handling pseudocode</a> (1)</li><li><a href="http://www.my-programming.com/search/example-of-pseudocode-exception-handling/" title="example of pseudocode exception handling">example of pseudocode exception handling</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2011/10/why-exception-handling-is-handy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Steps in Program Development</title>
		<link>http://www.my-programming.com/2011/10/steps-in-program-development/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=steps-in-program-development</link>
		<comments>http://www.my-programming.com/2011/10/steps-in-program-development/#comments</comments>
		<pubDate>Tue, 18 Oct 2011 09:28:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.my-programming.com/?p=183</guid>
		<description><![CDATA[Computer programming is an art. Many people believe that a programmer must be good at mathematics, have a memory for figures and technical information, and be prepared to spend many hours sitting at a computer, typing programs. However, given the right tools and steps to follow, anyone can write well designed programs. It is a [...]]]></description>
				<content:encoded><![CDATA[<p>Computer programming is an art. Many people believe that a programmer must be good at mathematics, have a memory for figures and technical information, and be prepared to spend many hours sitting at a computer, typing programs. However, given the right tools and steps to follow, anyone can write well designed programs. It is a task worth doing, as it is both stimulating and fullfilling.</p>
<p>Programming can be defined as the development of a solution to and identified problem, and the setting up of a related series of instructions that, when directed through computer hardware, will produce the desired results. It is the first part of this definition that satisfies the programmer&#8217;s creative needs; that is, to design a solution to an identified problem. Yet this step is so often overlooked. Leaping straight into the coding phase without first designing a proper solution usually results in a program that contains many errors. Often the programmer then needs to spend a significant amount of time finding these errors and correcting them. A more experienced programmer will design a solution to the program first, desk check this solution, and then code the program in a chosen programming language.</p>
<p>These are seven basic steps in the development of a program, as follows.</p>
<p>1. <em>Define the problem</em></p>
<p>This step involves carefully reading and rereading the problem until you understand completely what is required. To help with this initial analysis, the problem should be divided into three separate components: the inputs, the outputs, the processing steps to produce the required outputs. A defining diagram is recommended in this analysis phase, as it helps to separate and define the three components.</p>
<p>2. <em>Outline the solution</em></p>
<p>Once the problem has been defined, you may decide to break it down into smaller tasks or steps, and establish solution outline. This initial outline is usually a rough draft of the solution. The solution outline may also include a hierarchy or structure chart.</p>
<p>3. <em>Develop the outline into an algorithm</em></p>
<p>The solution outline developed in Step 2 is then expanded into an algorithm: a set of precise steps that describe exactly the tasks to be performed and the order in which they are to be carried out. This book uses pseudocode to represent the solution algorithm.</p>
<p>4. <em>Test the algorithm for correctness</em></p>
<p>This step is one of the most important in the development of a program and yet it is the step most often bypassed. The main purpose of desk checking the algorithm is to identify major logic errors early, so that they may be easily corrected. Test data needs to be walked through each step in the algorithm to check that the instructions described in the algorithm will actually do what they supposed to.</p>
<p>5. Code the algorithm into a specific programming language</p>
<p>Only after all design considerations in the previous four steps have been met should you actually start to code the program into your chosen programming language.</p>
<p>6. <em>Run program on the computer</em></p>
<p>This step uses a program compiler and programmer-designed test data to machine test the code for syntax error and logic error. This is usually the most rewarding step in the program development process. This step may need to be performed several times until you are satisfied that the program is running as required.</p>
<p>7. <em>Document and maintain the program</em></p>
<p>Program documentation should not be listed as the last step in the program development process, as it is really an ongoing task form the initial definition of the problem to the final test result. Documentation includes both external documentation and internal documentation that may have been coded in the program.</p>
<h4>Incoming search terms:</h4><ul><li><a href="http://www.my-programming.com/search/steps-in-programming/" title="steps in programming">steps in programming</a> (71)</li><li><a href="http://www.my-programming.com/search/steps-in-program-development/" title="steps in program development">steps in program development</a> (69)</li><li><a href="http://www.my-programming.com/search/steps-in-program-development-process/" title="steps in program development process">steps in program development process</a> (28)</li><li><a href="http://www.my-programming.com/search/5-steps-of-program-development-process/" title="5 steps of program development process">5 steps of program development process</a> (25)</li><li><a href="http://www.my-programming.com/search/steps-in-programming-development/" title="steps in programming development">steps in programming development</a> (12)</li><li><a href="http://www.my-programming.com/search/programming-steps/" title="programming steps">programming steps</a> (11)</li><li><a href="http://www.my-programming.com/search/program-development-steps-in-c/" title="program development steps in c">program development steps in c</a> (8)</li><li><a href="http://www.my-programming.com/search/program-development-process-steps/" title="program development process steps">program development process steps</a> (7)</li><li><a href="http://www.my-programming.com/search/program-development-steps-in-c-language/" title="program development steps in c language">program development steps in c language</a> (7)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-program-development/" title="what are the steps in program development">what are the steps in program development</a> (6)</li><li><a href="http://www.my-programming.com/search/steps-of-programming/" title="steps of programming">steps of programming</a> (6)</li><li><a href="http://www.my-programming.com/search/steps-in-development-of-a-program-in-c/" title="steps in development of a program in c">steps in development of a program in c</a> (5)</li><li><a href="http://www.my-programming.com/search/steps-in-programing/" title="steps in programing">steps in programing</a> (5)</li><li><a href="http://www.my-programming.com/search/steps-in-programme-development/" title="steps in programme development">steps in programme development</a> (5)</li><li><a href="http://www.my-programming.com/search/explain-the-programming-step-in-program-development/" title="Explain the programming step in program development">Explain the programming step in program development</a> (4)</li><li><a href="http://www.my-programming.com/search/steps-of-program-development-process/" title="steps of program development process">steps of program development process</a> (3)</li><li><a href="http://www.my-programming.com/search/program-development-steps/" title="program development steps">program development steps</a> (3)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-program-development-process/" title="what are the steps in program development process">what are the steps in program development process</a> (3)</li><li><a href="http://www.my-programming.com/search/7-steps-of-program-development/" title="7 steps of program development">7 steps of program development</a> (3)</li><li><a href="http://www.my-programming.com/search/steps-to-programming/" title="steps to programming">steps to programming</a> (3)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-programming/" title="what are the steps in programming">what are the steps in programming</a> (3)</li><li><a href="http://www.my-programming.com/search/steps-in-program/" title="Steps in program">Steps in program</a> (3)</li><li><a href="http://www.my-programming.com/search/5-steps-program-development-process/" title="5 steps program development process">5 steps program development process</a> (3)</li><li><a href="http://www.my-programming.com/search/programming-step-in-program-development/" title="programming step in program development">programming step in program development</a> (2)</li><li><a href="http://www.my-programming.com/search/steps-in-programming-process/" title="steps in programming process">steps in programming process</a> (2)</li><li><a href="http://www.my-programming.com/search/5-steps-of-the-program-development-process/" title="5 steps of the program development process">5 steps of the program development process</a> (2)</li><li><a href="http://www.my-programming.com/search/steps-of-programming-process/" title="steps of programming process">steps of programming process</a> (2)</li><li><a href="http://www.my-programming.com/search/steps-for-programming/" title="Steps for programming">Steps for programming</a> (2)</li><li><a href="http://www.my-programming.com/search/basic-steps-in-program-development/" title="basic steps in program development">basic steps in program development</a> (2)</li><li><a href="http://www.my-programming.com/search/steps-of-program-development/" title="steps of program development">steps of program development</a> (2)</li><li><a href="http://www.my-programming.com/search/the-steps-in-the-program-development-process/" title="The steps in the Program Development Process">The steps in the Program Development Process</a> (2)</li><li><a href="http://www.my-programming.com/search/steps-in-programing-development/" title="steps in programing development">steps in programing development</a> (2)</li><li><a href="http://www.my-programming.com/search/programm-development-steps-of-c/" title="programm development steps of c">programm development steps of c</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-program-development-in-c/" title="steps in program development in c">steps in program development in c</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-programming/" title="steps in programming/">steps in programming/</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-programming/" title="Steps in programming?">Steps in programming?</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-roggramme-developement/" title="steps in roggramme developement">steps in roggramme developement</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-of-program-development-in-c-language/" title="steps of program development in c language">steps of program development in c language</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-inprogramming/" title="steps inprogramming">steps inprogramming</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-of-program-development-in-c/" title="steps of program development in c">steps of program development in c</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-programme-development-process/" title="steps in programme development process">steps in programme development process</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-of-development-of-c-program/" title="steps of development of c program">steps of development of c program</a> (1)</li><li><a href="http://www.my-programming.com/search/the-steps-of-programming/" title="the steps of programming">the steps of programming</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-of-programming-to-program-development/" title="steps of programming to program development">steps of programming to program development</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-step-in-programm-development/" title="what are the step in programm development?">what are the step in programm development?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-for-developing-a-test-programme/" title="what are the steps for developing a test programme?">what are the steps for developing a test programme?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-a-program-development-process-in-c/" title="what are the steps in a program development process in c">what are the steps in a program development process in c</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-program-development/" title="what are the steps in program development?">what are the steps in program development?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-programming-process/" title="What are the steps in programming process?">What are the steps in programming process?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-in-the-programming-process/" title="what are the steps in the programming process ?">what are the steps in the programming process ?</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-steps-to-developing-code/" title="what are the steps to developing code">what are the steps to developing code</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-programing-describe-the-steps-of-programing/" title="what is programing ? describe the steps of programing">what is programing ? describe the steps of programing</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-programming-describe-the-steps-of-program-development-in/" title="what is programming ? describe the steps of program development in">what is programming ? describe the steps of program development in</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-programming-steps/" title="what is programming steps">what is programming steps</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-the-programming-describe-the-steps-of-programming-developing/" title="what is the programming? describe the steps of programming developing">what is the programming? describe the steps of programming developing</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-step-in-program-development/" title="what are the step in program development">what are the step in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-important-steps-in-c-programming/" title="what are the important steps in c programming">what are the important steps in c programming</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-on-programming/" title="steps on programming">steps on programming</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-prograing/" title="steps prograing">steps prograing</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-required-in-program-development/" title="steps required in program development">steps required in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/what-is-program-development-in-c-language/" title="what is program development in c language">what is program development in c language</a> (1)</li><li><a href="http://www.my-programming.com/search/stepse-in-programming/" title="stepse in programming">stepse in programming</a> (1)</li><li><a href="http://www.my-programming.com/search/the-main-steps-in-developing-code/" title="The main steps in developing code">The main steps in developing code</a> (1)</li><li><a href="http://www.my-programming.com/search/the-most-important-step-in-program-development/" title="the most important step in program development">the most important step in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/the-program-development-process-steps/" title="the program development process steps">the program development process steps</a> (1)</li><li><a href="http://www.my-programming.com/search/the-steps-in-programming/" title="the steps in programming">the steps in programming</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-basic-step-in-developing-a-programme/" title="What are the basic step in developing a programme">What are the basic step in developing a programme</a> (1)</li><li><a href="http://www.my-programming.com/search/what-are-the-basic-steps-in-the-development-of-computer-programming-language/" title="what are the basic steps in the development of computer programming language?">what are the basic steps in the development of computer programming language?</a> (1)</li><li><a href="http://www.my-programming.com/search/www-steps-to-c-program-development/" title="www steps to c program development">www steps to c program development</a> (1)</li><li><a href="http://www.my-programming.com/search/5-step-in-program-development-processs/" title="5 step in program development processs">5 step in program development processs</a> (1)</li><li><a href="http://www.my-programming.com/search/designer-steps-to-program-dev/" title="designer steps to program dev">designer steps to program dev</a> (1)</li><li><a href="http://www.my-programming.com/search/development-steps-of-c-program/" title="development steps of c program">development steps of c program</a> (1)</li><li><a href="http://www.my-programming.com/search/dicuess-the-program-development-steps-in-c-language/" title="dicuess the program development steps in c language">dicuess the program development steps in c language</a> (1)</li><li><a href="http://www.my-programming.com/search/discrebe-each-steps-in-programe-development/" title="discrebe each steps in programe development">discrebe each steps in programe development</a> (1)</li><li><a href="http://www.my-programming.com/search/discuse-the-steps-of-programming/" title="Discuse the steps of programming">Discuse the steps of programming</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-5-steps-of-program-development/" title="Explain 5 steps of program development">Explain 5 steps of program development</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-programming-step-in-program-developement/" title="explain programming step in program developement">explain programming step in program developement</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-programming-step-in-program-development/" title="Explain programming step in program development">Explain programming step in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-the-programming-step-in-program-development/" title="explain the programming step in program development?">explain the programming step in program development?</a> (1)</li><li><a href="http://www.my-programming.com/search/explain-the-programming-steps-in-program-development/" title="explain the programming steps in program development">explain the programming steps in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/identify-the-steps-of-programming/" title="identify the steps of programming">identify the steps of programming</a> (1)</li><li><a href="http://www.my-programming.com/search/describe-the-basic-step-in-developing-programming/" title="Describe the basic step in developing programming">Describe the basic step in developing programming</a> (1)</li><li><a href="http://www.my-programming.com/search/describe-each-of-the-steps-in-program-development/" title="Describe each of the steps in program development">Describe each of the steps in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/5-steps-in-program-development-process/" title="5 steps in program development process">5 steps in program development process</a> (1)</li><li><a href="http://www.my-programming.com/search/5-steps-in-the-program-development-process/" title="5 steps in the program development process">5 steps in the program development process</a> (1)</li><li><a href="http://www.my-programming.com/search/5-steps-process-of-programming/" title="5 steps process of programming">5 steps process of programming</a> (1)</li><li><a href="http://www.my-programming.com/search/5-steps-to-program-development/" title="5 steps to program development">5 steps to program development</a> (1)</li><li><a href="http://www.my-programming.com/search/7-steps-for-program-development/" title="7 steps for program development">7 steps for program development</a> (1)</li><li><a href="http://www.my-programming.com/search/basic-phases-in-programming-process/" title="basic phases in programming process">basic phases in programming process</a> (1)</li><li><a href="http://www.my-programming.com/search/basic-steps-in-programmig/" title="basic steps in programmig">basic steps in programmig</a> (1)</li><li><a href="http://www.my-programming.com/search/c-language-menu-design-steps/" title="C language menu design steps">C language menu design steps</a> (1)</li><li><a href="http://www.my-programming.com/search/define-programming-for-development/" title="define programming for development">define programming for development</a> (1)</li><li><a href="http://www.my-programming.com/search/defining-diagram-java/" title="defining diagram java">defining diagram java</a> (1)</li><li><a href="http://www.my-programming.com/search/describe-each-of-the-step-in-program-development/" title="describe each of the step in program development?">describe each of the step in program development?</a> (1)</li><li><a href="http://www.my-programming.com/search/list-the-seven-basic-steps-in-the-development-of-a-computer-program/" title="list the seven basic steps in the development of a computer program">list the seven basic steps in the development of a computer program</a> (1)</li><li><a href="http://www.my-programming.com/search/main-steps-in-program/" title="main steps in program">main steps in program</a> (1)</li><li><a href="http://www.my-programming.com/search/seven-basic-steps-basic-steps-in-the-development-of-a-program/" title="seven basic steps basic steps in the development of a program">seven basic steps basic steps in the development of a program</a> (1)</li><li><a href="http://www.my-programming.com/search/seven-steps-of-program-development/" title="seven steps of program development">seven steps of program development</a> (1)</li><li><a href="http://www.my-programming.com/search/step-by-step-programming/" title="step by step programming">step by step programming</a> (1)</li><li><a href="http://www.my-programming.com/search/step-in-programing-development/" title="step in programing development">step in programing development</a> (1)</li><li><a href="http://www.my-programming.com/search/step-into-programming-definition/" title="step into programming definition">step into programming definition</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-for-developing-a-computer-program/" title="steps for developing a computer program">steps for developing a computer program</a> (1)</li><li><a href="http://www.my-programming.com/search/define-the-problem-outline-the-solution/" title="define the problem outline the solution">define the problem outline the solution</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-c-program-development/" title="steps in c program development">steps in c program development</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-c-program-development-quick-basic/" title="steps in c program development -quick basic">steps in c program development -quick basic</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-developing-computer-program/" title="steps in developing computer program">steps in developing computer program</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-devolped-a-program-in-c/" title="steps in devolped a program in c">steps in devolped a program in c</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-steps-to-developing-code/" title="programming steps to developing code">programming steps to developing code</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-steps-in-program-development/" title="programming steps in program development">programming steps in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/most-important-step-in-programming/" title="most important step in programming">most important step in programming</a> (1)</li><li><a href="http://www.my-programming.com/search/outline-the-development-process-for-a-c-program/" title="outline the development process for a c program">outline the development process for a c program</a> (1)</li><li><a href="http://www.my-programming.com/search/problem-definition-as-a-step-in-program-development/" title="problem definition as a step in program development">problem definition as a step in program development</a> (1)</li><li><a href="http://www.my-programming.com/search/problem-in-programming-development/" title="problem in programming development">problem in programming development</a> (1)</li><li><a href="http://www.my-programming.com/search/program-development-process-in-programming/" title="program development process in programming">program development process in programming</a> (1)</li><li><a href="http://www.my-programming.com/search/program-development-programming-steps/" title="program development programming steps">program development programming steps</a> (1)</li><li><a href="http://www.my-programming.com/search/program-development-steps-c/" title="program development steps c">program development steps c</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-defining-diagram/" title="programming defining diagram">programming defining diagram</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-development-steps-in-c/" title="programming development steps in c">programming development steps in c</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-step-in-program-devlopment/" title="programming step in program devlopment">programming step in program devlopment</a> (1)</li><li><a href="http://www.my-programming.com/search/programming-step-in-programm-development/" title="programming step in programm development">programming step in programm development</a> (1)</li><li><a href="http://www.my-programming.com/search/steps-in-prgramming/" title="steps in prgramming">steps in prgramming</a> (1)</li></ul>]]></content:encoded>
			<wfw:commentRss>http://www.my-programming.com/2011/10/steps-in-program-development/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Dynamic page generated in 0.358 seconds. -->
<!-- Cached page generated by WP-Super-Cache on 2013-06-18 13:49:58 -->
