<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-3185711027893477637</id><updated>2024-10-06T20:21:16.510-07:00</updated><category term="Intro"/><category term="operators"/><category term="array"/><title type='text'>JDK TUTORIAL</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>9</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-256762991676991014</id><published>2009-03-23T10:36:00.000-07:00</published><updated>2009-03-23T10:44:35.171-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="operators"/><title type='text'>Assignment Operator In JAVA</title><content type='html'>The assignment operator in java is the most frequently used operator. This operator is used to assign the value on its right to the variable on the left. The general format for the assignment operator is given below.&lt;br /&gt;&lt;br /&gt;variable_name = expression;&lt;br /&gt;&lt;br /&gt;where,&lt;br /&gt;            expression is an arthmetic expression built using constants, variables and binary operators.&lt;br /&gt;            variable_name is the name of the variable to which the expression should be assigned.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;For Example &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;a = 3;&lt;br /&gt;x = 1*3;&lt;br /&gt;num - x+8;&lt;br /&gt;num1 = (4*a)+(21-a)&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Note&lt;/span&gt;&lt;br /&gt;It is also possible to assgn single value to multiple variables as shown below.&lt;br /&gt;&lt;br /&gt;i = j = k = 10;&lt;br /&gt;which will assgn the value 10 to the variables i, j and k.</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/256762991676991014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/assignment-operator-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/256762991676991014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/256762991676991014'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/assignment-operator-in-java.html' title='Assignment Operator In JAVA'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-3610976074141896293</id><published>2009-03-23T10:17:00.000-07:00</published><updated>2009-03-23T10:33:19.269-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="operators"/><title type='text'>Binary Operators In JAVA</title><content type='html'>As the name itself indicates, binary operators are operators that operate on two operand. The following table gives lists the different binary operator available in java.&lt;br /&gt;&lt;br /&gt; &lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CBoblee%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} table.MsoTableGrid 	{mso-style-name:&quot;Table Grid&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	border:solid windowtext 1.0pt; 	mso-border-alt:solid windowtext .5pt; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-border-insideh:.5pt solid windowtext; 	mso-border-insidev:.5pt solid windowtext; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;  &lt;table class=&quot;MsoTableGrid&quot; style=&quot;border: medium none ; border-collapse: collapse;&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;&lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b style=&quot;&quot;&gt;Operator&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b style=&quot;&quot;&gt;Operation&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;b style=&quot;&quot;&gt;Example&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;+&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Addition&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;2+3 is 5&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;-&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Subtraction&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;8-2 is 6&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;*&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Multiplication&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;2*5 is 10 &lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;/&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Division&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;8/8 is 1&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;%&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Modulo&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 88.55pt;&quot; valign=&quot;top&quot; width=&quot;118&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;15%2 is 1&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left; font-weight: bold;&quot;&gt;Example Program&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;class binaryoperatorexample&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;{&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;  public static void main(String args[])&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;  {&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     int a=10,b=5,c,d,e,f,g;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     c=a+b;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     d=a-b;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     e=a*b;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     f=a/b;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     g=a%b;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     System.out.println(&quot;Addition:&quot;+c);&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     System.out.println(&quot;Subtraction:&quot;+d);&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     System.out.println(&quot;Multiplication:&quot;+e);&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     System.out.println(&quot;Division:&quot;+f);&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;     System.out.println(&quot;Modulo:&quot;+g);&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;   }&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;}&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt; &lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Please make sure to include all the necessary header files before compiling the program. The output of the program will be as below.&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Addition:          15&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Subtraction:      5&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Multiplication:   50&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Division:           2&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;Modulo:           0&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;&lt;p class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot; align=&quot;center&quot;&gt;&lt;o:p&gt;&lt;br /&gt;&lt;/o:p&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/3610976074141896293/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/binary-operators-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3610976074141896293'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3610976074141896293'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/binary-operators-in-java.html' title='Binary Operators In JAVA'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-3088464280774610249</id><published>2009-03-18T13:00:00.000-07:00</published><updated>2009-03-18T13:07:24.186-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>What Is A Variable?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;A variable is a name of memory location , which can store one constant at a time. Like constants, variable can also be any one of the eight primitive data types.&lt;br /&gt;Every variable is identified by a variable name. The following points should be kept in mind when deciding the variable name.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;ol style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The variable name must start with an alphabet and can contain only alphabets , numbers,underscores and $ sign. &lt;/li&gt;&lt;li&gt;It cannot have a blank spaces.&lt;/li&gt;&lt;li&gt;Java keywords should not be used as variable names.&lt;/li&gt;&lt;li&gt;Java is a case sensitive so a variable in uppercase is diffrent from the variable in lowercase.&lt;/li&gt;&lt;/ol&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/3088464280774610249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-variable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3088464280774610249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3088464280774610249'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-variable.html' title='What Is A Variable?'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-1068837033431702396</id><published>2009-03-18T12:54:00.000-07:00</published><updated>2009-03-18T13:07:45.349-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>What Is A Constant?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;A constant is a any data that cannot be changed. In JAVA, constants can be of any basic eight data types.&lt;br /&gt;For example,&lt;br /&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;-23 is a byte constant.&lt;/li&gt;&lt;li&gt;3213 is an integer constant.&lt;/li&gt;&lt;li&gt;13.654 is a float constant.&lt;/li&gt;&lt;li&gt;true is a Boolean constant.&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;Integer constant can also be represented in octal and hexadecimal forms. An octal number should begin with the digit 0 and can contain the digits 0 to 7. A hexadecimal must start with the character sequence 0x and can contain the digits 0 to 9 and the alphabets A,B,C,D,E and F.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/1068837033431702396/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-constant.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1068837033431702396'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1068837033431702396'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-constant.html' title='What Is A Constant?'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-3495977563813837042</id><published>2009-03-18T12:19:00.000-07:00</published><updated>2009-03-18T12:31:59.553-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>Data Types In Java</title><content type='html'>&lt;meta equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;&lt;meta name=&quot;ProgId&quot; content=&quot;Word.Document&quot;&gt;&lt;meta name=&quot;Generator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;meta name=&quot;Originator&quot; content=&quot;Microsoft Word 11&quot;&gt;&lt;link rel=&quot;File-List&quot; href=&quot;file:///C:%5CDOCUME%7E1%5CBoblee%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C02%5Cclip_filelist.xml&quot;&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:worddocument&gt;   &lt;w:view&gt;Normal&lt;/w:View&gt;   &lt;w:zoom&gt;0&lt;/w:Zoom&gt;   &lt;w:punctuationkerning/&gt;   &lt;w:validateagainstschemas/&gt;   &lt;w:saveifxmlinvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;   &lt;w:ignoremixedcontent&gt;false&lt;/w:IgnoreMixedContent&gt;   &lt;w:alwaysshowplaceholdertext&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;   &lt;w:compatibility&gt;    &lt;w:breakwrappedtables/&gt;    &lt;w:snaptogridincell/&gt;    &lt;w:wraptextwithpunct/&gt;    &lt;w:useasianbreakrules/&gt;    &lt;w:dontgrowautofit/&gt;   &lt;/w:Compatibility&gt;   &lt;w:browserlevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;  &lt;/w:WordDocument&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;  &lt;w:latentstyles deflockedstate=&quot;false&quot; latentstylecount=&quot;156&quot;&gt;  &lt;/w:LatentStyles&gt; &lt;/xml&gt;&lt;![endif]--&gt;&lt;style&gt; &lt;!--  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:&quot;&quot;; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-fareast-font-family:&quot;Times New Roman&quot;;} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;} --&gt; &lt;/style&gt;&lt;!--[if gte mso 10]&gt; &lt;style&gt;  /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:&quot;Table Normal&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:&quot;&quot;; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} table.MsoTableGrid 	{mso-style-name:&quot;Table Grid&quot;; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	border:solid windowtext 1.0pt; 	mso-border-alt:solid windowtext .5pt; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-border-insideh:.5pt solid windowtext; 	mso-border-insidev:.5pt solid windowtext; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:&quot;Times New Roman&quot;; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} &lt;/style&gt; &lt;![endif]--&gt;&lt;o:p&gt;&lt;/o:p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;Data type in java can be of 8 basic type and these data types are called as primitive data types. The Following table contains the primitive data types.&lt;/p&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  &lt;table class=&quot;MsoTableGrid&quot; style=&quot;border: medium none ; border-collapse: collapse;&quot; border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot;&gt;  &lt;tbody&gt;&lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border: 1pt solid windowtext; padding: 0in 5.4pt; font-weight: bold;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Data Type &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt; font-weight: bold;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Size&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: solid solid solid none; border-color: windowtext windowtext windowtext -moz-use-text-color; border-width: 1pt 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt; font-weight: bold;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Description&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Boolean&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;1 Bit&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Can be either true or false&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Char&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;16 Bits&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Can be single character enclosed with single ‘.&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Byte&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;8 Bits&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Integers between -128 to 12&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Short &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;16 Bits&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Integers between -32768 to 32767&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Int&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;32 Bits &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Integers between -2147483648 to 2147483647&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Long &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;64 Bits&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Integers between -9223372036854775808 to 9223372036854775807&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Float &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;32 Bits&lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Single precision numbers in the range 3.4e-38 to 3.4e38&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt;  &lt;tr style=&quot;&quot;&gt;   &lt;td style=&quot;border-style: none solid solid; border-color: -moz-use-text-color windowtext windowtext; border-width: medium 1pt 1pt; padding: 0in 5.4pt;&quot; valign=&quot;top&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Double &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 52.5pt;&quot; valign=&quot;top&quot; width=&quot;70&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;64 Bits &lt;/p&gt;   &lt;/td&gt;   &lt;td style=&quot;border-style: none solid solid none; border-color: -moz-use-text-color windowtext windowtext -moz-use-text-color; border-width: medium 1pt 1pt medium; padding: 0in 5.4pt; width: 329.4pt;&quot; valign=&quot;top&quot; width=&quot;439&quot;&gt;   &lt;p class=&quot;MsoNormal&quot;&gt;Double precision number in the range from 1.7e-308 to 1.7e308&lt;/p&gt;   &lt;/td&gt;  &lt;/tr&gt; &lt;/tbody&gt;&lt;/table&gt;  &lt;p class=&quot;MsoNormal&quot;&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/p&gt;  </content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/3495977563813837042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/data-types-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3495977563813837042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/3495977563813837042'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/data-types-in-java.html' title='Data Types In Java'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-1144197996704194081</id><published>2009-03-12T13:43:00.000-07:00</published><updated>2009-03-12T14:15:31.183-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>Java Developers Kit</title><content type='html'>The &lt;span style=&quot;font-weight: bold;&quot;&gt;Java Developers Kit&lt;/span&gt; is known as JDK, is a collection of tools and necessary documents for making java application and applets. The JDK consist of&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The java compiler javac.exe to convert java programs into bytecode.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The java interpreter java.exe translates bytecode into program action to be executed by JVM.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The Java debugger jdb.exe to debug the programs.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The Java disassembler javap.exe to display certain specific interfaces.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The Java header file generator javah.exe.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;The Java documentation javadoc.exe.&lt;/li&gt;&lt;/ul&gt;&lt;ul style=&quot;text-align: justify;&quot;&gt;&lt;li&gt;AppletViewer.&lt;/li&gt;&lt;/ul&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/1144197996704194081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/java-developers-kit.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1144197996704194081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1144197996704194081'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/java-developers-kit.html' title='Java Developers Kit'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-1710726216260868434</id><published>2009-03-12T13:32:00.000-07:00</published><updated>2009-03-12T13:42:56.737-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="array"/><title type='text'>what is an array?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;An &lt;span style=&quot;font-weight: bold;&quot;&gt;array&lt;/span&gt; is a group of variables of same data type. These variables are grouped together under a common name. Each individual variable is called as an array element and it is numbered as 0,1,2,3 and so on. These numbers are called the subscripts. An array element is referred to by the  common name and its subscript enclosed in square brackets[].&lt;br /&gt;&lt;br /&gt;For example, if the num is an integer array of size 5, these numbers would be referred as num[0], num[1],... num[4] where the number 0,1,2,3,4 are called the subscripts.&lt;br /&gt;&lt;/div&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;Important Rules In Array&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;The Subscripts of an array always begins with 0.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;It is an integer.&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;It cannot be a negative number.&lt;/li&gt;&lt;/ul&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;ul&gt;&lt;li&gt;The subscripts should be enclosed with [].&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/1710726216260868434/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-array.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1710726216260868434'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/1710726216260868434'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-array.html' title='what is an array?'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-4344819632411941849</id><published>2009-03-02T10:18:00.001-08:00</published><updated>2009-03-10T10:03:14.682-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>Structured Programming Example</title><content type='html'>class sample&lt;br /&gt;{&lt;br /&gt;    /*A sample program to show how functions can be used*/&lt;br /&gt;    // Main Program&lt;br /&gt;    public static void main(String args[])&lt;br /&gt;    int year=1956;&lt;br /&gt;    //call function&lt;br /&gt;    if(leap_year(year))&lt;br /&gt;         System.out.println(year+&quot; is a leap year&quot;);&lt;br /&gt;    else&lt;br /&gt;         System.out.println(year+&quot; is not a leap year&quot;);&lt;br /&gt;}&lt;br /&gt;// Main Program Ends&lt;br /&gt;//Function Begins&lt;br /&gt;static boolean leap_year(int yr)&lt;br /&gt;{&lt;br /&gt;    if(yr % 400== 0)&lt;br /&gt;         return true;&lt;br /&gt;    if(yr % 100== 0)&lt;br /&gt;         return false;&lt;br /&gt;    if(yr % 4== 0)&lt;br /&gt;         return true;&lt;br /&gt;    else&lt;br /&gt;         return false;&lt;br /&gt;}&lt;br /&gt;}</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/4344819632411941849/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/ss.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/4344819632411941849'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/4344819632411941849'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/ss.html' title='Structured Programming Example'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-3185711027893477637.post-4572511793542046022</id><published>2009-03-02T10:06:00.000-08:00</published><updated>2009-03-02T10:18:03.337-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Intro"/><title type='text'>what is structured programming?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;In the word of Dijkstra, an eminent computer scientist &quot;the art of programming is the art of organising complexity&quot;. He goes on to add that &quot;we must organize the computations in such a way that our limited powers are sufficient to guarantee that the computation will establish the desired effect&quot;.&lt;br /&gt;&lt;br /&gt;As programs becomes larger verifying them for correctness becomes very difficult. Any amount of testing would be hopeless inadequate unless the internal structure of the program is taken into account. The syntax and the other features of a language must prevent the programmers from making errors.&lt;br /&gt;&lt;br /&gt;Languages based on this principle ensure that the flow of control is evident from the structure of the program text. The support for sub-programs and functions in high level languages simplifies the expression of large program in structured manner.&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://jdk-tutorial.blogspot.com/feeds/4572511793542046022/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-structured-programming.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/4572511793542046022'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/3185711027893477637/posts/default/4572511793542046022'/><link rel='alternate' type='text/html' href='http://jdk-tutorial.blogspot.com/2009/03/what-is-structured-programming.html' title='what is structured programming?'/><author><name>VINTU</name><uri>http://www.blogger.com/profile/10621808811907000426</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>