<?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>W3 Tutors</title>
	<atom:link href="http://www.w3tutors.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.w3tutors.com</link>
	<description>A Tutorial site for Wordpress, Joomla</description>
	<lastBuildDate>Tue, 08 Nov 2011 13:24:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Object Creation</title>
		<link>http://www.w3tutors.com/create-an-object-in-java-class-java-programming/</link>
		<comments>http://www.w3tutors.com/create-an-object-in-java-class-java-programming/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 13:24:24 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=112</guid>
		<description><![CDATA[Objects are created by instantiating the class. An Object can be created using &#8216;new&#8216; Keyword In the above example a new object Benz is created by instantiating a class &#8216;car&#8217; Object creation involves 3 steps Declaring type of data Creating memory space to save the object Initializing the attributes in the object]]></description>
			<content:encoded><![CDATA[<ul>
<li>Objects are created by instantiating the class.</li>
<li>An Object can be created using &#8216;<strong>new</strong>&#8216; Keyword</li>
</ul>
<div><img class="aligncenter size-full wp-image-113" title="creating Object" src="http://www.w3tutors.com/wp-content/uploads/2011/11/creating-Object.png" alt="creating Object" width="181" height="22" /></div>
<div>
<ul>
<li>In the above example a new object Benz is created by instantiating a class &#8216;car&#8217;</li>
</ul>
<div>Object creation involves 3 steps</div>
<div>
<ul>
<li>Declaring type of data</li>
<li>Creating memory space to save the object</li>
<li>Initializing the attributes in the object</li>
</ul>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/create-an-object-in-java-class-java-programming/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Object Life Cycle in Java</title>
		<link>http://www.w3tutors.com/object-life-cycle-in-java/</link>
		<comments>http://www.w3tutors.com/object-life-cycle-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 13:14:07 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=110</guid>
		<description><![CDATA[There are three stages in Object Life Cycle Object Creation Object Usage Object Disposal]]></description>
			<content:encoded><![CDATA[<p>There are three stages in Object Life Cycle</p>
<ul>
<li>Object Creation</li>
<li>Object Usage</li>
<li>Object Disposal</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/object-life-cycle-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Objects Characteristics</title>
		<link>http://www.w3tutors.com/objects-objects-characteristics-in-java/</link>
		<comments>http://www.w3tutors.com/objects-objects-characteristics-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 11:55:51 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=98</guid>
		<description><![CDATA[Each and every object have following characteristics Identity Identity makes the object unique from other objects State State of the object is nothing but the attributes of the object, and they may change during execution of program Behavior It is defined by the functions/methods that object provides For example assume we have a object &#8216;Benz&#8217; for [...]]]></description>
			<content:encoded><![CDATA[<p>Each and every object have following characteristics</p>
<ul>
<li><strong>Identity</strong><br />
Identity makes the object unique from other objects</li>
<li><strong>State</strong><br />
State of the object is nothing but the attributes of the object, and they may change during execution of program</li>
<li><strong>Behavior</strong><br />
It is defined by the functions/methods that object provides</li>
</ul>
<div>For example assume we have a object &#8216;Benz&#8217; for class &#8216;car&#8217; the characteristics are defined as</div>
<div>
<ul>
<li><strong>Identity</strong> : Object name &#8216;Benz&#8217;</li>
<li><strong>State</strong>: Color, model number, gears, price etc</li>
<li><strong>Behavior</strong>: drive(), getPetrol()</li>
</ul>
<div>Base Class &#8216;Car&#8217;</div>
<div><img class="aligncenter size-full wp-image-100" title="Class Example" src="http://www.w3tutors.com/wp-content/uploads/2011/11/Class-Example1.png" alt="Class Example" width="363" height="210" /></div>
<div>Creating Object &#8216;Benz&#8217; for Class &#8216;Car&#8217;</div>
<div><img class="aligncenter size-full wp-image-99" title="object example" src="http://www.w3tutors.com/wp-content/uploads/2011/11/object-example.png" alt="object example" width="263" height="142" /><strong>Points to observe</strong></div>
<div>
<ul>
<li>Here new instance of class &#8216;car&#8217; is created inside another Test_class  as &#8216;Benz&#8217; which is called object</li>
<li>All the variables(isTankEmpty) and the methods(getPetrol() ) of class &#8216;car&#8217; are only accessed by the objects created for that class.</li>
</ul>
<div><strong>Conclusions</strong></div>
<div>
<ul>
<li>Objects have Identity, State, Behavior</li>
<li>All the methods/Variables of a class  can be accessed only through the object created for that class.</li>
</ul>
</div>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/objects-objects-characteristics-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Concepts of Objects</title>
		<link>http://www.w3tutors.com/concepts-of-objects-in-java/</link>
		<comments>http://www.w3tutors.com/concepts-of-objects-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 11:30:33 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=95</guid>
		<description><![CDATA[Instance of a class is called Object Object is the real world object In our example Class Car, we can create objects such as Maruthi, Benz etc Objects have well-defined behavior Other objects can use this behavior Objects communicate with each other by message passing behavior. pogramitically, by invoking their method When a particular java code [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>Instance of a class is called Object</li>
<li>Object is the real world object</li>
<li>In our example Class Car, we can create objects such as Maruthi, Benz etc</li>
<li>Objects have well-defined behavior</li>
<li>Other objects can use this behavior</li>
<li>Objects communicate with each other by message passing behavior. pogramitically, by invoking their method</li>
<li>When a particular java code is executed, Objects interact with each other to solve a problem</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/concepts-of-objects-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class Variables-Local Variable-Method Parameters</title>
		<link>http://www.w3tutors.com/class-variables-method-variables-in-java/</link>
		<comments>http://www.w3tutors.com/class-variables-method-variables-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 11:13:35 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=87</guid>
		<description><![CDATA[Class Variables A Variable which is declared inside class but not in it method is called Class Variable. Also called as member Variables. In the previous example, model is class variable It can be initialized The variable declared inside a class, can be accessed to all the code inside a class. Local Variables Variables declared inside method of [...]]]></description>
			<content:encoded><![CDATA[<h3>Class Variables</h3>
<ul>
<li>A Variable which is declared inside class but not in it method is called Class Variable.</li>
<li>Also called as member Variables.</li>
<li>In the previous example, model is class variable</li>
<li>It can be initialized</li>
<li>The variable declared inside a class, can be accessed to all the code inside a class.</li>
</ul>
<div><strong>Local Variables</strong></div>
<ul>
<li>Variables declared inside method of a class</li>
<li>They can be used within the method</li>
</ul>
<h3>Class Parameters/Arguments</h3>
<ul>
<li>These are arguments passed to Classes</li>
<li>The scope of Class Parameter is just like Class variable entire the class</li>
</ul>
<h3>Method Parameters/Arguments</h3>
<ul>
<li>These are arguments passed to Methods which are inside classes</li>
<li>The scope of Method Parameter is for that method</li>
<li>They cannot be initialized</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/class-variables-method-variables-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Class in Java</title>
		<link>http://www.w3tutors.com/class-in-java/</link>
		<comments>http://www.w3tutors.com/class-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 08:16:03 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=74</guid>
		<description><![CDATA[Class is  a prototype of used to define the variables and methods common to all objects of certain kind. A typical class definition consists of: Class declaration Class body Variables / Attributes (static / non-static) Methods (static / non-static) Constructors Finalize method (if cleaning up is necessary) In the above Example Car : Class Price, [...]]]></description>
			<content:encoded><![CDATA[<p>Class is  a prototype of used to define the variables and methods common to all objects of certain kind.</p>
<p>A typical class definition consists of:</p>
<ul>
<li>Class declaration</li>
<li>Class body</li>
<li>Variables / Attributes (static / non-static)</li>
<li>Methods (static / non-static)</li>
<li>Constructors</li>
<li>Finalize method (if cleaning up is necessary)</li>
</ul>
<div><img class="aligncenter size-full wp-image-104" title="Class Example" src="http://www.w3tutors.com/wp-content/uploads/2011/11/Class-Example2.png" alt="Class Example" width="363" height="210" /></div>
<div></div>
<div>In the above Example</div>
<div>
<ul>
<li>Car : Class</li>
<li>Price, Model, isTankEmpty : Class  Variables/Member Variables</li>
<li>drive(), getPetrol() : Member Method</li>
</ul>
</div>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/class-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Array Declaration in Java</title>
		<link>http://www.w3tutors.com/array-declaration-in-java/</link>
		<comments>http://www.w3tutors.com/array-declaration-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 07:50:12 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=67</guid>
		<description><![CDATA[Array Declaration: int myArray[]; int[] myArray; You can simply declare the array using above example. Here myArray[] object is just declared, no memory allocated nor the values are initialized. you can say like the name myArray is declared as Array. Array memory allocation: int myArray[] = new int[10]; Using the above example you can allocate [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li><strong>Array Declaration:</strong><br />
int myArray[];<br />
int[] myArray;</li>
</ul>
<p>You can simply declare the array using above example. Here myArray[] object is just declared, no memory allocated nor the values are initialized. you can say like the name myArray is declared as Array.</p>
<ul>
<li><strong>Array memory allocation:</strong><br />
int myArray[] = new int[10];</li>
</ul>
<p>Using the above example you can allocate the memory to an array. Here we are allocating 10 integer values to myArray[] so that the array myArray[] can store up to 10 integer values.</p>
<ul>
<li><strong>Array Initialization:</strong><br />
int myArray[] = {1,2,3,4,5,6,7,8,9,10};</li>
</ul>
<p>Using the above example you can initialize the values, here myArray[] contains 10 values where myArray[1]=2;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/array-declaration-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arrays in Java</title>
		<link>http://www.w3tutors.com/arrays-in-java/</link>
		<comments>http://www.w3tutors.com/arrays-in-java/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 07:36:54 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=63</guid>
		<description><![CDATA[Java treats arrays as simple Objects Arrays contains like typed values Array can contain both primitive and reference data types Java supports the concept of multi dimensional Arrays When reference data types are used only reference is stored, but not the real objects.]]></description>
			<content:encoded><![CDATA[<ul>
<li>Java treats arrays as simple Objects</li>
<li>Arrays contains like typed values</li>
<li>Array can contain both <a title="Java Data Types" href="http://www.w3tutors.com/java-data-types-primary-and-reference-data-types-introduction/">primitive and reference data types</a></li>
<li>Java supports the concept of multi dimensional Arrays</li>
<li>When reference data types are used only reference is stored, but not the real objects.</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/arrays-in-java/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Control Flow Statements</title>
		<link>http://www.w3tutors.com/java-control-flow-statements/</link>
		<comments>http://www.w3tutors.com/java-control-flow-statements/#comments</comments>
		<pubDate>Tue, 08 Nov 2011 06:08:36 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=57</guid>
		<description><![CDATA[As in languages like C/C++ Java has control flow statements to control the flow of code. In addition to the basic control statements like if, if else Java provides Exception statements to handles exceptions perfectly. The following table gives the snapshot of Java  control flow statements Decision Making if-else, Switch Case Loop for, while, do-while [...]]]></description>
			<content:encoded><![CDATA[<p>As in languages like C/C++ Java has control flow statements to control the flow of code. In addition to the basic control statements like if, if else Java provides Exception statements to handles exceptions perfectly.</p>
<p>The following table gives the snapshot of Java  control flow statements</p>
<table width="100%" border="0">
<tbody>
<tr>
<td>Decision Making</td>
<td>if-else, Switch Case</td>
</tr>
<tr>
<td>Loop</td>
<td>for, while, do-while</td>
</tr>
<tr>
<td>Exception</td>
<td>try-catch-finally, throw</td>
</tr>
<tr>
<td>Miscellaneous</td>
<td>break, continue, label:, return</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/java-control-flow-statements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Java Operators</title>
		<link>http://www.w3tutors.com/java-operators/</link>
		<comments>http://www.w3tutors.com/java-operators/#comments</comments>
		<pubDate>Mon, 07 Nov 2011 16:58:04 +0000</pubDate>
		<dc:creator>aswin</dc:creator>
				<category><![CDATA[Java]]></category>

		<guid isPermaLink="false">http://www.w3tutors.com/?p=46</guid>
		<description><![CDATA[As in general programming languages like C/C++, Java supports some group of operators.  These below table gives quick reference of operators supported by Java. Arithmetic Operators +, -, *, /, % Unary Arithmetic Operators ++, &#8211; Relational and Conditional Operators &#62;, &#62;=, &#60;, &#60;=, ==, !=, &#38;&#38;, &#124;&#124;, ! Bitwise Operators &#62;&#62;, &#60;&#60;, &#62;&#62;&#62;, &#38;, [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">As in general programming languages like C/C++, Java supports some group of operators.  These below table gives quick reference of operators supported by Java.</p>
<table width="100%" border="1">
<tbody>
<tr>
<td>Arithmetic Operators</td>
<td>+, -, *, /, %</td>
</tr>
<tr>
<td>Unary Arithmetic Operators</td>
<td>++, &#8211;</td>
</tr>
<tr>
<td>Relational and Conditional Operators</td>
<td>&gt;, &gt;=, &lt;, &lt;=, ==, !=, &amp;&amp;, ||, !</td>
</tr>
<tr>
<td>Bitwise Operators</td>
<td>&gt;&gt;, &lt;&lt;, &gt;&gt;&gt;, &amp;, |, ^, ~</td>
</tr>
<tr>
<td>Ternary Operator:</td>
<td> ()?():()</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://www.w3tutors.com/java-operators/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

