<?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-9069495789099364229</id><updated>2013-11-21T08:09:23.947-08:00</updated><category term="C language"/><category term="JAVA"/><category term="tech"/><category term="Latest  Tech"/><category term="SQL"/><category term="Operating System"/><category term="C.N"/><category term="java script"/><title type='text'>Lang-Adda</title><subtitle type='html'>For The Students,  By The Students ..&#xa;Come lets Share Knowledge..</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default?start-index=26&amp;max-results=25'/><author><name>Devendra Singh</name><uri>http://www.blogger.com/profile/00725001715758354909</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='29' height='32' src='http://3.bp.blogspot.com/-jwilcNSy8Jc/UD_jXo57cNI/AAAAAAAAABw/k4X4drAnYrQ/s220/PROFDEV.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>42</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-7965664337334353224</id><published>2013-11-21T06:45:00.003-08:00</published><updated>2013-11-21T06:51:46.598-08:00</updated><title type='text'>Insertion In Red Black Tree  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Insertion In Red Black Tree:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;There are three Cases for&lt;b&gt; inserting &amp;nbsp;a node in Red Black Tree.&lt;/b&gt;1.Find the correct leaf to insert new node instead of it&lt;br /&gt;2.Color node in red, and attach 2 black leafs to it&lt;br /&gt;3.Make sure&lt;b&gt; RB-tree&lt;/b&gt; properties hold&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-02f30-s5wi8/Uo4Z1-HR6-I/AAAAAAAAARA/25sQwnggFlI/s1600/re1.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Insertion in red-black tree&quot; border=&quot;0&quot; height=&quot;244&quot; src=&quot;http://2.bp.blogspot.com/-02f30-s5wi8/Uo4Z1-HR6-I/AAAAAAAAARA/25sQwnggFlI/s640/re1.PNG&quot; title=&quot;Insertion in red-black tree&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Insertion in red-black tree&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Case 1:&lt;/b&gt; a’s uncle (d) is red:&lt;br /&gt;1.Color a’s father (b) and uncle (d) black&lt;br /&gt;2.Color a’s father (c) red&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;float: right; margin-left: 1em; text-align: right;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-v7MQQa7U800/Uo4Z05tMCaI/AAAAAAAAAQ8/wfW9XZO9ba4/s1600/rb2.PNG&quot; imageanchor=&quot;1&quot; style=&quot;clear: right; margin-bottom: 1em; margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Insertion in red-black tree&quot; border=&quot;0&quot; height=&quot;187&quot; src=&quot;http://2.bp.blogspot.com/-v7MQQa7U800/Uo4Z05tMCaI/AAAAAAAAAQ8/wfW9XZO9ba4/s640/rb2.PNG&quot; title=&quot;Insertion in red-black tree&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Insertion in red-black tree&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Case 2&lt;/b&gt;: a’s uncle is black, a is a right child&lt;br /&gt;1. Rotate left around a’s father (b)&lt;br /&gt;2.Continue to case 3&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Case 3:&lt;/b&gt; a’s uncle is black, a is a left child:&lt;br /&gt;1. Rotate right around a’s grandfather (c)&lt;br /&gt;2. Switch colors between a’s father (b)&lt;br /&gt;and a’s (new) sibling (c)&lt;/span&gt;&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-_BmZfvDOcHg/Uo4Z2LCFkLI/AAAAAAAAARM/5xZS-zRPDUs/s1600/rb3.PNG&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Insertion in red-black tree&quot; border=&quot;0&quot; height=&quot;436&quot; src=&quot;http://4.bp.blogspot.com/-_BmZfvDOcHg/Uo4Z2LCFkLI/AAAAAAAAARM/5xZS-zRPDUs/s640/rb3.PNG&quot; title=&quot;Insertion in red-black tree&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;Insertion in red-black tree&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/7965664337334353224/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/11/insertion-in-red-black-tree.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7965664337334353224'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7965664337334353224'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/11/insertion-in-red-black-tree.html' title='Insertion In Red Black Tree  '/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-02f30-s5wi8/Uo4Z1-HR6-I/AAAAAAAAARA/25sQwnggFlI/s72-c/re1.PNG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-6678657958090984597</id><published>2013-11-21T00:49:00.000-08:00</published><updated>2013-11-21T00:49:43.790-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Red Black Tree</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Red-black&lt;/b&gt; tree is a &lt;b&gt;Binary search tree &lt;/b&gt;that has each node is colored either &lt;b&gt;red &lt;/b&gt;or&lt;b&gt; black.&lt;/b&gt;&lt;br /&gt;Properties of &lt;b&gt;red black&lt;/b&gt; tree:&lt;br /&gt;1. This is the same as for&lt;b&gt; binary search trees&lt;/b&gt;: all the keys&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;to left of a node are smaller, and a to the right of a node are&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;larger than the node key&lt;br /&gt;2.The number of&lt;b&gt; black nodes&lt;/b&gt; on every path from the root&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;to each leaf is the same. &amp;nbsp;This is called as the&lt;b&gt; black height&lt;/b&gt; of the tree.&lt;br /&gt;3. No two consecutive nodes are red.&lt;br /&gt;&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-A5v1y4aEt0o/Uo3GummNkSI/AAAAAAAAAQo/ecvvpOmRlGY/s1600/rbtrees5.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img alt=&quot;Red Black Tree&quot; border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-A5v1y4aEt0o/Uo3GummNkSI/AAAAAAAAAQo/ecvvpOmRlGY/s1600/rbtrees5.jpg&quot; title=&quot;Red Black tree&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Red Black Tree&lt;/b&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;&lt;b&gt;&amp;nbsp;Red&lt;/b&gt;&amp;nbsp;&lt;b&gt;Black&lt;/b&gt; tree ensure that the longest path from the root to a leaf is at most twice as long as the shortest path. &amp;nbsp;Since &lt;b&gt;insertion&lt;/b&gt; and &lt;b&gt;searching&lt;/b&gt; &amp;nbsp;in a &lt;b&gt;binary search tree&lt;/b&gt; have time proportional to the length of&lt;br /&gt;the path from the root to the leaf, this is sure that&lt;b&gt; O(log(n))&lt;/b&gt; times for these&lt;br /&gt;operations, even if the &amp;nbsp;&lt;b&gt;red black tree&lt;/b&gt; is not perfectly balanced.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/6678657958090984597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/11/Red-black-tree.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6678657958090984597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6678657958090984597'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/11/Red-black-tree.html' title='Red Black Tree'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-A5v1y4aEt0o/Uo3GummNkSI/AAAAAAAAAQo/ecvvpOmRlGY/s72-c/rbtrees5.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-4582834339559323470</id><published>2013-08-27T08:17:00.002-07:00</published><updated>2013-08-27T08:26:35.953-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>Wrapper class</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;Wrapper class&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Wrapper class&lt;/b&gt; were a solution of the primitive data type not being a part of object oriented approach of java….like being returned from a method as a method.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large; line-height: 115%;&quot;&gt;Java allows you to include the primitives in the family of objects by using what are called&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;wrapper classes&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large; line-height: 115%;&quot;&gt;There is a wrapper class for every primitive in java.. the wrapper class for int is Integer, for float is Float.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;The wrapper classes in the Java API serve two primary purposes:&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;To provide a mechanism to      “wrap” primitive values in an object so that the primitives can be      included in activities reserved for objects, like as being added to      Collections, or returned from a method with an object return value.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;To provide an assortment of      utility functions for primitives. Most of these functions are related to      various conversions: converting primitives to and from String objects, and      converting primitives and String objects to and from different bases (or      radix), such as binary, octal, and hexadecimal.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large; line-height: 115%;&quot;&gt;The wrapper object of a &lt;b&gt;wrapper class &lt;/b&gt;can be created in one of two ways: by instantiating the&lt;b&gt; wrapper class&lt;/b&gt; with the new operator or by invoking a static method on the &lt;b&gt;wrapper class.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt; line-height: 115%;&quot;&gt;Creating wrapper object with new operator&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;Primitive datatype--&amp;gt;&lt;b&gt;Wrapper Class&lt;/b&gt;--&amp;gt;Constructor arguments&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;boolean--&amp;gt; Boolean--&amp;gt;      boolean or String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;byte--&amp;gt; Byte--&amp;gt; byte or      String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;char--&amp;gt; Character--&amp;gt; char&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;short--&amp;gt; Short--&amp;gt; short      or String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int--&amp;gt;Integer--&amp;gt; int or      String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;long--&amp;gt; Long--&amp;gt; long or      String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;float--&amp;gt;Float--&amp;gt; float      double or String&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;double--&amp;gt;Double--&amp;gt; double      or String&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;All the &lt;b&gt;wrapper classes&lt;/b&gt;are declared final&lt;/span&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;. That means you cannot derive a subclass from any of them.All the &lt;b&gt;wrapper classes&lt;/b&gt; except Boolean and Character are subclasses of an abstract class called Number, whereas Boolean and Character are derived directly from the Object class.All of the&lt;b&gt; wrapper classes &lt;/b&gt;except Character provide two constructors: one that takes a primitive of the type being constructed, and one that takes a String representation of the type being constructed.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; margin-bottom: 0.0001pt; padding: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: large;&quot;&gt;Boolean wboo = new Boolean(&quot;false&quot;);&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; margin-bottom: 0.0001pt; padding: 0in;&quot;&gt;&lt;span style=&quot;font-family: &#39;Courier New&#39;; font-size: large;&quot;&gt;Boolean yboo=new Boolean(false);&lt;/span&gt;&lt;/div&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Character c1 = new Character(&#39;c&#39;);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;Note that there is no way to modify a wrapped value—that is, the wrapped values are immutable. To wrap another value, you need to create another object.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #646464; font-family: &amp;quot;Tahoma&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 14.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;WRAPPING PRIMITIVES USING A STATIC METHOD&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;All wrapper classes offers static valueOf() methods which give you another approach to creating wrapper objects. Because it&#39;s a static method, it can be invoked directly on the class (without instantiating it), and will return the corresponding object that is wrapping what you passed in as an argument.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;this method&amp;nbsp; take a String representation of the appropriate type of primitive as its first argument, it also takes an additional argument, int radix, which indicates in what base (for example binary, octal, or hexadecimal) the first argument is represented&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Integer i2 = Integer.valueOf(&quot;101011&quot;, 2);&amp;nbsp; // converts 101011 to 43 and assigns the&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // value 43 to the Integer object i2&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; color: #646464; font-family: Tahoma, sans-serif; font-size: 11.5pt;&quot;&gt;USING WRAPPER CONVERSION UTILITIES&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;xxxValue() method&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;When you need to convert the value of a wrapped numeric to a primitive, use one of the many xxxValue() methods. All of the methods in this family are no-arg methods. Each of the six numeric wrapper classes has six methods, so that any numeric wrapper can be converted to any primitive numeric type.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Integer i2 = new Integer(42);&amp;nbsp; //&amp;nbsp; make a new wrapper object&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;byte b = i2.byteValue();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; convert i2&#39;s value to a byte primitive&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;short s = i2.shortValue();&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; another of Integer&#39;s xxxValue methods&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;double d = i2.doubleValue(); //&amp;nbsp; yet another of Integer&#39;s xxxValue methods&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;xxx Parsexxx(String) method&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;If you do not need to store a value in a wrapper but just want to convert the type , you can do it by using an appropriate static method of the appropriate wrapper class. For example, all the wrapper classes except Character offer a static method that has the following signature:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;code&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; color: blue; font-size: 8pt;&quot;&gt;static &amp;lt;type&amp;gt; parse&amp;lt;Type&amp;gt;(String s)&lt;/span&gt;&lt;/code&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;The &amp;lt;type&amp;gt; may be any of the primitive types except char (byte, short, int, long, float, double, or boolean), and the &amp;lt;Type&amp;gt; is the same as &amp;lt;type&amp;gt; with the first letter uppercased;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;String s = &quot;123&quot;;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;int i = Integer.parseInt(s);&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;parseXxx() and valueOf()&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: large; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; parseXxx() returns the named primitive.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-family: Symbol; font-size: large; mso-ascii-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;·&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp; valueOf() returns a newly created wrapped object of the type that invoked the method.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;double d4 = Double.parseDouble(&quot;3.14&quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // convert a String to a primitive&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;d4 = &quot; + d4);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // result is&amp;nbsp; &quot;d4 = 3.14&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Double d5 = Double.valueOf(&quot;3.14&quot;);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;// create a Double object&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(d5 instanceof Double ); // result is &quot;true&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;toString() method&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;All of the wrapper classes have a no-arg, nonstatic, instance version of toString(). This method returns a String with the value of the primitive wrapped in the object—&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Double d = new Double(&quot;3.14&quot;);&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;d = &quot; + d.toString() );&amp;nbsp;&amp;nbsp;&amp;nbsp; //&amp;nbsp; result is &quot;d = 3.14&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;All of the numeric wrapper classes provide an overloaded, static toString() method that takes a primitive numeric of the appropriate type (Double.toString() takes a double), and, of course, returns a String with that primitive’s value.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;d = &quot; + Double.toString(3.14);&amp;nbsp;&amp;nbsp;&amp;nbsp; // result is &quot;d = 3.14&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;Integer and Long provide a third toString() method. It is static, its first argument is the appropriate primitive, and its second argument is a radix. The radix argument tells the method to take the first argument (which is radix 10 or base 10 by default), and convert it to the radix provided, then return the result as a String&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;hex = &quot; + Long.toString(254,16); // result is &quot;hex = fe&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: 8pt;&quot;&gt;toXxxString() method(Binary, Hexadecimal, Octal)&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;background-position: initial initial; background-repeat: initial initial; font-family: Tahoma, sans-serif; font-size: large;&quot;&gt;The Integer and Long wrapper classes let you convert numbers in base 10 to other bases. These conversion methods, toXxxString(), take an int or long, and return a String representation of the converted number,&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: #EDE7DB; border: inset 1.0pt; mso-border-alt: inset windowtext .5pt; mso-element: para-border-div; padding: 3.0pt 3.0pt 3.0pt 3.0pt;&quot;&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;String s3 = Integer.toHexString(254);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // convert 254 to hex&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;254 in hex = &quot; + s3);&amp;nbsp;&amp;nbsp; // result is &quot;254 in hex = fe&quot;&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;String s4 = Long.toOctalString(254);&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // convert 254 to octal&lt;/span&gt;&lt;/pre&gt;&lt;pre style=&quot;background-position: initial initial; background-repeat: initial initial; border: none; padding: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.println(&quot;254 in octal = &quot;+ s4);&amp;nbsp; // result is &quot;254 in octal = 376&quot;&lt;/span&gt;&lt;/pre&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Quick review&lt;/span&gt;&lt;/div&gt;&lt;ul type=&quot;disc&quot;&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Java uses primitive types, such as      int, char, double to hold the basic data types supported by the language.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Sometimes it is required to create      an object representation of these primitive types.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;These are collection classes that      deal only with such objects. One needs to wrap the primitive type in a      class.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;To satisfy this need, java      provides classes that correspond to each of the primitive types.      Basically, these classes encapsulate, or wrap, the primitive types within      a class.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Thus, they are commonly referred      to as type wrapper. Type wrapper are classes that encapsulate a primitive      type within an object.&lt;/span&gt;&lt;/li&gt;&lt;li class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; color: #63565f; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;The wrapper types are Byte, Short,      Integer, Long, Character, Boolean, Double, Float.&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;These classes offer a wide array of methods that allow to fully integrate the primitive types into Java’s object hierarchy.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Wrapper classes for converting simple types&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot; style=&quot;background: white; mso-cellspacing: 0in; mso-padding-alt: 0in 0in 0in 0in; mso-yfti-tbllook: 1184;&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Simple   Type&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Wrapper   class&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;boolean&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Boolean&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;char&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Character&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;double&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Double&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;float&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Float&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Integer&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 90.75pt;&quot; width=&quot;121&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;long&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 94.5pt;&quot; width=&quot;126&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Long&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converting primitive numbers to Object numbers using constructor methods&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 176.25pt;&quot; width=&quot;235&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Constructor   calling&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 202.5pt;&quot; width=&quot;270&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Conversion   Action&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 176.25pt;&quot; width=&quot;235&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Integer IntVal = new Integer(i);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 202.5pt;&quot; width=&quot;270&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive integer to Integer   object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 176.25pt;&quot; width=&quot;235&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Float FloatVal = new Float(f);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 202.5pt;&quot; width=&quot;270&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive float to Float object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 176.25pt;&quot; width=&quot;235&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Double DoubleVal = new Double(d);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 202.5pt;&quot; width=&quot;270&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive double to Double object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 176.25pt;&quot; width=&quot;235&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Long LongVal = new Long(l);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 202.5pt;&quot; width=&quot;270&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive long to Long object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;NOTE :&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;I, f, d and l are primitive data values denoting int, float, double and long data types. They may be constants or variables.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converting Object numbers to Primitive numbers using typeValue() method&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 180.75pt;&quot; width=&quot;241&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Method   calling&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 2.75in;&quot; width=&quot;264&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Conversion   Action&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 180.75pt;&quot; width=&quot;241&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int i = IntVal.intValue();&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 2.75in;&quot; width=&quot;264&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Object to primitive integer&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 180.75pt;&quot; width=&quot;241&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;float f = FloatVal.floatValue();&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 2.75in;&quot; width=&quot;264&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Object to primitive float&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 180.75pt;&quot; width=&quot;241&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;double d =   DoubleVal.doubleValue();&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 2.75in;&quot; width=&quot;264&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Object to primitive double&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 180.75pt;&quot; width=&quot;241&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;long l = LongVal.longValue();&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 2.75in;&quot; width=&quot;264&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Object to primitive long&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converting Numbers to Strings using toString() method&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Method   calling&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Conversion   Action&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;str = Integer.toString(i);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive integer i to String str&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;str = Float.toString(f);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive float f &amp;nbsp;to String   str&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;str = Double.toString(d);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive double d to String str&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;str = Long.toString(l);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Primitive long l to String str&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converting String Object in to Numeric Object using static method ValueOf()&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 172.5pt;&quot; width=&quot;230&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Method   calling&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Conversion   Action&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 172.5pt;&quot; width=&quot;230&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;IntVal = Integer.ValueOf(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Convert String into Integer object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 172.5pt;&quot; width=&quot;230&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;FloatVal = Float.ValueOf(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Convert String into Float object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 172.5pt;&quot; width=&quot;230&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;DoubleVal = Double.ValueOf(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Convert String into Double object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 172.5pt;&quot; width=&quot;230&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;LongVal = Long.ValueOf(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Convert String into Long object&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converting Numeric Strings to Primitive numbers using Parsing method&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div align=&quot;center&quot;&gt;&lt;table border=&quot;1&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;MsoNormalTable&quot;&gt; &lt;tbody&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Method   calling&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div align=&quot;center&quot; class=&quot;MsoNormal&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Conversion   Action&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;int i = Integer.parseInt(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converts String str into primitive   integer i&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;tr&gt;  &lt;td style=&quot;padding: 0in; width: 167.25pt;&quot; width=&quot;223&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;long l = Long.parseLong(str);&lt;/span&gt;&lt;/div&gt;&lt;/td&gt;  &lt;td style=&quot;padding: 0in; width: 207pt;&quot; width=&quot;276&quot;&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: large; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;Converts String str into primitive   long l&lt;/span&gt;&lt;/div&gt;&lt;/td&gt; &lt;/tr&gt;&lt;/tbody&gt;&lt;/table&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; margin-bottom: 0.0001pt; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;NOTE :&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #63565f; font-family: &amp;quot;Verdana&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: 10.0pt; mso-bidi-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;;&quot;&gt;parseInt() and parseLong() methods throw a Number Format Exception if the value of the str does not represent an integer.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; background-position: initial initial; background-repeat: initial initial; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: #fdfdfd; background-position: initial initial; background-repeat: initial initial;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/4582834339559323470/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/wrapper-class_2613.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4582834339559323470'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4582834339559323470'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/wrapper-class_2613.html' title='Wrapper class'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-5743251350437515950</id><published>2013-08-27T07:47:00.002-07:00</published><updated>2013-08-27T07:47:22.102-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>Class in JAVA</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt;&lt;b&gt;BASIC &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt; All the objects that have similar properties and  similar behavior are grouped together to form a&lt;b&gt; class&lt;/b&gt;.&lt;b&gt; Class &lt;/b&gt;is the java way to  implement encapsulation.&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt;A&lt;b&gt; class &lt;/b&gt;is a user  defined data type and objects are the instance variables of &lt;b&gt;class.&lt;/b&gt; &lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;  &lt;br /&gt;&lt;span style=&quot;font-family: Arial; font-size: large;&quot;&gt;&lt;b&gt;GENERAL  FORM OF CLASS&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;A&lt;b&gt; class&lt;/b&gt; is declared by use of the  &lt;/span&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;&lt;b&gt;&lt;i&gt;class&lt;/i&gt; &lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;keyword.The data, or  variables, defined within a class are called instance variables because each  instance&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial;&quot;&gt;of the class (that is, each object of the class) contains its own  copy of these variables.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;class class name {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;type instance variable;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;//&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;type method name(parameter-list) {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;//body of method&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;color: #1d1d1e; font-family: Arial; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;to access the instance variables and methods declared within a class and  assign values to instance variable we need to create object of class using dot  (.) operator.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;object of class is created as    classname obj =new classname();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;class area(){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;double length;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;double width;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;class calculatearea()&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;public static void main(String args[])&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;area obj=new area();&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;double area;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;obj.length=9;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;obj.breath=4;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;area=obj.length*obj.breath;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;System.out.printllln(“area is”+area);&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;concept of object&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;object of a class is created by new operator.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div align=&quot;left&quot;&gt;&lt;span style=&quot;color: #1d1d1e; font-size: large;&quot;&gt;The &lt;/span&gt;&lt;span style=&quot;color: #1d1d1e; font-size: large;&quot;&gt;&lt;b&gt;new &lt;/b&gt;operator dynamically allocates (that &lt;/span&gt;&lt;span style=&quot;color: #1d1d1e; font-size: large;&quot;&gt;is, allocates at run time) memory for an object and returns a  reference to it. This&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #1d1d1e; font-size: large;&quot;&gt;reference is, more or less, the address in memory of the  object allocated by &lt;b&gt;new&lt;/b&gt;.This reference is then stored in the  variable. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/5743251350437515950/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/class-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/5743251350437515950'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/5743251350437515950'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/class-in-java.html' title='Class in JAVA'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-6340475973128524642</id><published>2013-08-27T07:31:00.001-07:00</published><updated>2013-08-27T07:45:58.463-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="SQL"/><title type='text'>A Brief History and Overview of SQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;SQL&lt;/b&gt; began life as &lt;b&gt;SEQUEL&lt;/b&gt;, the &lt;b&gt;Structured English Query Language&lt;/b&gt;, a component of an &lt;b&gt;IBM &lt;/b&gt;research project called &lt;b&gt;System/R&lt;/b&gt;. System/R was a prototype of the first relational database system; it was created at &lt;b&gt;IBM’s San Jose laboratories&lt;/b&gt; in &lt;b&gt;1974&lt;/b&gt;, and &lt;b&gt;SEQUEL&lt;/b&gt; was the first query language to support &lt;b&gt;multiple tables&lt;/b&gt; and &lt;b&gt;multiple users&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;As a language, &lt;b&gt;SQL&lt;/b&gt; was designed to be “&lt;b&gt;human-friendly&lt;/b&gt;”;  most of its commands resemble spoken English, making it easy to read,  understand, and learn. Commands are formulated as statements, and every  statement begins with an “&lt;b&gt;action word&lt;/b&gt;.” The following examples demonstrate this:&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;CREATE DATABASE toys;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;USE toys;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;SELECT id FROM toys WHERE targetAge &amp;gt; 3;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;DELETE FROM catalog WHERE productionStatus = &quot;Revoked&quot;;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;As  you can see, it’s pretty easy to understand what each statement does.  This simplicity is one of the reasons &lt;b&gt;SQL&lt;/b&gt; is so popular, and also so  easy to learn.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;SQL &lt;/b&gt;statements can be divided into three broad categories, each concerned with a different aspect of database management:&lt;/span&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Statements used to define the structure of the Database&lt;/b&gt; :  These statements define the relationships among different pieces of data,  definitions for database, table&amp;nbsp;and column types, and database  indices.&amp;nbsp;In the&lt;b&gt; SQL&lt;/b&gt; specification, this component is referred to as &lt;b&gt;Data  Definition&amp;nbsp;Language (DDL).&lt;/b&gt; &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Statements used to manipulate Data&lt;/b&gt; : &amp;nbsp;These statements  control adding and&amp;nbsp;removing records, querying and joining tables, and  verifying data integrity.&amp;nbsp;In the&lt;b&gt; SQL&lt;/b&gt; specification, this component is  referred to as&lt;b&gt; Data Manipulation&amp;nbsp;Language (DML).&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Statements used to control the permissions and access level to different pieces of Data :&amp;nbsp;&lt;/b&gt;These  statements define the access levels and security privileges for  databases, tables and fields, which may be specified on a per-user  and/or per-host basis.&amp;nbsp;In the&lt;b&gt; SQL&lt;/b&gt; specification, this component is  referred to as &lt;b&gt;Data Control Language (DCL).&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Typically, every &lt;b&gt;SQL&lt;/b&gt; statement ends in a semicolon, and  white space, tabs, and carriage returns are ignored by the&lt;b&gt; SQL&lt;/b&gt;  processor. The following two statements are equivalent, even though the  first is on a single line and the second is split over&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;multiple lines.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;DELETE FROM catalog WHERE production Status = &quot;Revoked&quot;;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;DELETE FROM&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;catalog&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;WHERE productionStatus =&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&quot;Revoked&quot;;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/6340475973128524642/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/a-brief-history-and-overview-of-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6340475973128524642'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6340475973128524642'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/a-brief-history-and-overview-of-sql.html' title='A Brief History and Overview of SQL'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-6521631296263967297</id><published>2013-08-27T07:11:00.000-07:00</published><updated>2013-08-27T07:36:46.473-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>History of JAVA</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;background-color: white; font-family: Arial,Helvetica,sans-serif; line-height: 19.2px;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-pkvGuSuvc1c/UQK3thOYwzI/AAAAAAAAAJ8/BUtvXVMk0yY/s1600/Java_logo.png&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://3.bp.blogspot.com/-pkvGuSuvc1c/UQK3thOYwzI/AAAAAAAAAJ8/BUtvXVMk0yY/s1600/Java_logo.png&quot; /&gt;&lt;/a&gt; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;background-color: white; font-family: Arial,Helvetica,sans-serif; line-height: 19.2px;&quot;&gt;Java&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;&amp;nbsp;is a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;general-purpose&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;concurrent&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;class-based&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;,&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;object-oriented&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;computer programming language&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;&amp;nbsp;that is specifically designed to have as few implementation dependencies as&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;&amp;nbsp;possible.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif; line-height: 19.2px;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;&lt;b&gt;Java&lt;/b&gt; code that can&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;run on one platform does not need to be recompiled to run on another.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;&lt;b&gt;Java&lt;/b&gt; applications are typically&amp;nbsp;&lt;/span&gt;compiled&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;&amp;nbsp;to &lt;/span&gt;byte code&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt; (&lt;/span&gt;class file&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;) that can run on any&amp;nbsp;&lt;/span&gt;J&lt;b&gt;ava virtual machine&lt;/b&gt;&lt;span style=&quot;background-color: white; line-height: 19.2px;&quot;&gt;&lt;b&gt;&amp;nbsp;(JVM)&lt;/b&gt; regardless of&amp;nbsp;&lt;/span&gt;computer architecture&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&lt;b&gt;James Gosling&lt;/b&gt;, &lt;b&gt;Mike Sheridan&lt;/b&gt;, and&amp;nbsp;&lt;b&gt;Patrick&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&lt;b&gt;Naughton&lt;/b&gt;&amp;nbsp;initiated the &lt;b&gt;Java &lt;/b&gt;language project&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&amp;nbsp;in &lt;b&gt;June 1991&lt;/b&gt;.&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 10.8167px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;Java  was originally designed for interactive television, but it was too  advanced for the digital cable television industry at the time.&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&amp;nbsp;The language was initially called&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&lt;b&gt;Oak&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 19.2px;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;after an&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;oak&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&amp;nbsp;tree that stood outside Gosling&#39;s office. It went by the name&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&lt;b&gt;Green&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&amp;nbsp;later, and was later renamed&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&lt;b&gt;Java&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;, from&amp;nbsp;&lt;/span&gt;&lt;b&gt;Java coffee&lt;/b&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;, said to be consumed in large quantities by the language&#39;s creators.&lt;/span&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&amp;nbsp;Gosling aimed to implement a&amp;nbsp;&lt;/span&gt;virtual machine&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&amp;nbsp;and a language that had a familiar&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;http://en.wikipedia.org/wiki/C_%28programming_language%29&quot; style=&quot;background-image: none; color: #0b0080; line-height: 19.200000762939453px; text-decoration: initial;&quot; title=&quot;C (programming language)&quot;&gt;C&lt;/a&gt;&lt;span style=&quot;line-height: 19.2px;&quot;&gt;/&lt;/span&gt;C++&lt;span style=&quot;line-height: 19.2px;&quot;&gt;&amp;nbsp;style of notation.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; line-height: 19.2px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Sun Microsystems&lt;/b&gt;&amp;nbsp;released the first public implementation as &lt;b&gt;Java 1.0&lt;/b&gt; in &lt;b&gt;1995&lt;/b&gt;.&amp;nbsp;It promised &quot;&lt;b&gt;Write Once, Run Anywhere&lt;/b&gt;&quot; (WORA), providing no-cost run-times on popular&amp;nbsp;platforms.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; line-height: 19.2px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Major web browsers soon incorporated the ability to run&amp;nbsp;&lt;b&gt;Java applets&lt;/b&gt;&amp;nbsp;within web pages, and &lt;b&gt;Java&lt;/b&gt; quickly became popular.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; line-height: 19.2px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;In  1997, Sun Microsystems approached the&amp;nbsp;ISO/IEC JTC1&amp;nbsp;standards body and  later the&amp;nbsp;Ecma International&amp;nbsp;to formalize&lt;b&gt; Java,&lt;/b&gt; but it soon withdrew  from the process.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; line-height: 19.2px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;On November 13, 2006, Sun released much of &lt;b&gt;Java&lt;/b&gt; as&amp;nbsp;free and &lt;b&gt;open source software&lt;/b&gt;, (FOSS), under the terms of the&amp;nbsp;&lt;b&gt;GNU General Public License&lt;/b&gt;&amp;nbsp;(GPL).  On May 8, 2007, Sun finished the process, making all of Java&#39;s core  code available under&amp;nbsp;free software/open-source distribution terms, aside  from a small portion of code to which Sun did not hold the copyright.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: sans-serif; line-height: 19.2px; margin-bottom: 0.5em; margin-top: 0.4em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Sun&#39;s vice-president Rich Green said that Sun&#39;s ideal role with regards to Java was as an&quot;evangelist.&quot;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Following&amp;nbsp;&lt;b&gt;Oracle Corporation&lt;/b&gt;&#39;s  acquisition of Sun Microsystems in 2009–2010, Oracle has described  itself as the &quot;steward of Java technology with a relentless commitment  to fostering a community of participation and transparency&quot;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This did  not hold Oracle, however, from filing a lawsuit against Google shortly  after that for using Java inside the &lt;b&gt;Android SDK&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Java &lt;/b&gt;software  runs on&amp;nbsp;laptops&amp;nbsp;to&amp;nbsp;data centers,game consoles&amp;nbsp;to  scientific&amp;nbsp;supercomputers. There are 930 million&amp;nbsp;Java Runtime  Environment&amp;nbsp;downloads each year and 3 billion&amp;nbsp;mobile phones&amp;nbsp;run &lt;b&gt;Java.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;On April 2, 2010, James Gosling resigned from Oracle.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Oracle Corporation&lt;/b&gt;&amp;nbsp;is the current owner of the official implementation of the &lt;b&gt;Java SE platform,&lt;/b&gt; following their acquisition of&amp;nbsp;&lt;b&gt;Sun Micro systems&lt;/b&gt; on &lt;b&gt;January 27, 2010&lt;/b&gt;.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This implementation is based on the original implementation of Java by Sun. The Oracle implementation is available for&amp;nbsp;&lt;b&gt;Mac OS X&lt;/b&gt;,&amp;nbsp;&lt;b&gt;Windows&lt;/b&gt;&amp;nbsp;and&amp;nbsp;&lt;b&gt;Solaris&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Major release versions of Java, along with their release dates:&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;ul&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;JDK 1.0&lt;/b&gt; (January 21, 1996)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;JDK 1.1&lt;/b&gt; (February 19, 1997)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;J2SE 1.2&lt;/b&gt; (December 8, 1998)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;J2SE 1.3&lt;/b&gt; (May 8, 2000)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;J2SE 1.4&lt;/b&gt; (February 6, 2002)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;J2SE 5.0 &lt;/b&gt;(September 30, 2004)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Java SE 6&lt;/b&gt; (December 11, 2006)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Java SE 7&lt;/b&gt; (July 28, 2011)&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/6521631296263967297/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/history-of-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6521631296263967297'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6521631296263967297'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/history-of-java.html' title='History of JAVA'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-pkvGuSuvc1c/UQK3thOYwzI/AAAAAAAAAJ8/BUtvXVMk0yY/s72-c/Java_logo.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-784312227295771841</id><published>2013-08-26T20:00:00.004-07:00</published><updated>2013-08-26T20:01:27.980-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Operating System"/><title type='text'>What is  kernel and shell?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;Both the &lt;b&gt;shell &lt;/b&gt;and the &lt;b&gt;kernel&lt;/b&gt; are the Parts of a &lt;b&gt;operating system.&lt;/b&gt; These Both Parts are responsible for performing any operation on the system. When a user gives his Command for Performing Any Operation, then the Request Will goes to the &lt;b&gt;Shell&lt;/b&gt; Parts, The &lt;b&gt;Shell &lt;/b&gt;Parts is also called as the Interpreter which translate the Human Program into the Machine Language and then the Request will be transferred to the &lt;b&gt;Kernel&lt;/b&gt;. So that &lt;b&gt;Shell&lt;/b&gt; is just called as the interpreter of the commands which converts the request of the user into the machine language.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;h1&gt;&lt;span style=&quot;border: none windowtext 1.0pt; font-size: large; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;Kernel:-&lt;/span&gt;&lt;/h1&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;&lt;b&gt;Kernel&amp;nbsp;&lt;/b&gt; is also called as the heart of the operating system and the every operation is&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;performed by using the &lt;b&gt;kernel&lt;/b&gt;,when the kernel receives the request from the shell then it&amp;nbsp; process&amp;nbsp; request and display the result on the screen.the various types of operations performed by the &lt;b&gt;kernel&lt;/b&gt;are as follow:-&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp; 1)&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;It control the state process means it checks whether the process is running or process &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; is waiting for the request of the user.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp; 2)&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;Provides the memory for the process those are running on the system means&amp;nbsp; &lt;b&gt;kernel&lt;/b&gt; runs the allocation&amp;nbsp; and&amp;nbsp; de_allocation&amp;nbsp; process .First when we request for the service then the &lt;b&gt;kernel&lt;/b&gt; will provides the memory to the process&amp;nbsp; and after that he also release the memory&amp;nbsp; which is&amp;nbsp; given to a process.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp; 3)&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;The &lt;b&gt;kernel &lt;/b&gt;also maintains a time table for all the processes those are running means the &lt;b&gt;kernel&lt;/b&gt; also prepare the schedule time means this will provide&amp;nbsp; the time to various process of the CPU and the&lt;b&gt; kernel&lt;/b&gt; also puts the waiting and suspended jobs in to the different memory area.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpMiddle&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%; mso-bidi-font-family: Calibri; mso-bidi-theme-font: minor-latin;&quot;&gt;&amp;nbsp; 4)&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;&amp;nbsp;When a&lt;b&gt; kernel &lt;/b&gt;determines that the logical memory doesn’t fit to store the programs&amp;nbsp; then he uses the concept of the physical memory which will stores the programs into temporary manner,means&amp;nbsp; the physical memory of the system can be used as temporary&amp;nbsp; memory.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpLast&quot; style=&quot;mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 115%; text-indent: -0.25in;&quot;&gt;&amp;nbsp; 5)&lt;span style=&quot;line-height: normal;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large; line-height: 115%; text-indent: -0.25in;&quot;&gt;&lt;b&gt;Kernel&lt;/b&gt; also maintains all the maintains all the files those are stored into the computer system&amp;nbsp; and the &lt;b&gt;kernel &lt;/b&gt;also stores all the files into the system as no one can read&amp;nbsp; or write the files without&amp;nbsp; any permission,so that the &lt;b&gt;kernel&lt;/b&gt; system also provides us the facility to use the passwords and also all the files are stored&amp;nbsp; into the particular manner.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin-left: .25in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large; line-height: 115%;&quot;&gt;As we have learned there are many programs or functions those are performed by the&lt;b&gt; kernel&lt;/b&gt;but the functions those are performed&amp;nbsp; by&amp;nbsp; the&lt;b&gt; kernel&lt;/b&gt; will never be shown to the user,and the functions of the &lt;b&gt;kernel&amp;nbsp; &lt;/b&gt;are transparent to the user.&lt;/span&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;line-height: 115%;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/784312227295771841/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-kernel-and-shell.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/784312227295771841'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/784312227295771841'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-kernel-and-shell.html' title='What is  kernel and shell?'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-647117933161049886</id><published>2013-08-26T19:55:00.002-07:00</published><updated>2013-08-26T19:55:28.823-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Operating System"/><title type='text'>     What is Operating System?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp; Operating System&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; line-height: 14.25pt; padding: 0in; text-align: justify;&quot;&gt;&amp;nbsp;We all know that there are many hardware’s and software’s which&amp;nbsp; are attached to&amp;nbsp; a system. So for performing any &lt;b&gt;operations &lt;/b&gt;both software and hardware are compulsory. So For exchanging information between software and hardware&amp;nbsp;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;o&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; line-height: 14.25pt; padding: 0in; text-align: justify;&quot;&gt;&lt;b&gt;perating system&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/b&gt;is used.&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Operating system&lt;/b&gt; is that which communicate&amp;nbsp; with&amp;nbsp; software and &amp;nbsp;hardware. The software is the non-touchable part of the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;system,  and &amp;nbsp;software’s are just used for making an application but hardware’s &amp;nbsp;are used for  performing an operation . For example if we want to perform a activity  of playing a song then media player is an software and using mouse is an hardware , but how the system knows  what to do when mouse moves on the screen and when the mouse select a song on  the system so that &lt;b&gt;operating system &lt;/b&gt;is necessary which interact between  or which communicates with the hardware and the software. For better  understanding you can see the working of the &lt;b&gt;operating system.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-4AJFGPeOJX8/UQLOTI3_dvI/AAAAAAAAAAM/FxenTa3s4Ik/s1600/o.s.png&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;249&quot; src=&quot;http://2.bp.blogspot.com/-4AJFGPeOJX8/UQLOTI3_dvI/AAAAAAAAAAM/FxenTa3s4Ik/s640/o.s.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; padding: 0in;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;so we can say that the &lt;b&gt;operating system&lt;/b&gt; have the following characteristics :-&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;1)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Operating System&lt;/b&gt; is a Collection of Programs which provides platform for Execution of other Programs.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;2)&lt;b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;Operating System&lt;/b&gt;&amp;nbsp; Controls &amp;nbsp;all the Input and Output Devices those are connected to the System.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;3)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Operating System&lt;/b&gt; is the platform on which we Run all the Application Software’s.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;4)&lt;b&gt;&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;Operating System&lt;/b&gt; Provides Scheduling to the Various Processes Means Allocates the Memory to various Process those Wants to Execute.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;5)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Operating System &lt;/b&gt;provides medium to exchange information between the user and the System.&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background: white; line-height: 14.25pt; margin-bottom: .0001pt; margin-bottom: 0in; margin-left: 37.5pt; margin-right: 0in; margin-top: 0in; text-align: justify; text-indent: -19.5pt;&quot;&gt;&lt;span style=&quot;border: 1pt none windowtext; font-family: Arial, sans-serif; font-size: large; padding: 0in;&quot;&gt;6)&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;Operating System &lt;/b&gt;is Stored into&amp;nbsp; &amp;nbsp;the Basic Input and Output System means when a user Starts his System then this will Read all the instructions those are Necessary for Executing the System Means for Running the &lt;b&gt;Operating System&lt;/b&gt;,&lt;b&gt; Operating System&lt;/b&gt; Must be Loaded into the&lt;span class=&quot;apple-converted-space&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;border: none windowtext 1.0pt; font-family: &amp;quot;Arial&amp;quot;,&amp;quot;sans-serif&amp;quot;; font-size: large; mso-border-alt: none windowtext 0in; padding: 0in;&quot;&gt;computer&lt;span class=&quot;apple-converted-space&quot;&gt; &amp;nbsp;&lt;/span&gt;For this, we will use the Floppy or Hard Disks Which Stores the &lt;b&gt;Operating System&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/647117933161049886/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-operating-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/647117933161049886'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/647117933161049886'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-operating-system.html' title='     What is Operating System?'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-4AJFGPeOJX8/UQLOTI3_dvI/AAAAAAAAAAM/FxenTa3s4Ik/s72-c/o.s.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-3568985014058928066</id><published>2013-08-26T19:47:00.001-07:00</published><updated>2013-08-26T19:47:43.900-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'>JAVA : Collections </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: purple;&quot;&gt;&lt;u&gt;Collections And Framework&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/h2&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;Collections&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;A&lt;b&gt; Collection&lt;/b&gt; is a group of objects .The &lt;b&gt;collection framework&lt;/b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;/span&gt;defines&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;several interfaces&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;which the collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;interfaces of which the collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;interfaces is the foundation&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;upon&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;which the &lt;b&gt;collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;framework &lt;/b&gt;is built .The collection interface declares the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;core method&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;that a collection will have.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;collection  &amp;nbsp;provides java developers a set of classes and interfaces &amp;nbsp;that makes  &amp;nbsp;it easier to handle &amp;nbsp; a collection of objects,in this way it works a  bit like array but their size can be change dynamically &amp;nbsp;and it has more  advanced behavior than array.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h2 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;Framework&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&lt;b&gt;Framework &lt;/b&gt;are repeatable ways of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;solving problem. &lt;b&gt;Framework&lt;/b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt; &lt;/span&gt;are a prescriptive set of buildings blocks and services .The developers&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;can use&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;to achieve&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;some goal.Basically , a frame work&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;provides&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;the infrastructure&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;to solve a type&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a problem .A &lt;b&gt;Framework&lt;/b&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;is&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;not the solution to a problem ,it is simply the tool with which&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;we struct&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;solution .&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;h3 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;Collection Interfaces&lt;/span&gt;&lt;/h3&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Collection&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Enables you to work&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;with&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;group&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;of&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;object ,it is&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;at&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;the top&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;of the collections hierarchy.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;List&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends collection to handle sequences&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;(list of objects ).&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Set&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;collection to handle&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;sets ,which must&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;contain unique elements .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Sorted set&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends set to handle sorted set.&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h4 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Interface Methods&lt;/span&gt;&lt;/h4&gt;&lt;h4 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Boolean Add All (collection c)&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Adds&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;all the elements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of c to&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;invoking collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;return&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;true if the operation&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;succeeded otherwise&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;return&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;false.&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;/div&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Boolean Add (object obj.)&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Adds obj. to the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;invoking&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection return true&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;if obj was added to collection otherwise&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;return&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;false.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Void clear ()&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;&lt;b&gt;:&lt;/b&gt;-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Remove all elements from the invoking&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Boolean contains(object obj)&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Return true if obj is an element&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of the invoking&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Boolean is empty()&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Returns&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;true if the invoking&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;is&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;empty.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Boolean remove(object obj)&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Remove are instance&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of obj. from the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;invoking collection.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;h4 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Collection Classes&lt;/span&gt;&lt;/h4&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Abstract Collection&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Implements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;most&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;interfaces .&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #365f91;&quot;&gt;&lt;span style=&quot;font-family: Cambria;&quot;&gt;Abstract List:-&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;Abstract&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;collection&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&amp;amp;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;implements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;most&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;of&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;the list&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;intefaces&#39;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #365f91;&quot;&gt;&lt;span style=&quot;font-family: Cambria;&quot;&gt;Abstract Sequential List:-&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;abstract list.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Linked List&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Implements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a linked&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;list&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;by&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;extending&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;abstract sequential list. It is Designed to give better performance when you insert or delete &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;elements from the middle of the collection.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Array List&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Implements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;a dynamic&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;array&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;by extending&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&lt;/span&gt;abstract list.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u&gt;&lt;span style=&quot;color: #365f91;&quot;&gt;&lt;span style=&quot;font-family: Cambria;&quot;&gt;&lt;b&gt;Abstract Set:&lt;/b&gt;-&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;abstract&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;coolection&amp;amp; implements&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;most of the&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;set&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp; &lt;/span&gt;interface.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Hash Set&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;abstract&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;set&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&lt;/b&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;for&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;use&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;with&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;a hash table.It prevents duplictes in the collection &amp;nbsp;and it can find a given element quickly in a collection..&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;margin: 0in 0in 10pt;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Linked Hash Set&lt;/u&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;:-&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Extends&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;hash&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;set to allow insertions.&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;u style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;Tree Set&lt;/u&gt;&lt;/b&gt;&lt;span style=&quot;color: #365f91; font-family: Cambria;&quot;&gt;&lt;b&gt;:&lt;/b&gt;-&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;Implements&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;a set&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;stored&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;in a&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;free&lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;font-family: Calibri; font-size: large;&quot;&gt;explicits and prevents the duplicates.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a name=&#39;more&#39;&gt;&lt;/a&gt;&lt;/div&gt;&lt;h2 class=&quot;MsoTitle&quot; style=&quot;border-color: currentColor currentColor rgb(79, 129, 189); border-style: none none solid; border-width: medium medium 1pt; margin: 0in 0in 15pt; mso-border-bottom-themecolor: accent1; mso-element: para-border-div; padding: 0in 0in 4pt; text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;mso-spacerun: yes;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/3568985014058928066/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/java-collections.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3568985014058928066'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3568985014058928066'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/java-collections.html' title='JAVA : Collections '/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-3823408900369582277</id><published>2013-08-24T21:11:00.000-07:00</published><updated>2013-08-25T05:11:47.928-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>What are the different storage classes in C ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;A &lt;b&gt;storage class&lt;/b&gt; defines the scope and life time of variables.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;There are four&lt;b&gt; storage classes&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Auto Storage class&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Register&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;Storage class&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Static&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;Storage class&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Extern&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;Storage class&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;1.auto - Storage Class&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;auto storage class&lt;/b&gt; is the default for&lt;b&gt; local variables&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;b&gt; example&lt;/b&gt; :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int a;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; auto int M;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The example above defines two variables with the same &lt;b&gt;storage class&lt;/b&gt;.&lt;b&gt;&amp;nbsp;Auto Storage class &amp;nbsp;&lt;/b&gt;only be used within the functions, i.e. local variables.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;2.register - Storage Class&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;register Storage Class&lt;/b&gt; is used to define local variables and to stored in a&lt;b&gt; register&lt;/b&gt; instead of RAM.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; register int &amp;nbsp;Miles;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Register &lt;/b&gt;must be used for variables that need quick access - such as counters.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;3.static - Storage Class&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;static storage class&lt;/b&gt; is the default for global variables.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;static int Count;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; int Road;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; printf(&quot;%d\n&quot;, Road);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;static&lt;/b&gt; variables are &#39;visible&#39; to all functions in this source file.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;The variable with &lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;static storage class&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; will retain its value during various call.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;void func(void);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;static count=10; /* Global variable - &lt;b&gt;static storage class&lt;/b&gt;*/&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;main()&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;while (count--)&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;func();&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;void func( void )&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;{&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;static i = 5;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;i++;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;printf(&quot;i is %d and count is %d\n&quot;, i, count);&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;This will produce following result&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 6 and count is 9&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 7 and count is 8&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 8 and count is 7&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 9 and count is 6&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 10 and count is 5&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 11 and count is 4&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 12 and count is 3&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 13 and count is 2&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 14 and count is 1&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp;i is 15 and count is 0&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;4.extern - Storage Class&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;extern storage class &lt;/b&gt;is used to give a reference of a &lt;b&gt;global variable&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&#39;extern&#39; variable&lt;/b&gt; cannot be initialized.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/3823408900369582277/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/what-are-different-storage-classes-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3823408900369582277'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3823408900369582277'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/what-are-different-storage-classes-in-c.html' title='What are the different storage classes in C ?'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-3468719120457034240</id><published>2013-08-24T12:19:00.000-07:00</published><updated>2013-08-25T05:09:18.066-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>What is the difference between String and Character Array?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;String&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; &amp;nbsp;have static storage duration, While &lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;character array&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; not, unless it is specified by using the &lt;b&gt;static &amp;nbsp;keyword.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Moreover a &lt;b&gt;string is a character array&lt;/b&gt; having properties:&amp;nbsp;&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the sequence of &lt;b&gt;character&lt;/b&gt;, generally call &lt;b&gt;string&lt;/b&gt;, is &amp;nbsp;an array .&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This array contain all characters plus a NULL &lt;b&gt;character.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;we cant modify it.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;two &lt;b&gt;string&lt;/b&gt; having same value may share same memory .&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;DECLARATION:&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;char a[ ] = &quot;Kumar and Bucky”; &lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;Character Array&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;char *s = “Calvin and Hobbes”; &amp;nbsp; &amp;nbsp;&lt;b&gt; String&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/3468719120457034240/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-difference-between-string-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3468719120457034240'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3468719120457034240'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-difference-between-string-and.html' title='What is the difference between String and Character Array?'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-4092971779798144662</id><published>2013-08-23T19:58:00.001-07:00</published><updated>2013-08-24T05:52:42.968-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>What is difference between Call by value and Call by reference?  </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;There are two different methods for passing a variable in function as a parameter:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;1.&lt;b&gt;Call by value&lt;/b&gt;: &amp;nbsp;we pass copy of actual variables in function as a parameter. Any changes on parameters inside the function will not effect the actual variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white;&quot;&gt;#include&amp;lt;&lt;/span&gt;&lt;span style=&quot;background-color: white;&quot;&gt;stdio.h&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;void main&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;(){&lt;/span&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;a=5,b=10;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; change(a,b);&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&quot;%d&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;%d&quot;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;,a,b);&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;change(&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;a,&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;b){&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; a=a+b;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; b=a-b;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp;a=a-b;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;}&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Output: 5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;10&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;2.&lt;b&gt;Call by reference&lt;/b&gt;: we pass memory address of &amp;nbsp;actual variables in function as a parameter. Hence if we make any changes on parameters inside the function will effect the actual variable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;#include&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;lt;stdio.h&amp;gt;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int main&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;(){&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;a=5,b=10;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp; &amp;nbsp; change(&amp;amp;a,&amp;amp;b);&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&quot;%d %d&quot;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;,a,b);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;return&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;0;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;}&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;swap(&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;*a,&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;*b){&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;*temp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*temp =*a;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*a=*b;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;*b=*temp;&lt;/span&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 26px; margin-bottom: 0.0001pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;font-size: 19px; line-height: 14.1pt; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: 14pt;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, Helvetica, sans-serif;&quot;&gt;Output: 10 5&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/4092971779798144662/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-difference-between-pass-by.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4092971779798144662'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4092971779798144662'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/what-is-difference-between-pass-by.html' title='What is difference between Call by value and Call by reference?  '/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-1391687956219659144</id><published>2013-08-23T19:24:00.000-07:00</published><updated>2013-08-25T04:55:39.706-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'> Top 5 different ways by which user can store online data for free</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;1.Sky Drive &lt;/b&gt;:is online&lt;b&gt; free storage &lt;/b&gt;for storing data .It provides the &amp;nbsp; &amp;nbsp;&amp;nbsp; user to store data above 5+Gb &lt;b&gt;for free&lt;/b&gt;.&lt;b&gt;Sky Drive&lt;/b&gt; is now days &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; providing &lt;b&gt;store of online data for free&lt;/b&gt;&lt;/span&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-qZvL-DSdJAI/UhgYmYn-P4I/AAAAAAAAALU/jjmgwzc6oNo/s1600/Untitled1.png&quot; imageanchor=&quot;1&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;206&quot; src=&quot;http://2.bp.blogspot.com/-qZvL-DSdJAI/UhgYmYn-P4I/AAAAAAAAALU/jjmgwzc6oNo/s320/Untitled1.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp; &lt;b&gt;&lt;a href=&quot;https://login.live.com/&quot; target=&quot;_blank&quot;&gt;CLICK HERE TO GO TO SKY DRIVE&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;2. Google Drive&lt;/b&gt; is&lt;b&gt; Online free storage for free&lt;/b&gt; up to 5 GB .User &amp;nbsp; &amp;nbsp; &amp;nbsp; can simply lo gin from &amp;nbsp; their g mail&amp;nbsp; &amp;nbsp; account to access this&lt;b&gt; free &amp;nbsp; &amp;nbsp; online storage for free &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&lt;br /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href=&quot;http://2.bp.blogspot.com/-4Uqoz674vVA/UhgYN6QtW4I/AAAAAAAAAKs/EKDKqsad7fQ/s1600/Untitled2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt; &lt;img border=&quot;0&quot; height=&quot;185&quot; src=&quot;http://2.bp.blogspot.com/-4Uqoz674vVA/UhgYN6QtW4I/AAAAAAAAAKs/EKDKqsad7fQ/s320/Untitled2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp; &lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;b&gt; &lt;a href=&quot;https://drive.google.com/&quot; target=&quot;_blank&quot;&gt;CLICK  HERE  TO GO TO G MAIL DRIVE&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;3.DROP BOX &lt;/b&gt;is another &lt;b&gt;online free storage &lt;/b&gt;container &lt;b&gt;where user can store free&lt;/b&gt; up to&lt;b&gt; 2GB for free&lt;/b&gt; of&amp;nbsp;&amp;nbsp;&amp;nbsp; cost.User can Download Drop Box&lt;b&gt; for free&lt;/b&gt; and can easily&lt;b&gt; store data online for free &lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-4B369zZ26Bk/UhgYlypoIAI/AAAAAAAAALM/-4Se7IPakXc/s1600/Untitled8.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;159&quot; src=&quot;http://4.bp.blogspot.com/-4B369zZ26Bk/UhgYlypoIAI/AAAAAAAAALM/-4Se7IPakXc/s320/Untitled8.png&quot; width=&quot;320&quot; /&gt; &lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://www.dropbox.com/&quot; target=&quot;_blank&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CLICK HERE FOR DROP BOX&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;4. YOU FILE LINK is also online free storage &lt;/b&gt;proving it&#39;s user to store &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;data free up to 5GB.&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-Nj_sgzC1g-A/UhgYfnOsngI/AAAAAAAAALE/Ktc0DfDNPvo/s1600/Untitled9.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;197&quot; src=&quot;http://3.bp.blogspot.com/-Nj_sgzC1g-A/UhgYfnOsngI/AAAAAAAAALE/Ktc0DfDNPvo/s320/Untitled9.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;b&gt;&amp;nbsp; &lt;a href=&quot;http://www.yourfilelink.com/&quot; target=&quot;_blank&quot;&gt;CLICK HERE FOR YOUFILELINK&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;5. SUGARSYNC is &lt;/b&gt;providing&lt;b&gt; free online storage for free &lt;/b&gt;up to &amp;nbsp; &amp;nbsp;&lt;b&gt;&amp;nbsp;&amp;nbsp; 5GB.&amp;nbsp;&amp;nbsp; &lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://4.bp.blogspot.com/-O0AdvouupFc/UhmcRlCwZ6I/AAAAAAAAALk/65pcXbfhb5w/s1600/Untitledawde.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;http://4.bp.blogspot.com/-O0AdvouupFc/UhmcRlCwZ6I/AAAAAAAAALk/65pcXbfhb5w/s320/Untitledawde.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;b&gt; &lt;a href=&quot;http://www.sugarsync.com/&quot; target=&quot;_blank&quot;&gt;CLICH HERE FOR  SUGARSYNC&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/1391687956219659144/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/5-different-ways-by-which-user-can.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1391687956219659144'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1391687956219659144'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/5-different-ways-by-which-user-can.html' title=' Top 5 different ways by which user can store online data for free'/><author><name>mayank</name><uri>http://www.blogger.com/profile/13697490970207934402</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-qZvL-DSdJAI/UhgYmYn-P4I/AAAAAAAAALU/jjmgwzc6oNo/s72-c/Untitled1.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-6572175186964297543</id><published>2013-08-22T09:30:00.001-07:00</published><updated>2013-08-25T05:07:05.350-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Arrays in c</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;An &lt;b&gt;array &lt;/b&gt;is derived &lt;b&gt;data type&lt;/b&gt; which can store similar type of&lt;b&gt; data &lt;/b&gt;in sequence memory location. Data may be&lt;b&gt; primitive type&lt;/b&gt; i.e &lt;b&gt;&amp;nbsp;int, char, float, double…&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Example of array declaration:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;int&amp;nbsp;a[5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;char&amp;nbsp;a[5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;float&amp;nbsp;a[5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;long&amp;nbsp;double&amp;nbsp;a[5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;char&amp;nbsp;* a[5];&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;int&amp;nbsp;(a[])();&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;double&amp;nbsp;** a[5];&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Array &lt;/b&gt;is useful when:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;(a) We have to store large number of&lt;b&gt; data&lt;/b&gt; of similar type.:&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #7f0055; font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt; main(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int a&lt;/span&gt;=1;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;b=2;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;c=5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;d=7;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;e=8;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;f=0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;g=11;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;h=5;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;i=90;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;avg;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;avg=(a+b+c+d+e+f+g+h+i)/9;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;printf(&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,avg);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;color: #7f0055;&quot;&gt;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;If we &amp;nbsp;use&lt;b&gt; array&lt;/b&gt; then the same&lt;b&gt; program will written as&lt;/b&gt;;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;color: #7f0055; font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt;void&lt;/span&gt;&lt;span style=&quot;color: #222222; font-family: Arial, Helvetica, sans-serif; text-align: left;&quot;&gt; main(){&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;a[ ]={1,2,5,7,8,0,11,5,50};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;i,avg;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: #7f0055;&quot;&gt;for&lt;/span&gt;(&lt;span style=&quot;color: #7f0055;&quot;&gt;int&lt;/span&gt;&amp;nbsp;i=0;i&amp;lt;12;i++){&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;avg=avg+a[i];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;printf(&lt;span style=&quot;color: #2a00ff;&quot;&gt;&quot;%d&quot;&lt;/span&gt;,avg/9);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-indent: 0.5in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;Advantage of using array:&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif; font-size: large;&quot;&gt;1. An&lt;b&gt; array&lt;/b&gt; provides single name for many variables of same &lt;b&gt;data type&lt;/b&gt;.&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;2. &lt;b&gt;Array &lt;/b&gt;is used in&lt;b&gt; data structure&lt;/b&gt; like. implementation of&lt;/span&gt;&lt;b style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&amp;nbsp;stack&amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;b&gt;Queue, Tree etc.&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; color: #222222; line-height: 26px; margin-bottom: 0in; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/6572175186964297543/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/array-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6572175186964297543'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6572175186964297543'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/array-in-c.html' title='Arrays in c'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-5917254730462733133</id><published>2013-08-22T09:11:00.000-07:00</published><updated>2013-08-25T05:16:00.126-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>How to print Hello  with out using ;(semi-colon)?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;This can be done using following ways&lt;/b&gt;:&lt;/span&gt;&lt;br /&gt;&lt;div&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;1.#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;void&amp;nbsp;main(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(printf(&quot;Hello world&quot;)){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;2.#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;void&amp;nbsp;main(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;while(!printf(&quot;Hello world&quot;)){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;3.#include&amp;lt;stdio.h&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;void&amp;nbsp;main(){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;switch(printf(&quot;Hello world&quot;)){&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;background-color: white; margin-bottom: 0in;&quot;&gt;&lt;span style=&quot;font-family: Courier New, Courier, monospace; font-size: large;&quot;&gt;&lt;b&gt;}&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/5917254730462733133/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/how-to-print-hello-with-out-using-semi.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/5917254730462733133'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/5917254730462733133'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/how-to-print-hello-with-out-using-semi.html' title='How to print Hello  with out using ;(semi-colon)?'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-3409386946893238679</id><published>2013-08-19T06:57:00.002-07:00</published><updated>2013-08-25T05:17:33.138-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Difference between Declaring a variable ,  Defining a variable ,Internal static variable and External static variable</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Declaring a variable&lt;/h2&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Declaring a variable&lt;/b&gt; means describing its type (data type) but not&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;allocating any space for it.&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;Defining a variable:&lt;/h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Defining a variable&lt;/b&gt; means declaring it and&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;also allocating space to hold the variable. and it may be initialize &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;at the time it is defined.&lt;/span&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1.Internal static variable&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;An internal static variable is declared inside a block with static storage&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;.An internal static variable has persistent storage,block&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;scope and no linkage.&lt;/span&gt;&lt;br /&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2.External static variable&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;An external static variable is declared outside all the&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;blocks in a file&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;and &amp;nbsp;has permanent&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;storage,file scope and internal linkage.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/3409386946893238679/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-declaring-variable.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3409386946893238679'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/3409386946893238679'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-declaring-variable.html' title='Difference between Declaring a variable ,  Defining a variable ,Internal static variable and External static variable'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-8482950753610172072</id><published>2013-08-18T21:45:00.001-07:00</published><updated>2013-08-25T05:21:15.586-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Difference between Malloc and Calloc</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;1. &lt;/b&gt;&lt;b&gt;calloc(...) &lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;allocates a block of &lt;/span&gt;&lt;b&gt;memory for an array of elements &lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&amp;nbsp;of a&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;certain size. By default the block is initialized to Zero. The &amp;nbsp;total number of&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;memory allocated will be (number_of_elements * &amp;nbsp;size).&lt;/span&gt;&lt;b&gt;malloc(...)&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; takes in only a single argument which is the &amp;nbsp;memory&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;required in bytes. &lt;/span&gt;&lt;b&gt;malloc(...)&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; allocated bytes of&lt;/span&gt;&lt;b&gt; memory &amp;nbsp;&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; &amp;nbsp; &amp;nbsp;and not blocks&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;of &lt;/span&gt;&lt;b&gt;memory&lt;/b&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt; like &lt;/span&gt;&lt;b&gt;calloc(...)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;2.&lt;/b&gt; &lt;b&gt;malloc(...)&lt;/b&gt; allocates&lt;b&gt; memory blocks &lt;/b&gt;and returns a void pointer to the&amp;nbsp;&lt;b&gt;allocated space&lt;/b&gt;, and null if there is insufficient or no memory available.&lt;b&gt;&amp;nbsp;calloc(...) &lt;/b&gt;allocates an array in memory with elements initialized to 0&amp;nbsp;and returns a&lt;b&gt; pointer to the allocated space.&lt;/b&gt; &lt;b&gt;malloc(...)&lt;/b&gt; can be&lt;b&gt; call by calloc(..)&amp;nbsp;&lt;/b&gt;in order to use the &lt;b&gt;C++ &lt;/b&gt;_set_new_mode function to set the new&amp;nbsp;handler mode.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/8482950753610172072/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-malloc-and-calloc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/8482950753610172072'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/8482950753610172072'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-malloc-and-calloc.html' title='Difference between Malloc and Calloc'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-4517189105196306901</id><published>2013-08-18T21:34:00.000-07:00</published><updated>2013-08-25T05:26:07.492-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Difference between printf(&quot;%d&quot;) and printf(&quot;%d&quot;,x)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;1. When we write &lt;b&gt;printf(&quot;%d&quot;,x)&lt;/b&gt;; the compiler will print the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;value of x. But where there is nothing after %d so compiler will show&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;garbage value.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;2. When we use &lt;b&gt;%d&lt;/b&gt; the compiler internally uses it to access the&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;argument in the stack called argument stack. Compiler determines&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the offset of the variable depending on the format specification&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;string. Now when we write&lt;b&gt; printf(&quot;%d&quot;,x)&lt;/b&gt; then compiler first accesses&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the top most element in the argument stack of the &lt;b&gt;printf&lt;/b&gt; which is&lt;b&gt; %d&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;and depending on the format string it calculated to offset to the actual&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;data variable in the memory which is to be printed. Now when only &lt;b&gt;%d&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;will be present in the&lt;b&gt; printf&lt;/b&gt; then compiler will calculate the correct&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;offset (which will be the offset to access the integer variable) but as&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;the actual data object is to be printed is not present at that memory&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;location so it will print what ever will be the contents of that &lt;b&gt;memory&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;location.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;3. Some &lt;b&gt;compilers check the format string&lt;/b&gt; and will generate an error.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/4517189105196306901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-printfd-and-printfdx.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4517189105196306901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/4517189105196306901'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/difference-between-printfd-and-printfdx.html' title='Difference between printf(&quot;%d&quot;) and printf(&quot;%d&quot;,x)'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-2327286259034070042</id><published>2013-08-17T21:44:00.002-07:00</published><updated>2013-08-25T05:28:45.506-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C language"/><title type='text'>Types of Pointer in C</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;h2&gt;Pointer is of five types::&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;1.Wild pointer:&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;A pointer which has not been initialized is known as wild pointer.&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;int *ptr;&lt;/h2&gt;&lt;h2&gt;printf(&quot;%d&quot;,*ptr);&lt;/h2&gt;&lt;h2&gt;//Output: Garbage Value&lt;/h2&gt;&lt;h2&gt;2.Dangling pointer:&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;If any pointer is pointing the memory address of any variable but after some variable has deleted from that memory location while pointer is still pointing such memory location. that pointer is known as dangling pointer .&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;int * call(){&lt;/h2&gt;&lt;h2&gt;int x=25;&lt;/h2&gt;&lt;h2&gt;++x;&lt;/h2&gt;&lt;h2&gt;return &amp;amp;x;&lt;/h2&gt;&lt;h2&gt;}&lt;/h2&gt;&lt;h2&gt;int *ptr;&lt;/h2&gt;&lt;h2&gt;ptr=call();&lt;/h2&gt;&lt;h2&gt;//Output: Garbage Value&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;3.Near pointer:&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;The pointer which can points only 64KB data segment and &amp;nbsp;cannot access beyond the data segment .the &amp;nbsp;Size of near pointer is 2 byte.&lt;/h2&gt;&lt;h2&gt;int near* ptr;&lt;/h2&gt;&lt;h2&gt;printf(“%d”,sizeof ptr);&lt;/h2&gt;&lt;h2&gt;//Output: 2&lt;/h2&gt;&lt;h2&gt;4.Far pointer:&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;The pointer which can point or access whole memory of RAM. Size of the pointer is 4 byte. We cannot change or modify the segment address of given far address by applying any arithmetic operation on it.&amp;nbsp;&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;int far *ptr;&lt;/h2&gt;&lt;h2&gt;printf(&quot;%d&quot;,sizeof ptr);&lt;/h2&gt;&lt;h2&gt;//Output: 4&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;int far *near*ptr;&lt;/h2&gt;&lt;h2&gt;printf(&quot;%d %d&quot;,sizeof(ptr) ,sizeof(*ptr));&lt;/h2&gt;&lt;h2&gt;//Output: 4 2&lt;/h2&gt;&lt;h2&gt;Explanation: ptr is far pointer while *ptr is near pointer.&lt;/h2&gt;&lt;h2&gt;5.Huge pointer:&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;The pointer which can point or access whole the residence memory of RAM. Size of huge pointer is 4 byte.&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;Don’t use huge pointer:&lt;/h2&gt;&lt;h2&gt;&amp;nbsp;Becouse ..This might be dangerous for your computer.&lt;/h2&gt;&lt;h2&gt;char huge * far *p;&lt;/h2&gt;&lt;h2&gt;printf(&quot;%d %d %d&quot;,sizeof(p),sizeof(*p),sizeof(**p));&lt;/h2&gt;&lt;h2&gt;//Output: 4 4 1&lt;/h2&gt;&lt;h2&gt;Explanation: p is huge pointer, *p is far pointer and **p is char type data variable.&lt;/h2&gt;&lt;h2&gt;&lt;br /&gt;&lt;/h2&gt;&lt;h2&gt;double near *p,far *q;&lt;/h2&gt;&lt;h2&gt;printf(&quot;%d %d %d&quot;,sizeof(q),sizeof(p),sizeof(*p));&lt;/h2&gt;&lt;h2&gt;Output: 4 2 8&lt;/h2&gt;&lt;h2&gt;Explanation: q is far pointer, p is near pointer, *p is double data type constant.&lt;/h2&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/2327286259034070042/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/types-of-pointer-in-c.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/2327286259034070042'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/2327286259034070042'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/types-of-pointer-in-c.html' title='Types of Pointer in C'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-1038371543680626372</id><published>2013-08-17T11:27:00.000-07:00</published><updated>2013-08-25T05:56:26.404-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java script"/><title type='text'> JavaScript Tutorial Pdf download </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; font-weight: bold; line-height: 16px;&quot;&gt;JavaScript Tutorial&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; line-height: 16px;&quot;&gt;&amp;nbsp;in&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; font-weight: bold; line-height: 16px;&quot;&gt;PDF&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; line-height: 16px;&quot;&gt;&amp;nbsp;is available for&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; font-weight: bold; line-height: 16px;&quot;&gt;download&lt;/span&gt;&lt;span style=&quot;background-color: white; color: #444444; font-family: arial, sans-serif; line-height: 16px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/h2&gt;&lt;span style=&quot;background-color: white;&quot;&gt;&lt;span style=&quot;color: #444444; font-family: arial, sans-serif;&quot;&gt;&lt;span style=&quot;font-size: large; line-height: 16px;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;font-family: &#39;Trebuchet MS&#39;, sans-serif; line-height: 19.1875px;&quot;&gt;Java Script:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;JavaScript&lt;/b&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&amp;nbsp;is an&amp;nbsp;&lt;/span&gt;interpreted&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&amp;nbsp;&lt;b&gt;computer&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;programming language.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&#39;s&lt;/b&gt; use in&amp;nbsp;&lt;/span&gt;applications&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&amp;nbsp;outside of web pages.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript &lt;/b&gt;is runs on &lt;b&gt;Browser.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; is used for&lt;b&gt; Data Validation&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; has now become common in &lt;b&gt;server-side programming.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; is Prototype based &lt;b&gt;scripting language&lt;/b&gt;.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;Java Script&lt;/b&gt; copied many thing from java .&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;Java&lt;/b&gt; and &lt;b&gt;Javascript&lt;/b&gt; are not related at all.&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; font-size: large; line-height: 19.1875px;&quot;&gt;&lt;b&gt;Java Script&lt;/b&gt; was developed by &lt;b&gt;Netscape in late 90&#39;s&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; is officially managed by&lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #0b0080; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;Mozilla Foundation&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: verdana, helvetica, arial, sans-serif; font-size: large;&quot;&gt;&lt;b&gt;Download a quick Javascript tutorial in PDF format.&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;a href=&quot;https://docs.google.com/file/d/0B5eqj9tLn3vpd0xMOFhWZkcteUU/edit?usp=sharing&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;55&quot; src=&quot;http://1.bp.blogspot.com/-hKxV9T-rvhA/Ug_N8cNAqWI/AAAAAAAAAH0/R2WcvWMX7A0/s400/Untitled.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;span style=&quot;color: #0b0080; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;background-color: white; font-size: large;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;color: #0b0080; font-family: sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19.1875px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 19.1875px; text-align: left;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 19.1875px; text-align: left;&quot;&gt;&lt;b&gt;&lt;u&gt;features of java Script&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif; line-height: 19.1875px; text-align: left;&quot;&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class=&quot;&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript &lt;/b&gt;supports&amp;nbsp;&lt;/span&gt;properties &amp;nbsp;getter and setter functions &amp;nbsp;conditional&amp;nbsp;&lt;code style=&quot;background-color: #f9f9f9; font-family: monospace, Courier;&quot;&gt;catch&lt;/code&gt;&amp;nbsp;clauses&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt;&amp;nbsp;&lt;/span&gt;adopted&amp;nbsp;iterator protocol&amp;nbsp;from&amp;nbsp;Python&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&amp;nbsp;&lt;b&gt;JavaScript&lt;/b&gt;&lt;/span&gt;&amp;nbsp; adopted&amp;nbsp;shallow&amp;nbsp;generators-coroutines&amp;nbsp;from&lt;b&gt; Python&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt;&lt;/span&gt;&amp;nbsp;also adopted&amp;nbsp;array comprehensions&amp;nbsp;and generator expressions&amp;nbsp;from Python&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; has&amp;nbsp;&lt;/span&gt;proper block scope via the let&amp;nbsp;keyword&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: sans-serif; line-height: 19.1875px;&quot;&gt;&lt;b&gt;JavaScript&lt;/b&gt; also supports&amp;nbsp;&lt;/span&gt;array and object destructuring (limited form of&amp;nbsp;pattern matching)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp;Java Script&lt;/b&gt; has concise function expressions (&lt;code style=&quot;background-color: #f9f9f9; font-family: monospace, Courier;&quot;&gt;function(args) expr&lt;/code&gt;)&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;b&gt;Java &amp;nbsp;Script&lt;/b&gt; also supports&amp;nbsp;ECMAScript for XML&amp;nbsp;(E4X), an extension that adds native&lt;b&gt; XML&lt;/b&gt; support to &lt;b&gt;ECMAScript&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li style=&quot;margin-bottom: 0.1em;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Java Script&lt;/b&gt; support all &amp;nbsp;other &lt;b&gt;programming language.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;h2 style=&quot;text-align: left;&quot;&gt;&lt;hi&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt; &amp;nbsp;&amp;nbsp;&lt;a href=&quot;https://docs.google.com/file/d/0B5eqj9tLn3vpd0xMOFhWZkcteUU/edit?usp=sharing&quot; target=&quot;_blank&quot;&gt;Download Javascript Tutorial  &lt;/a&gt;&lt;/span&gt;&lt;/hi&gt;&lt;/h2&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/1038371543680626372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/blog-post.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1038371543680626372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1038371543680626372'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/blog-post.html' title=' JavaScript Tutorial Pdf download '/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-hKxV9T-rvhA/Ug_N8cNAqWI/AAAAAAAAAH0/R2WcvWMX7A0/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-1420389310694018831</id><published>2013-08-17T10:51:00.003-07:00</published><updated>2013-08-25T06:02:42.316-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latest  Tech"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>How to make a  Computer Virus</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;A&amp;nbsp;&lt;b&gt;batch file&lt;/b&gt;&amp;nbsp;is a &amp;nbsp;text file with the file extension .bat, which is interpreted by the command processor, i.e&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;M.S Dos.&lt;/span&gt;&lt;br /&gt;&lt;blockquote class=&quot;tr_bq&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;It contain &amp;nbsp;some set of commands which is executed automatically when some one click on the file.. so it very easy to make virus by using batch file..&lt;/span&gt;&lt;/blockquote&gt;&lt;h3&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Now i am going to tell you how to do such stuffs..&lt;/span&gt;&lt;/b&gt;&lt;/h3&gt;&lt;h3&gt;&amp;nbsp;&lt;span style=&quot;font-size: large;&quot;&gt;How to make a &amp;nbsp;Computer Virus?&lt;/span&gt;&lt;/h3&gt;&lt;h3&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;Ans:for this you must know some of the basics command like. &lt;/span&gt;echo,start ,pause, kill ,call et&lt;b&gt;c&lt;/b&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Step1&lt;/b&gt;&amp;nbsp;:- o&lt;b&gt;pen Notepad&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Step2:- &amp;nbsp;copy the following code.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;@echo off&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;:d&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;start &amp;nbsp;notepad&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;start &amp;nbsp; www.langadda.blogspot.com&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;start &amp;nbsp; www.toolsadda.blogsspot.com&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;start &amp;nbsp; calc&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;i&gt;&lt;span style=&quot;color: #cc0000; font-size: large;&quot;&gt;&lt;b&gt;goto :d&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Step 3&lt;/b&gt;:- &lt;b&gt;save the file with bat&amp;nbsp;extension. name could be anything.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Step 4:- Now copy this bat file and paste it on victim &amp;nbsp;computer.&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;h3&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;&lt;b&gt;NOTE:-&lt;/b&gt;Don&#39;t click the file otherwise this code will hang your PC&amp;nbsp;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;You can make it more complex by inserting some more command with in the label.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;start&amp;nbsp;&lt;/b&gt;command will run the applications mentioned .i.e notepad ,calculater,browser. etc&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;:d&lt;/b&gt;&amp;nbsp;is a label.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;goto&lt;/b&gt;&amp;nbsp;is used to jump the interpreter over the label.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;For any doubt&amp;nbsp;pl z&amp;nbsp;comment...&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/1420389310694018831/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/how-to-make-computer-virus.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1420389310694018831'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/1420389310694018831'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/how-to-make-computer-virus.html' title='How to make a  Computer Virus'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-2015124083884896928</id><published>2013-08-08T10:53:00.004-07:00</published><updated>2013-08-25T06:09:38.745-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latest  Tech"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Google Maps is now most widely app </title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;a href=&quot;http://2.bp.blogspot.com/-c9GQrt283P0/UgPaeEqGoiI/AAAAAAAAAGw/w0-8XaoWbZc/s1600/images.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://2.bp.blogspot.com/-c9GQrt283P0/UgPaeEqGoiI/AAAAAAAAAGw/w0-8XaoWbZc/s320/images.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Google Maps&lt;/b&gt; is now most widely used in worlds according to &lt;b&gt;Global Web Index &lt;/b&gt;with the Percentage of 54.Facebook holds second position with 44% followed by&lt;b&gt; You tube&lt;/b&gt; and &lt;b&gt;Google+&lt;/b&gt;.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;Skype&amp;nbsp;&lt;/b&gt;is at &amp;amp;&amp;nbsp;position&amp;nbsp;and&amp;nbsp;whats app&amp;nbsp;at 9th.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;According to &lt;b&gt;Global Web Index&lt;/b&gt; the top ten most accessed apps are follows:&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;01. &amp;nbsp; Google Maps - 54%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;02. &amp;nbsp; Facebook - 44%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;03. &amp;nbsp; YouTube -35%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;04. &amp;nbsp; Google+ - 30%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;05. &amp;nbsp; Weixin /We-chat&amp;nbsp;- 27%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;06. &amp;nbsp; Twitter - 22%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;07. &amp;nbsp; Skype - 22%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;08. &amp;nbsp; Facebook Messenger - 22%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;09. &amp;nbsp;&amp;nbsp;Whats-app&amp;nbsp;- 17%&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;10. &amp;nbsp; Instagram - 11%&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/2015124083884896928/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/google-maps-is-now-most-widely-app.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/2015124083884896928'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/2015124083884896928'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/google-maps-is-now-most-widely-app.html' title='Google Maps is now most widely app '/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-c9GQrt283P0/UgPaeEqGoiI/AAAAAAAAAGw/w0-8XaoWbZc/s72-c/images.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-7633777625424348257</id><published>2013-08-08T10:43:00.000-07:00</published><updated>2013-08-25T06:13:30.682-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latest  Tech"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>Find My Phone for Andriod</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-PxQeUCko_5o/UgPXrEQPpQI/AAAAAAAAAGY/dhGP8wSweCs/s1600/find_my_phone_android_2.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em; text-align: justify;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; src=&quot;http://3.bp.blogspot.com/-PxQeUCko_5o/UgPXrEQPpQI/AAAAAAAAAGY/dhGP8wSweCs/s400/find_my_phone_android_2.gif&quot; width=&quot;240&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;span style=&quot;font-family: Verdana, sans-serif;&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;div style=&quot;text-align: justify;&quot;&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;After a long journey for four years finally&lt;b&gt; Google &lt;/b&gt;&amp;nbsp;launched an Android equivalent to Apple&#39;s ,find my phone app ,which is used to track down &amp;nbsp;missing phone or tabs. The &lt;b&gt;Apple&#39;s&lt;/b&gt; user using this app since 2009 .&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This service will allow you to call your phone and make it ring at maximum volume (even if it is silent) in case it has been misplaced at home and view its location on a map if it was left at a restaurant or somewhere else further . And, if it &amp;nbsp; was stolen, the owner can quickly and securely remote wipe all information on it.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;This service is&amp;nbsp;compatible&amp;nbsp;with &lt;b&gt;Android&lt;/b&gt; running on&amp;nbsp;&lt;b&gt;Fro yo&lt;/b&gt;&amp;nbsp;and above versions.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;color: #1d1d1d; font-family: Verdana, sans-serif; line-height: 19px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;color: #1d1d1d; font-family: Verdana, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 19px;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/7633777625424348257/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/find-my-phone-for-andriod.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7633777625424348257'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7633777625424348257'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/find-my-phone-for-andriod.html' title='Find My Phone for Andriod'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-PxQeUCko_5o/UgPXrEQPpQI/AAAAAAAAAGY/dhGP8wSweCs/s72-c/find_my_phone_android_2.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-6122201884989371013</id><published>2013-08-01T10:54:00.000-07:00</published><updated>2013-08-25T06:16:09.213-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Latest  Tech"/><category scheme="http://www.blogger.com/atom/ns#" term="tech"/><title type='text'>MS office for Andriod</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, Times, serif;&quot;&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;Finally &lt;b&gt;Microsoft&lt;/b&gt; has &amp;nbsp;decided to launch its &lt;b&gt;Office 365 for Android&lt;/b&gt;. The software was out since &lt;b&gt;31&amp;nbsp;July&lt;/b&gt;&amp;nbsp;and its costs a $100-a-year for subscription and it not to be sold separately.&amp;nbsp; As far now it is only compatible with &lt;b&gt;Android Smartphone&lt;/b&gt; that runs on ICS or above, but it is &amp;nbsp;not for &lt;b&gt;Android tablets &lt;/b&gt;. Initially, it’s available only in the&lt;b&gt; U.S, &lt;/b&gt;though the company decided to expand &amp;nbsp;it to other &amp;nbsp;markets with versions in more than 30 languages.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-_rUYkrUuC8Q/UfqePfXk9YI/AAAAAAAAAFk/BSmN8xKxwEg/s1600/officeandroid11_640_verge_super_wide.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-_rUYkrUuC8Q/UfqePfXk9YI/AAAAAAAAAFk/BSmN8xKxwEg/s320/officeandroid11_640_verge_super_wide.jpg&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://3.bp.blogspot.com/-MWuiZmF4d70/UfqeRVmTMXI/AAAAAAAAAF0/TdZNlpk6c10/s1600/officeandroid8_640_verge_super_wide.jpg&quot; imageanchor=&quot;1&quot; style=&quot;background-color: transparent; clear: left; display: inline !important; margin-bottom: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://3.bp.blogspot.com/-MWuiZmF4d70/UfqeRVmTMXI/AAAAAAAAAF0/TdZNlpk6c10/s320/officeandroid8_640_verge_super_wide.jpg&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;a href=&quot;http://1.bp.blogspot.com/-fxC_OPk3DuU/UfqeQ-NXwVI/AAAAAAAAAFs/El5WoYdmeKs/s1600/officeandroid10_640_verge_super_wide.jpg&quot; imageanchor=&quot;1&quot; style=&quot;background-color: transparent; margin-left: 1em; margin-right: 1em; text-align: center;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;http://1.bp.blogspot.com/-fxC_OPk3DuU/UfqeQ-NXwVI/AAAAAAAAAFs/El5WoYdmeKs/s320/officeandroid10_640_verge_super_wide.jpg&quot; width=&quot;192&quot; /&gt;&lt;/a&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, Times, serif; font-size: 15px; line-height: 25px; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;br /&gt;&lt;/div&gt;&lt;div style=&quot;background-color: white; margin-bottom: -10px; margin-top: -10px;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Georgia, Times New Roman, Times, serif;&quot;&gt;&lt;span style=&quot;line-height: 25px;&quot;&gt;As per the success of &lt;b&gt;Office 365 &lt;/b&gt;&amp;nbsp;for the&amp;nbsp;&lt;b&gt;iPhone&#39;s&lt;/b&gt;&amp;nbsp;last month, &lt;b&gt;Microsoft&lt;/b&gt; &amp;nbsp;make its product compelling on other platforms too.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/6122201884989371013/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/08/ms-office-for-andriod.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6122201884989371013'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/6122201884989371013'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/08/ms-office-for-andriod.html' title='MS office for Andriod'/><author><name>Pankaj Adhikari</name><uri>https://plus.google.com/112013463483750001133</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-_rUYkrUuC8Q/UfqePfXk9YI/AAAAAAAAAFk/BSmN8xKxwEg/s72-c/officeandroid11_640_verge_super_wide.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9069495789099364229.post-7352976275900786259</id><published>2013-08-01T10:14:00.000-07:00</published><updated>2013-08-25T06:21:38.741-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="JAVA"/><title type='text'> Installing JAVA AND Setting CLASS PATH</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;h3 style=&quot;text-align: left;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Installing JAVA AND Setting CLASS PATH&lt;/span&gt;&lt;/h3&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 38.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 38.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class=&quot;MsoListParagraphCxSpFirst&quot; style=&quot;margin-left: 38.25pt; mso-add-space: auto; mso-list: l0 level1 lfo1; text-indent: -.25in;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;Install jdk 7.4(latest version) or any&amp;nbsp; other lower &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;version.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-family: Symbol; mso-bidi-font-family: Symbol; mso-fareast-font-family: Symbol;&quot;&gt;&lt;span style=&quot;font-family: &#39;Times New Roman&#39;;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/span&gt;Set the class path for running the java program..&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Left click the my computer option.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Click on the properties.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Click on system properties.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Click on advanced.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Click on environment variable.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; Two different sections will be shown from lower section &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; select “path” and click on &lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;edit&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Open the location where jdk was installed and go inside &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;bin. (“C:\Program&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp;Files\Java\jdk1.7.0_04\bin”).&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;li&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Copy the address and paste it into variable value but be &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; careful not to delete previous&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;entries and put”;”.&lt;/span&gt;&lt;/b&gt;&lt;/li&gt;&lt;/ul&gt;&lt;!--[if !supportLists]--&gt;&lt;/div&gt;&lt;div class=&quot;MsoNormal&quot; style=&quot;text-align: left;&quot;&gt;&lt;/div&gt;&lt;ul style=&quot;text-align: left;&quot;&gt;&lt;li&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Press&amp;nbsp;OK.&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;After following these steps only you would be able to run a java program written in a simple text editor ,using dos&amp;nbsp;comrade.&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;There are various other also various user friendly application which serves as a handy tool (net beans) in creating a java program and compiling it and running it without going through above stated points.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style=&quot;font-size: large;&quot;&gt;But as&amp;nbsp;a beginner&amp;nbsp;users are advised to create the program in notepad or any other text editors and compile them and run them through DOS. It will help in understanding java concept clearly.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt;Compiling and running a java program&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; after the&lt;/span&gt;&lt;b style=&quot;font-size: x-large;&quot;&gt; class path&lt;/b&gt;&lt;span style=&quot;font-size: large;&quot;&gt; is set will be discussed in next post.....&lt;/span&gt;&lt;/div&gt;&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://langadda.blogspot.com/feeds/7352976275900786259/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://langadda.blogspot.com/2013/01/installing-java-and-setting-class-path.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7352976275900786259'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9069495789099364229/posts/default/7352976275900786259'/><link rel='alternate' type='text/html' href='http://langadda.blogspot.com/2013/01/installing-java-and-setting-class-path.html' title=' Installing JAVA AND Setting CLASS PATH'/><author><name>Puneet Mungali</name><uri>http://www.blogger.com/profile/00778554147566032275</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='24' height='32' src='http://4.bp.blogspot.com/-QepwjqtR1d0/UQFLQMtozvI/AAAAAAAAABE/Tgyh6LIpMGY/s220/Photo0364_001.jpg'/></author><thr:total>0</thr:total></entry></feed>