<?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-8347104072367145128</id><updated>2026-04-01T00:30:05.015-07:00</updated><category term="java"/><category term="Java Tutorial"/><category term="Class in java"/><category term="Concepts of OOPS"/><category term="Data Types"/><category term="OOPS"/><category term="OOPS in Java"/><category term="Primitive Data Types"/><category term="Properties of OOPS"/><category term="Simple Java Program"/><category term="introduction to java"/><category term="java methods"/><category term="set path for java"/><category term="Comment In Java"/><category term="Hello world Java program"/><category term="Install Java"/><category term="Java 2 Complete Reference"/><category term="Program"/><category term="Setup Android SDK with Eclipse"/><category term="access specifiers"/><category term="android"/><category term="android history"/><category term="android os"/><category term="android sdk"/><category term="android tutorials"/><category term="android versions"/><category term="bool"/><category term="boolean"/><category term="boolean data types"/><category term="boolean value"/><category term="compile and run java program"/><category term="compile java in cmd"/><category term="compile java program"/><category term="compile java program in command prompt"/><category term="core java"/><category term="create object in java"/><category term="default specifier"/><category term="documentation comment"/><category term="download eclipse"/><category term="end of line comment"/><category term="installing android sdk"/><category term="java books"/><category term="java boolean"/><category term="java data types"/><category term="java history"/><category term="java keywords"/><category term="java object"/><category term="java overview"/><category term="java video tutorial"/><category term="keywords in java"/><category term="methods in java"/><category term="operating system"/><category term="private specifier"/><category term="protected specifier"/><category term="public specifier"/><category term="run java in cmd"/><category term="run java program"/><category term="run java program in command prompt"/><category term="setup android"/><category term="traditional comment"/><category term="what is android"/><title type='text'>Java Answers</title><subtitle type='html'>Java Answer is a place for all java resource</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>20</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-4303053641473607241</id><published>2023-01-30T04:03:00.006-08:00</published><updated>2023-01-30T04:06:59.128-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Concepts of OOPS"/><category scheme="http://www.blogger.com/atom/ns#" term="core java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><category scheme="http://www.blogger.com/atom/ns#" term="OOPS in Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Properties of OOPS"/><title type='text'>Mastering Java with OOPs: An Introduction to Object-Oriented Programming Concepts</title><content type='html'>&lt;p&gt;&lt;b&gt;&lt;u&gt;&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMfeRyTOMA_39DSfJCSu12tuWB2JvAFFhOnqVaeoTkHWCxvm8zSYFsIyBHwcge4r1Ijes4TdkinINjnxDPgaCSNOMwUgK5-lg8TJFlhh_ORax7h2pMxAGRZj1g0t70yy4EJV59uniIOD_PM2Z5-c9xAJ2sUn2xmoqnRMPjalm8zn9TdRSqr2TSgTww/s6000/The%20Fundamentals%20of%20OOPs%20in%20Java%20A%20Beginner&#39;s%20Guide.jpg&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; data-original-height=&quot;4000&quot; data-original-width=&quot;6000&quot; height=&quot;426&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMfeRyTOMA_39DSfJCSu12tuWB2JvAFFhOnqVaeoTkHWCxvm8zSYFsIyBHwcge4r1Ijes4TdkinINjnxDPgaCSNOMwUgK5-lg8TJFlhh_ORax7h2pMxAGRZj1g0t70yy4EJV59uniIOD_PM2Z5-c9xAJ2sUn2xmoqnRMPjalm8zn9TdRSqr2TSgTww/w640-h426/The%20Fundamentals%20of%20OOPs%20in%20Java%20A%20Beginner&#39;s%20Guide.jpg&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;&lt;b&gt;&lt;u&gt;&lt;br /&gt;&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;p&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;The fundamental OOPs concepts in Java are:&lt;/u&gt;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Encapsulation: Hiding the internal details of an object from other objects, and providing a public interface to interact with the object. This is achieved through the use of access modifiers (private, protected, and public) to control the visibility of class members.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;Inheritance:&lt;/u&gt;&lt;/b&gt; A mechanism for creating a new class based on an existing class, inheriting its properties and behavior. This allows for code reuse and the creation of a class hierarchy, making the code more organized and easier to maintain.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Polymorphism:&lt;/b&gt;&lt;/u&gt; The ability of an object to take on many forms, allowing the same method to be used with objects of different classes. This is achieved through method overloading (having multiple methods with the same name but different parameters) and method overriding (having a method in a subclass that has the same name and parameters as a method in its superclass).&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Abstraction:&lt;/b&gt;&lt;/u&gt; Hiding the implementation details of a class and exposing only the necessary information to the user. This is achieved through the use of abstract classes and interfaces, which provide a blueprint for other classes to follow.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Association:&lt;/b&gt;&lt;/u&gt; The relationship between two classes, where one class has a reference to an instance of the other class. This can be unidirectional or bidirectional, and can be further classified as a one-to-one, one-to-many, or many-to-many relationship.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;u&gt;&lt;b&gt;Aggregation:&lt;/b&gt;&lt;/u&gt; A special type of association where one class is a part of another class. For example, a &quot;Department&quot; class may have multiple &quot;Employee&quot; objects, but the &quot;Employee&quot; objects can exist independently of the &quot;Department&quot; class.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;&lt;u&gt;Composition:&lt;/u&gt;&lt;/b&gt; A stronger form of aggregation, where one class is made up of multiple instances of other classes. The objects of the composing class cannot exist independently of the composed class.&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;&lt;p&gt;By utilizing these concepts, Java developers can write organized, reusable, and maintainable code.&lt;/p&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/4303053641473607241/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2023/01/mastering-java-with-oops-introduction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/4303053641473607241'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/4303053641473607241'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2023/01/mastering-java-with-oops-introduction.html' title='Mastering Java with OOPs: An Introduction to Object-Oriented Programming Concepts'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgMfeRyTOMA_39DSfJCSu12tuWB2JvAFFhOnqVaeoTkHWCxvm8zSYFsIyBHwcge4r1Ijes4TdkinINjnxDPgaCSNOMwUgK5-lg8TJFlhh_ORax7h2pMxAGRZj1g0t70yy4EJV59uniIOD_PM2Z5-c9xAJ2sUn2xmoqnRMPjalm8zn9TdRSqr2TSgTww/s72-w640-h426-c/The%20Fundamentals%20of%20OOPs%20in%20Java%20A%20Beginner&#39;s%20Guide.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-2071057542062899449</id><published>2015-12-13T06:30:00.001-08:00</published><updated>2015-12-13T06:30:33.331-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="introduction to java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="java history"/><category scheme="http://www.blogger.com/atom/ns#" term="java overview"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Simple Java Program"/><title type='text'>java computer programing language history and its overview</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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DVBqRL5BOaV6DRCEowBN8J9kVDGEjeAFdmWu0kqV-DKzpKsULiSw6lI3UXs1Mhp7TZIfte0a7p2V5WPb1ee3aV31-eviHHtT-l6TeI54MG-hSqOAI30S9KpIA9II72CBSRgm1oCb9dg/s1600/java+computer+programming+history+and+its+overview.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;java computer programming language history and its overview&quot; border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DVBqRL5BOaV6DRCEowBN8J9kVDGEjeAFdmWu0kqV-DKzpKsULiSw6lI3UXs1Mhp7TZIfte0a7p2V5WPb1ee3aV31-eviHHtT-l6TeI54MG-hSqOAI30S9KpIA9II72CBSRgm1oCb9dg/s320/java+computer+programming+history+and+its+overview.jpg&quot; title=&quot;java computer programming&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Java is a high level computer Programming language developed by &lt;b&gt;James Gosling&lt;/b&gt; at Sun Microsystems and was released in 1995.&lt;br /&gt;
&lt;br /&gt;
Special features of Java is that we can write once, run anywhere. Meaning that compiled Java code can run on all platforms that support Java without the need for recompilation.&lt;br /&gt;
&lt;br /&gt;
Initially it was called Oak after an oak tree that was outside Gosling&#39;s office. Later it was renamed to Java.&lt;br /&gt;
&lt;br /&gt;
At start Java was designed and developed for small computing devices but later it was adopted but many other platforms. Right now billions of deceives are using Java in different platforms.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Mobile Applictions :&lt;/u&gt;&lt;/b&gt; Java is used in mobile phones. Currently Android and Java ME are used for creating mobile applications.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Web Applications : &lt;/u&gt;&lt;/b&gt;Java is used in web sites to create dynamic pages. Java uses struts, servlet, jsp etc. technologies for creating web applications.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;Computer Applications :&lt;/u&gt;&lt;/b&gt; Java is also used in developing Computer application or Desktop application.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
to know more about Java programming language visit &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/introduction-to-java.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Introduction to Java &lt;/b&gt;&lt;/a&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/2071057542062899449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2015/12/java-computer-programing-language.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/2071057542062899449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/2071057542062899449'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2015/12/java-computer-programing-language.html' title='java computer programing language history and its overview'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4DVBqRL5BOaV6DRCEowBN8J9kVDGEjeAFdmWu0kqV-DKzpKsULiSw6lI3UXs1Mhp7TZIfte0a7p2V5WPb1ee3aV31-eviHHtT-l6TeI54MG-hSqOAI30S9KpIA9II72CBSRgm1oCb9dg/s72-c/java+computer+programming+history+and+its+overview.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-3602151218758299191</id><published>2015-01-21T08:56:00.000-08:00</published><updated>2015-01-21T08:56:09.928-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="bool"/><category scheme="http://www.blogger.com/atom/ns#" term="boolean"/><category scheme="http://www.blogger.com/atom/ns#" term="boolean data types"/><category scheme="http://www.blogger.com/atom/ns#" term="boolean value"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Types"/><category scheme="http://www.blogger.com/atom/ns#" term="java boolean"/><category scheme="http://www.blogger.com/atom/ns#" term="java data types"/><category scheme="http://www.blogger.com/atom/ns#" term="Primitive Data Types"/><title type='text'>Boolean data type and its exmples in java programming</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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz1bpNc9DHmDP616rc4OiS4tipLa_2WO9jFrSNRkZyDzK22vupTckdsA8HGhFBeF_7D_2PYBRP8JcWkm6Eakxl0m69OElZksMse2y_H4jaec_k8SB5dB-zu_UpAhB6jU_hqqyVw1AMbyQ/s1600/Boolean-data-type-in-java-programming.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz1bpNc9DHmDP616rc4OiS4tipLa_2WO9jFrSNRkZyDzK22vupTckdsA8HGhFBeF_7D_2PYBRP8JcWkm6Eakxl0m69OElZksMse2y_H4jaec_k8SB5dB-zu_UpAhB6jU_hqqyVw1AMbyQ/s1600/Boolean-data-type-in-java-programming.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&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-family: Trebuchet MS, sans-serif;&quot;&gt;Boolean is a &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/primitive-data-types-in-java.html&quot; target=&quot;_blank&quot;&gt;primitive data type&lt;/a&gt;.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Boolean is the smallest data type in&amp;nbsp;Java&amp;nbsp;which is made up of only 1 bit.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;Boolean data type&amp;nbsp;represents&amp;nbsp;only two possible values - &amp;nbsp;True and False.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;The default Boolean value is False.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;u&gt;&lt;span style=&quot;color: #0b5394; font-family: Trebuchet MS, sans-serif;&quot;&gt;Syntax to Declare Boolean variable :&lt;/span&gt;&lt;/u&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;color: #cc0000; font-family: Trebuchet MS, sans-serif; font-size: large;&quot;&gt;&amp;nbsp;boolean &amp;lt;variable name&amp;gt; = &amp;lt;default value&amp;gt;;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Trebuchet MS, sans-serif;&quot;&gt;&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Example:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&amp;nbsp; boolean x = true;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&amp;nbsp; boolean y = false;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Simple Sample Program Describing Boolean Data Type:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;div&gt;
&amp;nbsp; public class Main {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; public static void main(String[] args) {&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #cc0000;&quot;&gt;boolean x = true; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;x is &quot; + x);&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; int y = 5;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #cc0000;&quot;&gt; boolean z = (y &amp;gt; 15);&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; System.out.println(&quot;z is &quot; + z);&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; }&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;u&gt;&lt;span style=&quot;color: #0b5394;&quot;&gt;Output:&lt;/span&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp; x is true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&amp;nbsp; z is false&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-weight: bold;&quot;&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
The above is a simple example for Boolean data type in Java programming and click the link &lt;a href=&quot;http://java-answers.blogspot.in/2012/01/primitive-data-types-in-java.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Primitive Data Type&lt;/b&gt;&lt;/a&gt; to learn more about other Data types in Java.&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/3602151218758299191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2015/01/boolean-data-type-and-its-exmples-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3602151218758299191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3602151218758299191'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2015/01/boolean-data-type-and-its-exmples-in.html' title='Boolean data type and its exmples in java programming'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhz1bpNc9DHmDP616rc4OiS4tipLa_2WO9jFrSNRkZyDzK22vupTckdsA8HGhFBeF_7D_2PYBRP8JcWkm6Eakxl0m69OElZksMse2y_H4jaec_k8SB5dB-zu_UpAhB6jU_hqqyVw1AMbyQ/s72-c/Boolean-data-type-in-java-programming.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-2818933972618184196</id><published>2013-12-03T03:46:00.000-08:00</published><updated>2013-12-03T03:46:00.636-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android sdk"/><category scheme="http://www.blogger.com/atom/ns#" term="android tutorials"/><category scheme="http://www.blogger.com/atom/ns#" term="download eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="installing android sdk"/><category scheme="http://www.blogger.com/atom/ns#" term="setup android"/><category scheme="http://www.blogger.com/atom/ns#" term="Setup Android SDK with Eclipse"/><title type='text'>Download Eclipse Software And Installing Android SDK for Android Application Development</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 class=&quot;separator&quot; style=&quot;clear: both; display: none; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv55UqRunX_2ae69UnDa0Oz0EhYDSZXH0wCKzoxeKMgWok5X-jALoCKLAy2tuGe-n-MFQHn7Zg9P9zsx3tuzuZO73k2YRduBarGAax7tx2g1yS0S1iUk6VTJuy7EZ6pAXScypV9BcQI3hf/s1600/Eclipse+Juno.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;eclipse juno&quot; border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv55UqRunX_2ae69UnDa0Oz0EhYDSZXH0wCKzoxeKMgWok5X-jALoCKLAy2tuGe-n-MFQHn7Zg9P9zsx3tuzuZO73k2YRduBarGAax7tx2g1yS0S1iUk6VTJuy7EZ6pAXScypV9BcQI3hf/s1600/Eclipse+Juno.png&quot; width=&quot;466&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This tutorial is to explain how to &lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Setup Android SDK with Eclipse&lt;/span&gt;&lt;/b&gt;. You may find many website which explains how to setup android development in eclipse and i tried to make the tutorial simple by adding images to it. Before we move forward with the tutorials we must know the system requirement Android SDK and they are listed below.&lt;/div&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/span&gt;
&lt;span font-size: large;&quot;&gt;&lt;b&gt;System Requirement For Android SDK :&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;Operating Systems&lt;/b&gt;&lt;br /&gt;
&lt;ul style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span&gt;Windows XP (32-bit), Vista (32- or 64-bit), or Windows 7 (32- or 64-bit)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Mac OS X 10.5.8 or later (x86 only)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Linux (tested on Ubuntu Linux, Lucid Lynx)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;GNU C Library (glibc) 2.7 or later is required.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;On Ubuntu Linux, version 8.04 or later is required.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;64-bit distributions must be capable of running 32-bit applications.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;b b=&quot;&quot; eclipse=&quot;&quot; ide=&quot;&quot;&gt;&lt;br /&gt;
&lt;br /&gt;
1. Eclipse 3.6.2 (Helios) or greater&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;Note:&lt;/b&gt; Eclipse 3.5 (Galileo) is no longer supported with the latest version of ADT.&lt;br /&gt;
2. Eclipse &lt;a href=&quot;http://www.eclipse.org/jdt&quot; target=&quot;_blank&quot;&gt;JDT&lt;/a&gt; plugin (included in most Eclipse IDE packages)&lt;br /&gt;
3. &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot; target=&quot;_blank&quot;&gt;JDK 6&lt;/a&gt; (JRE alone is not sufficient)&lt;br /&gt;
4. &lt;a href=&quot;http://developer.android.com/tools/sdk/eclipse-adt.html&quot; target=&quot;_blank&quot;&gt;Android Development Tools plugin &lt;/a&gt;(recommended)&lt;br /&gt;
5. Not compatible with Gnu Compiler for Java (gcj)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Other development environments&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
1. &lt;a href=&quot;http://www.oracle.com/technetwork/java/javase/downloads/index.html&quot; target=&quot;_blank&quot;&gt;JDK 6 &lt;/a&gt;(JRE alone is not sufficient)&lt;br /&gt;
2. &lt;a href=&quot;http://ant.apache.org/&quot; target=&quot;_blank&quot;&gt;Apache Ant&lt;/a&gt; 1.8 or later&lt;br /&gt;
3. Not compatible with Gnu Compiler for Java (gcj)&lt;br /&gt;
&lt;b&gt;&amp;nbsp; &amp;nbsp;Note: &lt;/b&gt;Some Linux distributions may include JDK 1.4 or Gnu Compiler for Java, both of which are not supported for Android development.&lt;br /&gt;
&lt;br /&gt;
The above are the System Requirement for Android SDK and lets move on with the tutorial. Follow the below given steps to Setup Android SDK in Eclipse.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 1 : Download Android SDK And Unzip It &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
First step is to download Android Software Development Kit(SDK) and unzip the file to your specified folder. You can download Android SDK from &lt;a href=&quot;http://goo.gl/1Z7LC&quot; target=&quot;_blank&quot;&gt;Android SDK download page&lt;/a&gt;. After the download is finished you need to open the zip file and unzip the file to any of your specific folder.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note : &lt;/b&gt;while unzip SDK file choose a folder location where the file wont get deleted because this file will be used by eclipse later.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Step 2 : Download Eclipse And Run Eclipse IDE&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Now you need to run Eclipse to install Android SDK and if you&amp;nbsp;don&#39;t&amp;nbsp;have Eclipse IDE in your system then you can download Eclipse by &lt;a href=&quot;http://goo.gl/ibpKW&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Clicking Here&lt;/b&gt;&lt;/a&gt;. You can download latest version of Eclipse IDE from the given website and the website will look like below given image.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_tmUjUcvU2dzr-p0j6WKeWmrYEG-dg-NdN4hF3pwc5iWuwQEs8uINaGGo6Pq8wgbPhw-0zsw7S-glaxMahevVaZTbf9iWTPDv3B1AfiWtJSPDGyYZ3hlKOBtwvt7FmNgTEXyLT51D_k1h/s1600/download+eclipse+for+android.png&quot;&gt;&lt;img alt=&quot;download eclipse for android&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178695834642914&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_tmUjUcvU2dzr-p0j6WKeWmrYEG-dg-NdN4hF3pwc5iWuwQEs8uINaGGo6Pq8wgbPhw-0zsw7S-glaxMahevVaZTbf9iWTPDv3B1AfiWtJSPDGyYZ3hlKOBtwvt7FmNgTEXyLT51D_k1h/s640/download+eclipse+for+android.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;After finishing the download of Eclipse IDE, Unzip the file and open the unzipped folder and run the Eclipse.exe file. The below image will occur and Eclipse IDE will open.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv55UqRunX_2ae69UnDa0Oz0EhYDSZXH0wCKzoxeKMgWok5X-jALoCKLAy2tuGe-n-MFQHn7Zg9P9zsx3tuzuZO73k2YRduBarGAax7tx2g1yS0S1iUk6VTJuy7EZ6pAXScypV9BcQI3hf/s1600/Eclipse+Juno.png&quot;&gt;&lt;img alt=&quot;eclipse juno&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178706338578834&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv55UqRunX_2ae69UnDa0Oz0EhYDSZXH0wCKzoxeKMgWok5X-jALoCKLAy2tuGe-n-MFQHn7Zg9P9zsx3tuzuZO73k2YRduBarGAax7tx2g1yS0S1iUk6VTJuy7EZ6pAXScypV9BcQI3hf/s1600/Eclipse+Juno.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
You need to select a workspace where all your projects and related files will get stored. Click Browse as shown in the blow image and select a folder of your choice where all your files and project will get stored.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWl7T-aFq7VYHPhWkHLt96SmMbahby-jS69jaEBSzE2pfR1nN2tPAwcnJBxJShhYO9Wk6_BFuTiKmIBBl-7pV4wg7IKvv7SZl6ORa2ThQ7_n5Q3fffnEbO9gm-2WRf2vY8Cl5tWqDQsysX/s1600/Eclipse+workspace.png&quot;&gt;&lt;img alt=&quot;eclipse work space&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178992319067346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgWl7T-aFq7VYHPhWkHLt96SmMbahby-jS69jaEBSzE2pfR1nN2tPAwcnJBxJShhYO9Wk6_BFuTiKmIBBl-7pV4wg7IKvv7SZl6ORa2ThQ7_n5Q3fffnEbO9gm-2WRf2vY8Cl5tWqDQsysX/s1600/Eclipse+workspace.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;3. Installing Android Development Tool (ADT) Plugin To Eclipse :&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Once you open Eclipse and set Workspace for it then you can install Android Development Tool (ADT) plugin using few simple steps as shown below.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;i) Start Eclipse and select &lt;b&gt;Help -&amp;gt; Install New Softwares... &lt;/b&gt;as shown in the below image.&lt;br /&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;b b=&quot;&quot; eclipse=&quot;&quot; ide=&quot;&quot;&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYcI6IEM4avuHFXzOSIaVUZ16SOAIHMKhB_bm956pLLgFvjWwEioCD1SCKjmASfPWnW83ImciyF6l6BYF_aqnxDcY4HVG8VgSCnltYFHQlicncs6q8tFdkhHGp3fvKcYHG9O6Mz3oitiYX/s1600/installing+new+software+in+eclipse.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;install new software in eclipse&quot; border=&quot;0&quot; height=&quot;400&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYcI6IEM4avuHFXzOSIaVUZ16SOAIHMKhB_bm956pLLgFvjWwEioCD1SCKjmASfPWnW83ImciyF6l6BYF_aqnxDcY4HVG8VgSCnltYFHQlicncs6q8tFdkhHGp3fvKcYHG9O6Mz3oitiYX/s400/installing+new+software+in+eclipse.png&quot; width=&quot;392&quot; /&gt;&lt;/a&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b b=&quot;&quot; eclipse=&quot;&quot; ide=&quot;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&amp;nbsp; &amp;nbsp;ii) Install window will appear in that click&amp;nbsp;&lt;b&gt;Add &lt;/b&gt;button. &lt;b&gt;Add Repository &lt;/b&gt;window&amp;nbsp;appears.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;iii) Add &lt;b&gt;Name&lt;/b&gt; as &lt;i&gt;Android&lt;/i&gt; and &lt;b&gt;Location&lt;/b&gt; as &lt;i&gt;https //dl-ssl.google.com/android/eclipse/ &amp;nbsp;&lt;/i&gt;in&amp;nbsp;&lt;b&gt;Add Repository&amp;nbsp;&lt;/b&gt;window and press &lt;b&gt;OK&lt;/b&gt;&amp;nbsp;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIc0_omsf-nnFy_OgJPTFDHFhffYBFvUj2x8mT66HF_uJfe6e3uUVfGkBjFCda2o6xJzEUw15nguZbI8Ay80hhF2SEKyD50BOWF1Za3KPO0w_PvW1ZoAwPxXnNOlSsstJY38CHyAMTo68a/s1600/install+plugin+to+eclipse+juno.png&quot;&gt;&lt;img alt=&quot;install plugin in eclipse&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178991945194994&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhIc0_omsf-nnFy_OgJPTFDHFhffYBFvUj2x8mT66HF_uJfe6e3uUVfGkBjFCda2o6xJzEUw15nguZbI8Ay80hhF2SEKyD50BOWF1Za3KPO0w_PvW1ZoAwPxXnNOlSsstJY38CHyAMTo68a/s1600/install+plugin+to+eclipse+juno.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;iv)&amp;nbsp;Now you will see the Developer Tools in the Install window.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;v) Press &lt;b&gt;Select All &lt;/b&gt;and press &lt;b&gt;Next&lt;/b&gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGcKBcfzbUvn15DEOwytGwd0vdKvjy7-yystPgGIKLzcZaWcDI2SoRczb-qd7FfS5rHf0HFzr2oFEicWxgQn4BWNuZt1_iNgT_4DqSabEn_GNSAogLGONlT89zXv0Aw-ECqmAECPXqvhLz/s1600/check+item+wish+to+install+in+eclipse+juno.png&quot;&gt;&lt;img alt=&quot;install plugin in eclipse juno&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178690089680770&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiGcKBcfzbUvn15DEOwytGwd0vdKvjy7-yystPgGIKLzcZaWcDI2SoRczb-qd7FfS5rHf0HFzr2oFEicWxgQn4BWNuZt1_iNgT_4DqSabEn_GNSAogLGONlT89zXv0Aw-ECqmAECPXqvhLz/s1600/check+item+wish+to+install+in+eclipse+juno.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;vi) Now you need to select file location and click &lt;b&gt;Next&lt;/b&gt; button to install SDK.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis9rFJFyvhJXVP7PP8tntpJqhyHy-TPdYv1fsUI1UdTF7fYyXc8MOKP5Qhf9N3fCvbINKXXRtHQbqgZivmCZ9lpqm7hz8cjmb-pHoPaRsv7CeXklRiotlk3XaZWjEIWDfmTYfutuZGACUH/s1600/configure+android+sdk+in+eclipse.png&quot;&gt;&lt;img alt=&quot;configure android in eclipse&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178694882580594&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis9rFJFyvhJXVP7PP8tntpJqhyHy-TPdYv1fsUI1UdTF7fYyXc8MOKP5Qhf9N3fCvbINKXXRtHQbqgZivmCZ9lpqm7hz8cjmb-pHoPaRsv7CeXklRiotlk3XaZWjEIWDfmTYfutuZGACUH/s1600/configure+android+sdk+in+eclipse.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;vii) In Choose Packages To Install window select &lt;b&gt;Accept All&lt;/b&gt; and click &lt;b&gt;Install&lt;/b&gt; button.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-UVDXaznceJMUcK57MKc5lBbcxXilx6Yh_hTFpQ7vn36pfNcVRYuFmkmDTV7cmS738Sp69Zw_9NArXr9Gnx5I4OhpgW_YFs5IDjktI2rdIEfvg3_BJoaletfYCQoMjtNlhGfl3OciH4Ap/s1600/android+sdk+package+install+in+eclipse.png&quot;&gt;&lt;img alt=&quot;install android sdk in eclipse&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178331856538914&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-UVDXaznceJMUcK57MKc5lBbcxXilx6Yh_hTFpQ7vn36pfNcVRYuFmkmDTV7cmS738Sp69Zw_9NArXr9Gnx5I4OhpgW_YFs5IDjktI2rdIEfvg3_BJoaletfYCQoMjtNlhGfl3OciH4Ap/s1600/android+sdk+package+install+in+eclipse.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
In the Android SDK Manager window, you can see a list of Android versions available and Extra tools. You can download and use any Android version but its better if you start using&amp;nbsp;Android 2.1 which is the&amp;nbsp;basic version that support most of the Android devices.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaNB9mWHQv3utPRJEnUT4oIH3cOaDFwX_qElzA_nKO5G-hbiqoi8YRe2Y59FVV7J1kOWNsyt2ncGwQ14wDFfdR2S2oq0DTSgVvYeDDk7zhUURqIueVNaTACIX0ukx9ID4klgd6gdDkMU3/s1600/android-sdk-manager.png&quot;&gt;&lt;img alt=&quot;android sdk manager&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178354367993554&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiUaNB9mWHQv3utPRJEnUT4oIH3cOaDFwX_qElzA_nKO5G-hbiqoi8YRe2Y59FVV7J1kOWNsyt2ncGwQ14wDFfdR2S2oq0DTSgVvYeDDk7zhUURqIueVNaTACIX0ukx9ID4klgd6gdDkMU3/s1600/android-sdk-manager.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;b&gt;Step 4: Configuring Android SDK&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Now after downloading Android SDK and installing Android Development Tool plugin next step is to Configuring Android SDK. Follow the below steps&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;i) Select &lt;b&gt;Window&lt;/b&gt; -&amp;gt; &lt;b&gt;Preferences&lt;/b&gt; in Eclipse.&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivnLRG62Cs8I7rut5KDBeKza-YoKcDcFhTPVEvj56f4gRJGplY5KaNnGOoBud4EonGKuFduqoVaf1svY5AO1s-0D3FkRb6Y7NYjJ9xWMD111iyRGHqAdAdX8uzO-cMvdWaBW_-OTKuBax9/s1600/preference+ConfigADT.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivnLRG62Cs8I7rut5KDBeKza-YoKcDcFhTPVEvj56f4gRJGplY5KaNnGOoBud4EonGKuFduqoVaf1svY5AO1s-0D3FkRb6Y7NYjJ9xWMD111iyRGHqAdAdX8uzO-cMvdWaBW_-OTKuBax9/s1600/preference+ConfigADT.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ii) In&amp;nbsp;&lt;b&gt;SDK Location&lt;/b&gt;&amp;nbsp;select the folder location where you have saved the SDK file which we unzip on&amp;nbsp;&lt;b&gt;Step 1&amp;nbsp;&lt;/b&gt;and we need to select a SDK from it and press &lt;b&gt;Apply&lt;/b&gt; button and then finally click&amp;nbsp;&lt;b&gt;OK&lt;/b&gt;&amp;nbsp;button.
&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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfGm0YkRpaIK-jTBHLGB6-XeGFWXzutQwjCibeiGdL3jIgmTDrQN7FPeqZhlPDfLcZPkeKlD3mOpp9WCdolpFwqQgKL-uAFZ1Gg5il9tjTI0I32n75cd-0aUhZ42DaMsFKtzAjGRAWzCa/s1600/configuring+android+sdk.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;configure android sdk&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgxfGm0YkRpaIK-jTBHLGB6-XeGFWXzutQwjCibeiGdL3jIgmTDrQN7FPeqZhlPDfLcZPkeKlD3mOpp9WCdolpFwqQgKL-uAFZ1Gg5il9tjTI0I32n75cd-0aUhZ42DaMsFKtzAjGRAWzCa/s1600/configuring+android+sdk.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;Step 5 : Creating Your Android Virtual Device&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;i) Lastly we need to create the Android Virtual Device that will be our Android Emulator through which we can run and test our Android Projects in our&amp;nbsp;PC.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;ii) You can create &lt;b&gt;Android Virtual Device&lt;/b&gt; by clicking on the icon on Eclipse as shown in the below or you can select it by clicking on &lt;b&gt;Window -&amp;gt; AVD Manager&lt;/b&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1xp5rC8c2B0RwqQX8cqqRaH0RTNiDisMn2QZ7yc5UL0LrLUKaXZ-PgPgRkBUJ738RRCWdEoaxEYcuJ5xG90m1KSkf0qSGuhwoyoPLV9zvCf4QZaFHW5B7l9ehi0SoKwHP89ATifdUUX0K/s1600/android-virtual-device.png&quot;&gt;&lt;img alt=&quot;android virtual device&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178684023064546&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi1xp5rC8c2B0RwqQX8cqqRaH0RTNiDisMn2QZ7yc5UL0LrLUKaXZ-PgPgRkBUJ738RRCWdEoaxEYcuJ5xG90m1KSkf0qSGuhwoyoPLV9zvCf4QZaFHW5B7l9ehi0SoKwHP89ATifdUUX0K/s1600/android-virtual-device.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp;iii) Now Android Virtual Device Manager window will open and there you can see a &lt;b&gt;New&lt;/b&gt; button on the right side. Click the &lt;b&gt;New&lt;/b&gt; button.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;iv) Create new Android Virtual Device Window will Appear and it has Name, Target and other options in it.&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp;v) In Name write any name which you would like to use and in Target select the Android Version which you would like to use in your Android Emulator and leave the other options as it is and finally click on Create AVD.&lt;br /&gt;
&lt;br /&gt;
Now you can start programming Android applications and when you run the application, the application will be executed in Android&amp;nbsp;Emulator.&lt;br /&gt;
&lt;div style=&quot;text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMk23K_MaklFcedGo11iaP38mqsyA4wUpVB14OZUU7Zd4FzJhCDlmxxNamoX7w_T4WeHEnFREkcddd6D0XYbxCFzTLjgDetjjI2j-2ecTGBUWpyPM2QFo-CyMW0LkqGXTkIv5bjdTmZGfr/s1600/android-emulator+for+windows.png&quot;&gt;&lt;img alt=&quot;android emulator windows&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178347355864706&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMk23K_MaklFcedGo11iaP38mqsyA4wUpVB14OZUU7Zd4FzJhCDlmxxNamoX7w_T4WeHEnFREkcddd6D0XYbxCFzTLjgDetjjI2j-2ecTGBUWpyPM2QFo-CyMW0LkqGXTkIv5bjdTmZGfr/s1600/android-emulator+for+windows.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcOOdCOIWPopluS_lVOuILTNbKnGA0xo-wt7QcxWE7d6KDNhdIkngQO_OyP4h9qLl-4FqElgLEewMrGA3B8jnV1I3Eqq10GwL2NJych1MNhjE-vKrnrtb9VeQPFC8r8tzCWEG5Mbg46Zf/s1600/android-4.0-screen.png&quot;&gt;&lt;img alt=&quot;android 4.0&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5769178335805679218&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwcOOdCOIWPopluS_lVOuILTNbKnGA0xo-wt7QcxWE7d6KDNhdIkngQO_OyP4h9qLl-4FqElgLEewMrGA3B8jnV1I3Eqq10GwL2NJych1MNhjE-vKrnrtb9VeQPFC8r8tzCWEG5Mbg46Zf/s1600/android-4.0-screen.png&quot; style=&quot;display: block; margin: 0px auto 10px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/b&gt;

&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/2818933972618184196/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2013/12/installing-android-sdk-in-eclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/2818933972618184196'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/2818933972618184196'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2013/12/installing-android-sdk-in-eclipse.html' title='Download Eclipse Software And Installing Android SDK for Android Application Development'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhv55UqRunX_2ae69UnDa0Oz0EhYDSZXH0wCKzoxeKMgWok5X-jALoCKLAy2tuGe-n-MFQHn7Zg9P9zsx3tuzuZO73k2YRduBarGAax7tx2g1yS0S1iUk6VTJuy7EZ6pAXScypV9BcQI3hf/s72-c/Eclipse+Juno.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-41048795545774170</id><published>2013-12-01T03:42:00.000-08:00</published><updated>2013-12-01T03:42:18.149-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="android"/><category scheme="http://www.blogger.com/atom/ns#" term="android history"/><category scheme="http://www.blogger.com/atom/ns#" term="android os"/><category scheme="http://www.blogger.com/atom/ns#" term="android versions"/><category scheme="http://www.blogger.com/atom/ns#" term="operating system"/><category scheme="http://www.blogger.com/atom/ns#" term="what is android"/><title type='text'>What is Android</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; display: none; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNaeze0t7ZVlutlDQb9UcER-DifQa7-P-_FkWoSlw_eP08I1-eDRAEKtSJCgQzWDmakMbcdJHx3M_nZ5yFIk2Xpjes2ASW0vQIMCcL9qXKrAwtFOSV9yvEVt6TvBzrhH4fUkrSYBjbk3SY/s1600/What-is-Android-os.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;what is android&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNaeze0t7ZVlutlDQb9UcER-DifQa7-P-_FkWoSlw_eP08I1-eDRAEKtSJCgQzWDmakMbcdJHx3M_nZ5yFIk2Xpjes2ASW0vQIMCcL9qXKrAwtFOSV9yvEVt6TvBzrhH4fUkrSYBjbk3SY/s320/What-is-Android-os.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhllLgGb_dQMzgrjrXD4KyOQTGHZCXJm_8wuDrUtdmt0QZaOZj6fGupNLQeRy4892z-jtW7yIznrhijV-zRC0MRjZlD0uBryWAOQiDvO57JgClI-D0VVa7yVq7AGnfa0H3Gvsjx8mwrK8iU/s1600/what+is+android.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;what is android operating system, about android&quot; border=&quot;0&quot; height=&quot;313&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhllLgGb_dQMzgrjrXD4KyOQTGHZCXJm_8wuDrUtdmt0QZaOZj6fGupNLQeRy4892z-jtW7yIznrhijV-zRC0MRjZlD0uBryWAOQiDvO57JgClI-D0VVa7yVq7AGnfa0H3Gvsjx8mwrK8iU/s320/what+is+android.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Android is a Linux based operating system mainly created for mobile phones such as smartphone and tablet computers. Android operating system is also used in embedded systems such as networking equipment, smart TV systems including set top boxes and built in systems and various devices as varied as house hold appliances and wrist watches.&lt;br /&gt;
&lt;br /&gt;
Android Inc was started in Palo Alto, California, United States on October 2003 by Andy Rubin.&amp;nbsp;Google bought&amp;nbsp;Android Inc on August 17, 2005. With 500000 new  Android activation&#39;s a day, it is becoming the dominant player in mobile operating system and now majority of mobile device use Android Operating System in it.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Android Versions :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Android Released its &amp;nbsp;first version &quot;Astro&quot; on September 23, 2008 and since then it has been updating frequently which fixes bugs of previous versions and improves performance by adding new features. Below are the list of Android version&amp;nbsp;released&amp;nbsp;till date.&lt;br /&gt;
&lt;br /&gt;
1.&amp;nbsp;Astro was released on November 5, 2007&lt;br /&gt;
&lt;br /&gt;
2. Bender was released On February 9, 2009&lt;br /&gt;
&lt;br /&gt;
3. Cupcake was released on April 30, 2009&lt;br /&gt;
&lt;br /&gt;
4. Donut was released On September 15, 2009&lt;br /&gt;
&lt;br /&gt;
5. Eclair was released On October 26, 2009&lt;br /&gt;
&lt;br /&gt;
6. Froyo was released On May 20, 2010&lt;br /&gt;
&lt;br /&gt;
7. Gingerbread was released On December 6, 2010&lt;br /&gt;
&lt;br /&gt;
8. Honeycomb was released On February 22, 2011&lt;br /&gt;
&lt;br /&gt;
9. Ice Cream Sandwich was released on October 19, 2011&lt;br /&gt;
&lt;br /&gt;
10. Jelly Bean was released on July 11, 2012&lt;br /&gt;
&lt;br /&gt;
This are the Android versions released upto date and Each version after Astro and Bender is named in alphabetical order after a dessert or sweet treat, with &quot;Cupcake&quot; being the first and every update since following this naming convention.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/41048795545774170/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2013/12/introduction-about-android-operating-system.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/41048795545774170'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/41048795545774170'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2013/12/introduction-about-android-operating-system.html' title='What is Android'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiNaeze0t7ZVlutlDQb9UcER-DifQa7-P-_FkWoSlw_eP08I1-eDRAEKtSJCgQzWDmakMbcdJHx3M_nZ5yFIk2Xpjes2ASW0vQIMCcL9qXKrAwtFOSV9yvEVt6TvBzrhH4fUkrSYBjbk3SY/s72-c/What-is-Android-os.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-3320844681206724155</id><published>2012-02-17T07:48:00.001-08:00</published><updated>2012-02-17T07:49:39.363-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="compile and run java program"/><category scheme="http://www.blogger.com/atom/ns#" term="compile java in cmd"/><category scheme="http://www.blogger.com/atom/ns#" term="compile java program"/><category scheme="http://www.blogger.com/atom/ns#" term="compile java program in command prompt"/><category scheme="http://www.blogger.com/atom/ns#" term="run java in cmd"/><category scheme="http://www.blogger.com/atom/ns#" term="run java program"/><category scheme="http://www.blogger.com/atom/ns#" term="run java program in command prompt"/><title type='text'>Compile And Run A Java Program Using Command Prompt</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: 100%; font-weight: normal;&quot;&gt;The following tutorial is going to take you step-by-step with the process of &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;compiling and running java program&lt;/b&gt;&lt;span style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;. The easiest method to understand is to compile and run these programs on your own. I chose to make this because I&#39;ve come across a lot of java beginners who does not know how to compile and run a java program.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;To start with, we need to have JDK installed on our PC. You can easily download JDK from java website or you can also check&lt;/span&gt;&lt;b&gt; &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/tutorial-to-download-and-install-java.html&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Tutorial To Download And Install Java In Windows&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;div style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;b&gt;Compile Java Program Using Command Prompt :&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;/b&gt;&lt;br /&gt;Before Java virtual machine (VM) can run a Java program, Java source code needs to be compiled into byte-code using the javac compiler. In order to compile a Java source code of file helloworld.java you should do the following steps.&lt;br /&gt;&lt;br /&gt;1. open&lt;b&gt; cmd&lt;/b&gt;(&lt;b&gt;command prompt&lt;/b&gt;) from run.&lt;br /&gt;2. open directory in command prompt in which your java file is stored.&lt;br /&gt;3. compile your java file using &lt;b&gt;javac&lt;/b&gt; command.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;   Syntax To Compile A Java Program :&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;javac FileName.java&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;b&gt;   Example :&lt;/b&gt;&lt;/div&gt;&lt;div style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;b&gt;&lt;i&gt;&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;javac helloworld.java&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;4. If there are no errors in your source file, the Java compiler will produce .class file. For instance, the results of a successful compile of helloworld.java will produce a byte-code version of the class in a file named helloworld.class.&lt;/div&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 100%;&quot;&gt;Running A Java Program Using Command Prompt :&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;span style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;1. After you have successfully compiled your Java source code, you&#39;ll be able to invoke the Java Virtual Machine to run your program byte code.&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;2. You can run a java program in command prompt using&lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal;&quot;&gt; java&lt;/b&gt;&lt;span style=&quot;font-size: 100%; font-weight: normal;&quot;&gt; command.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 100%;&quot;&gt;Syntax To Run Java Program In Command Prompt :&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;java FileName&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Example :&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;i&gt;&lt;span style=&quot;color: #e69138; font-size: large;&quot;&gt;java helloworld&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;div style=&quot;font-size: 100%; font-weight: normal;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;Video  Tutorial To Compile And Run A Java Program Using Command Prompt :&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;br /&gt;&lt;object height=&quot;360&quot; style=&quot;font-size: 100%; font-weight: normal;&quot; width=&quot;640&quot;&gt;&lt;param name=&quot;movie&quot; value=&quot;http://www.youtube.com/v/KFQgYE7qajQ?version=3&amp;amp;hl=en_US&quot;&gt;&lt;param name=&quot;allowFullScreen&quot; value=&quot;true&quot;&gt;&lt;param name=&quot;allowscriptaccess&quot; value=&quot;always&quot;&gt;&lt;embed src=&quot;http://www.youtube.com/v/KFQgYE7qajQ?version=3&amp;amp;hl=en_US&quot; type=&quot;application/x-shockwave-flash&quot; width=&quot;640&quot; height=&quot;360&quot; allowscriptaccess=&quot;always&quot; allowfullscreen=&quot;true&quot;&gt;&lt;/embed&gt;&lt;/object&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/3320844681206724155/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/02/compile-and-run-java-program-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3320844681206724155'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3320844681206724155'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/02/compile-and-run-java-program-using.html' title='Compile And Run A Java Program Using Command Prompt'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-8277542556894154249</id><published>2012-02-09T11:49:00.000-08:00</published><updated>2012-02-09T18:23:42.537-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="java video tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="set path for java"/><title type='text'>Video Tutorial To Set Path For Java In Windows Operating System</title><content type='html'>&lt;span style=&quot;font-size: 100%;&quot;&gt;This Tutorial is about how to set a path for java in windows operating system. You need to install java first to set a path. You can get details of how to install java from &lt;/span&gt;&lt;b&gt;&lt;span &gt;&lt;a href=&quot;http://java-answers.blogspot.com/2012/01/tutorial-to-download-and-install-java.html&quot;&gt;Tutorial To Download And Install Java In Windows&lt;/a&gt; .&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;&lt;iframe width=&quot;560&quot; height=&quot;315&quot; src=&quot;http://www.youtube.com/embed/Tap3e4dxODI&quot; frameborder=&quot;0&quot; allowfullscreen=&quot;&quot;&gt;&lt;/iframe&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;Also check Image &lt;/span&gt;&lt;a href=&quot;http://java-answers.blogspot.in/2012/01/tutorial-to-set-path-for-java-in.html&quot; style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Tutorial To Set Path For Java In Windows&lt;/a&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;.&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/8277542556894154249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/02/video-tutorial-to-set-path-for-java-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/8277542556894154249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/8277542556894154249'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/02/video-tutorial-to-set-path-for-java-in.html' title='Video Tutorial To Set Path For Java In Windows Operating System'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://img.youtube.com/vi/Tap3e4dxODI/default.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-8590509833013587910</id><published>2012-01-19T01:59:00.000-08:00</published><updated>2015-01-21T09:06:32.153-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Data Types"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Primitive Data Types"/><title type='text'>Primitive Data Types In Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
- A Data Type is the characteristic of a variable that determines what kind of data it can hold.&lt;br /&gt;
&lt;br /&gt;
Java comes with eight primitive data types to handle simple data values. A primitive type is predefined by the language and is named by a reserved keyword. The eight primitive data types supported by the Java programming language are listed below.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd4fdV9ojYqfeLqVMLUcyDBXer5RJda9qlu2Eg9ewYYAqXP_b44I3GcYpGWX39gweKXKHWxL9RhKR_aAvTJVexwuzDEBTySQizeHXEFM8y2dxPmbX6dIKg0i1Qs-oUf1C-fRoQToIbuVw/s1600/data-types.jpg&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd4fdV9ojYqfeLqVMLUcyDBXer5RJda9qlu2Eg9ewYYAqXP_b44I3GcYpGWX39gweKXKHWxL9RhKR_aAvTJVexwuzDEBTySQizeHXEFM8y2dxPmbX6dIKg0i1Qs-oUf1C-fRoQToIbuVw/s640/data-types.jpg&quot; height=&quot;241&quot; id=&quot;BLOGGER_PHOTO_ID_5699023991269946130&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;boolean :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The &lt;a href=&quot;http://java-answers.blogspot.in/2015/01/boolean-data-type-and-its-exmples-in.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;boolean data type&lt;/b&gt;&lt;/a&gt; has only two possible values: true and false. We use this data type for conditional statements. true and false are not the same as True and False. Boolean may not be cast into any other type of variable nor may any other variable be cast into a boolean.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&amp;nbsp;&lt;/b&gt; boolean a = true ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;byte :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The byte data type can be useful for saving memory in large arrays, where the memory savings actually matters. It has a minimum value of -128 and a maximum value of 127.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&lt;/b&gt;&amp;nbsp; byte a = 200 ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;short :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The short data type is a 16-bit signed two&#39;s complement integer. It has a minimum value of -32,768 and a maximum value of 32,767.Short data type can also be used to save memory as byte data type. A short is 2 times smaller than an int.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example : &amp;nbsp;&lt;/b&gt;short a = 20000 ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;int :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The int data type is a 32-bit signed two&#39;s complement integer. It has a minimum value of -2,147,483,648 and a maximum value of 2,147,483,647. Int is generally used as the default data type for integral values unless there is a concern about memory. The default value is 0.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example : &amp;nbsp;&lt;/b&gt;int a = 500 ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;long :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The long data type is a 64-bit signed two&#39;s complement integer. It has a minimum value of -9,223,372,036,854,775,808 and a maximum value of 9,223,372,036,854,775,807.&lt;br /&gt;
This type is used when a wider range than int is needed. Default value is 0L.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&lt;/b&gt;&amp;nbsp; long a = 100000L ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;float :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Float data type is a single-precision 32-bit IEEE 754 floating point. Float is mainly used to save memory in large arrays of floating point numbers. Default value is 0.0f.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&amp;nbsp;&lt;/b&gt; float a = 132.5f ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;double :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The double data type is a double-precision 64-bit IEEE 754 floating point. This data type is generally used as the default data type for decimal values. Double data type should never be used for precise values such as currency. Default value is 0.0d.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&amp;nbsp;&lt;/b&gt; double a = 123.4 ;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;u&gt;char :&lt;/u&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The char data type is a single 16-bit Unicode character. Char data type is used to store any character.It has a minimum value of &#39;\u0000&#39; (or 0) and a maximum value of &#39;\uffff&#39; (or 65,535 inclusive).&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Example :&amp;nbsp;&lt;/b&gt; char a = &#39;b&#39; ;&lt;br /&gt;
&lt;br /&gt;
This are the eight primitive data types in java and you can know about access specifiers which are used with this data types from &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/access-specifiers-in-java.html&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;Access Specifiers In Java&lt;/b&gt;&lt;/a&gt;.&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/8590509833013587910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/primitive-data-types-in-java.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/8590509833013587910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/8590509833013587910'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/primitive-data-types-in-java.html' title='Primitive Data Types In Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjd4fdV9ojYqfeLqVMLUcyDBXer5RJda9qlu2Eg9ewYYAqXP_b44I3GcYpGWX39gweKXKHWxL9RhKR_aAvTJVexwuzDEBTySQizeHXEFM8y2dxPmbX6dIKg0i1Qs-oUf1C-fRoQToIbuVw/s72-c/data-types.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-7113560878243305443</id><published>2012-01-15T09:53:00.000-08:00</published><updated>2012-01-15T09:53:47.177-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Class in java"/><category scheme="http://www.blogger.com/atom/ns#" term="java keywords"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="keywords in java"/><title type='text'>Keywords In Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
- keywords are reserved words in Java Programming which have a predefined meaning in the language and so we cannot use these keywords as variables, methods, classes, or as any other identifier in the program.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCQamv_Duqkw_Ti8tFmtdVifXs7Z-oJVjBw0pRtX8ITdvQCzvkJL0XJPPvWMFX8BTChJ5WfsG4BfBDjIaYvWPD6zSSqybiseJdH7PocHb-1rX-4MksniYEls64xYmVW2kGb3FIaFFpnt8/s1600/java-keywords.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;260&quot; id=&quot;BLOGGER_PHOTO_ID_5697077863478058354&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCQamv_Duqkw_Ti8tFmtdVifXs7Z-oJVjBw0pRtX8ITdvQCzvkJL0XJPPvWMFX8BTChJ5WfsG4BfBDjIaYvWPD6zSSqybiseJdH7PocHb-1rX-4MksniYEls64xYmVW2kGb3FIaFFpnt8/s640/java-keywords.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The above image shows list of all keywords used in java programming. Will learn in detail on those keywords later tutorials.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/7113560878243305443/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/keywords-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7113560878243305443'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7113560878243305443'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/keywords-in-java.html' title='Keywords In Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgCQamv_Duqkw_Ti8tFmtdVifXs7Z-oJVjBw0pRtX8ITdvQCzvkJL0XJPPvWMFX8BTChJ5WfsG4BfBDjIaYvWPD6zSSqybiseJdH7PocHb-1rX-4MksniYEls64xYmVW2kGb3FIaFFpnt8/s72-c/java-keywords.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-59912801544268965</id><published>2012-01-12T09:43:00.000-08:00</published><updated>2012-01-12T09:46:05.859-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Comment In Java"/><category scheme="http://www.blogger.com/atom/ns#" term="documentation comment"/><category scheme="http://www.blogger.com/atom/ns#" term="end of line comment"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="traditional comment"/><title type='text'>Comments In Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- Java comments are either explanations of the source code or descriptions of classes, interfaces, methods, and fields.They are usually a couple of lines written above or beside Java code to clarify what it does.&lt;br /&gt;&lt;br /&gt;Java has three kinds of comments and they are&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;i&gt; traditional comments&lt;/i&gt;&lt;/span&gt;, &lt;span style=&quot;color: #e06666;&quot;&gt;&lt;i&gt;end-of-line comments&lt;/i&gt;&lt;/span&gt; and &lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;documentation comments&lt;/span&gt;&lt;/i&gt;. Lets see in detail about it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Traditional comments :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Traditional comments start with /* and end with */, they may span across multiple lines.Everything in between these two delimiters is ignored by the Java compiler. This type of comments was derived from C and C++.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;class Demo {&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;System.out.println(&quot;Hello World!&quot;);  /* www.java-answers.blogspot.com */&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;End-of-line comments :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;End-of-line comments start with // and extend to the end of the current line. The compiler ignores everything from // to the end of the line.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;class Demo {&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;System.out.println(&quot;Hello World!&quot;);  //www.java-answers.blogspot.com&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Documentation comments :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Documentation comments are processed by Javadoc tool to generate documentation from source files. Documentation comment is readable to both, computer and human and to start the comment, use /** instead of and end with */. The JDK javadoc tool uses doc comments when preparing automatically generated documentation.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;/**&lt;br /&gt;* Java Answers is a place to get all Java resource&lt;br /&gt;* visit www.java-answers.blogspot.com&lt;br /&gt;*/&lt;br /&gt;class Demo {&lt;br /&gt;public static void main(String[] args) {&lt;br /&gt;System.out.println(&quot;Hello World!&quot;);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is how comments are created in java and will learn more about this in next tutorial on java comments.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/59912801544268965/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/comments-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/59912801544268965'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/59912801544268965'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/comments-in-java.html' title='Comments In Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-666121333692463967</id><published>2012-01-11T00:40:00.000-08:00</published><updated>2012-01-11T00:42:24.414-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="access specifiers"/><category scheme="http://www.blogger.com/atom/ns#" term="default specifier"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="private specifier"/><category scheme="http://www.blogger.com/atom/ns#" term="protected specifier"/><category scheme="http://www.blogger.com/atom/ns#" term="public specifier"/><title type='text'>Access Specifiers In Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- Java Access Specifiers (also known as Visibility Specifiers ) regulate access to classes, fields and methods in Java.These Specifiers determine whether a field or method in a class, can be used or invoked by another method in another class or sub-class. Access Specifiers can be used to restrict access. Access Specifiers are an integral part of object-oriented programming.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Types Of Access Specifiers :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In java we have four Access Specifiers and they are listed below.&lt;br /&gt;&lt;br /&gt;1. public&lt;br /&gt;2. private&lt;br /&gt;3. protected&lt;br /&gt;4. default(no specifier)&lt;br /&gt;&lt;br /&gt;We look at these Access Specifiers in more detail.&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Sv56jrFNs6I4cs4Ms26MyUYfBEuSaVxCARSvvd4AquoTUsRVOcWSs13EJVBMeP1ae9wmEyznz6AMuQ-ppcj5xid8cCXaZwYMbfjjO4iINl5xqHergFhRPuquFI4U9cBPywn863JJrjQ/s1600/access+specifiers.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;177&quot; id=&quot;BLOGGER_PHOTO_ID_5696286764757753314&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Sv56jrFNs6I4cs4Ms26MyUYfBEuSaVxCARSvvd4AquoTUsRVOcWSs13EJVBMeP1ae9wmEyznz6AMuQ-ppcj5xid8cCXaZwYMbfjjO4iINl5xqHergFhRPuquFI4U9cBPywn863JJrjQ/s400/access+specifiers.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;public  specifiers :&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Public Specifiers achieves the highest level of accessibility. Classes, methods, and fields declared as public can be accessed from any class in the Java program, whether these classes are in the same package or in another package.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;public class Demo {  // public class&lt;br /&gt;public x, y, size;   // public instance variables&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;private  specifiers :&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Private Specifiers achieves the lowest level of accessibility.private methods and fields can only be accessed within the same class to which the methods and fields belong. private methods and fields are not visible within subclasses and are not inherited by subclasses. So, the private access specifier is opposite to the public access specifier. Using Private Specifier we can achieve encapsulation and hide data from the outside world.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;public class Demo {   // public class&lt;br /&gt;private double x, y;   // private (encapsulated) instance variables&lt;br /&gt;&lt;br /&gt;public set(int x, int y) {  // setting values of private fields&lt;br /&gt;this.x = x;&lt;br /&gt;this.y = y;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public get() {  // setting values of private fields&lt;br /&gt;return Point(x, y);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;protected  specifiers :&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Methods and fields declared as protected can only be accessed by the subclasses in other package or any class within the package of the protected members&#39; class. The protected access specifier cannot be applied to class and interfaces.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;default(no specifier):&lt;/span&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;When you don&#39;t set access specifier for the element, it will follow the default accessibility level. There is no default specifier keyword. Classes, variables, and methods can be default accessed.Using default specifier we can access class, method, or field which belongs to same package,but not from outside this package.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;class Demo&lt;br /&gt;{&lt;br /&gt;int i; (Default)&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Real Time Example :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCqa9INNfeqm_Ko8UH68zFQXKAoiq7QDHw74UZmTtpZY79tP8z9I6FTgr8S_FPLxv0NVVaL6uz9HHoFNsxIhekUp1D3sfqfg73VNKtAi6faVsbqnPHsIltuW72SAIzm2yfnQVlcRKGZ8c/s1600/access+specifer.png&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5696289350832176546&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhCqa9INNfeqm_Ko8UH68zFQXKAoiq7QDHw74UZmTtpZY79tP8z9I6FTgr8S_FPLxv0NVVaL6uz9HHoFNsxIhekUp1D3sfqfg73VNKtAi6faVsbqnPHsIltuW72SAIzm2yfnQVlcRKGZ8c/s320/access+specifer.png&quot; style=&quot;display: block; height: 235px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This are the Access Specifier in java and we will learn in detail about these Access Specifier in future chapters.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/666121333692463967/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/access-specifiers-in-java.html#comment-form' title='53 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/666121333692463967'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/666121333692463967'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/access-specifiers-in-java.html' title='Access Specifiers In Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj7Sv56jrFNs6I4cs4Ms26MyUYfBEuSaVxCARSvvd4AquoTUsRVOcWSs13EJVBMeP1ae9wmEyznz6AMuQ-ppcj5xid8cCXaZwYMbfjjO4iINl5xqHergFhRPuquFI4U9cBPywn863JJrjQ/s72-c/access+specifiers.png" height="72" width="72"/><thr:total>53</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-7063655782180367187</id><published>2012-01-10T05:06:00.000-08:00</published><updated>2012-01-10T09:59:06.340-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="create object in java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="java methods"/><category scheme="http://www.blogger.com/atom/ns#" term="java object"/><title type='text'>What Are Object And How To Create Object In Java ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- Objects are the basic run time entity or in other words object is a instance of a class. All these objects have a state and behavior.If we consider the real-world we can find many objects around us, Cars, Dogs, Humans etc. If we consider a dog then its state is name, breed, color, and the behavior is barking, wagging, running.Software objects also have a state and behavior.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating an Object :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;In java the &lt;b&gt;new&lt;/b&gt; keyword is used to create new objects.There are three steps when creating an object from a class.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Declaration :&lt;/span&gt;&lt;/i&gt; A variable declaration with a variable name with an object type.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;i&gt;Instantiation :&lt;/i&gt;&lt;/span&gt; The &#39;&lt;b&gt;new&lt;/b&gt;&#39; keyword is used to create the object.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;&lt;i&gt;Initialization :&lt;/i&gt;&lt;/span&gt; The &#39;&lt;b&gt;new&lt;/b&gt;&#39; keyword is followed by a call o a constructor. This call initializes the new object.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Syntax for creating Object :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;class_name object_name = new class_name();&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;class demo&lt;br /&gt;{&lt;br /&gt;int i=10;&lt;br /&gt;void display()&lt;br /&gt;{&lt;br /&gt;System.out.println(&quot;www.java-answers.blogspot.com&quot;);&lt;br /&gt;}&lt;br /&gt;public static void main(String args[])&lt;br /&gt;{&lt;br /&gt;demo x = new demo();&lt;br /&gt;x.display();&lt;br /&gt;System.out.println(&quot;value of i = &quot; +i);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;b&gt;Output :&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;www.java-answers.blogspot.com&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;background-color: white;&quot;&gt;value of i = 10&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Accessing Methods Using Object :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Instance variables and methods are accessed via created objects.you can learn about Methods and how to create Methods from &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/what-are-methods-in-java.html&quot;&gt;what are methods in java&lt;/a&gt; tutorial. To access a Method  from the above example should be as follows:&lt;br /&gt;&lt;br /&gt;/* First create an object */&lt;br /&gt;demo x = new demo();&lt;br /&gt;&lt;br /&gt;/* Now you can call a class method as follows */&lt;br /&gt;x.display();&lt;br /&gt;&lt;br /&gt;The above example program creates a object with name x using &#39;new&#39; keyword and after creating the object we can access the method and variable of class using this objects as shown in the above program.This is how objects are created in java.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/7063655782180367187/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-are-object-and-how-to-create.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7063655782180367187'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7063655782180367187'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-are-object-and-how-to-create.html' title='What Are Object And How To Create Object In Java ?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-1055203974494733518</id><published>2012-01-09T05:31:00.000-08:00</published><updated>2012-01-30T05:07:14.404-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="java methods"/><category scheme="http://www.blogger.com/atom/ns#" term="methods in java"/><title type='text'>What Is Java Methods ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- A Java method is a collection of statements that are grouped together to perform an operation.&lt;br /&gt;&lt;br /&gt;- A method is a set of code which is referred to by name and can be called (invoked) at any point in a program simply by utilizing the method&#39;s name.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Creating a Method :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Each method has its own name.  When that name is encountered in a program, the execution of the program branches to the body of that method.  When the method is finished, execution returns to the area of the program code from which it was called, and the program continues on to the next line of code.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Method Syntax :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;modifier returnValueType methodName(list of parameters)&lt;br /&gt;{&lt;br /&gt;// Method body;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Modifiers :&lt;/span&gt;&lt;/i&gt; The modifier, which is optional, tells the compiler how to call the method. This defines the access type of the method.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Return Type :&lt;/span&gt; A method may return a value. The returnValueType is the data type of the value the method returns. Some methods perform the desired operations without returning a value. In this case, the returnValueType is the keyword void.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Method Name :&lt;/span&gt;&lt;/i&gt; This is the actual name of the method. The method name and the parameter list together constitute the method signature.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Parameters : &lt;/span&gt;A parameter is like a placeholder. When a method is invoked, you pass a value to the parameter. This value is referred to as actual parameter or argument. The parameter list refers to the type, order, and number of the parameters of a method. Parameters are optional; that is, a method may contain no parameters.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Method Body :&lt;/span&gt; The method body contains a collection of statements that define what the method does.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Example :&lt;/b&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;// Simple Method Example&lt;br /&gt;public void test()&lt;br /&gt;{&lt;br /&gt;System.out.println(&quot;this is a simple method example&quot;);&lt;br /&gt;}&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;This is how Methods are created in java and you can know how to access Methods using Objects from &lt;a href=&quot;http://java-answers.blogspot.com/2012/01/what-are-object-and-how-to-create.html&quot; target=&quot;_blank&quot;&gt;what are objects and how to create object in java&lt;/a&gt; . we will learn different types of methods in the later tutorials of java methods.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/1055203974494733518/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-are-methods-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/1055203974494733518'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/1055203974494733518'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-are-methods-in-java.html' title='What Is Java Methods ?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-7366587945357064125</id><published>2012-01-08T20:39:00.000-08:00</published><updated>2012-01-30T05:06:52.402-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Class in java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><title type='text'>What Is A Java Class ?</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- Java Class is nothing but a template for object you are going to create (or) its a blue print by using this we create an object.&lt;br /&gt;&lt;br /&gt;- In simple words we can say its a pattern which we define and every object we define will follow the pattern. class are fundamental building.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;What does Java Class Consist :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;When you create class in java the first step is keyword &lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;class&lt;/span&gt;&lt;/b&gt; and then &lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;name&lt;/span&gt;&lt;/b&gt; of the class or &lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;identifier &lt;/span&gt;&lt;/b&gt;we can say.&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Next is class body which starts with curly braces&lt;b&gt; &lt;span style=&quot;color: #e06666;&quot;&gt;{ } &lt;/span&gt;&lt;/b&gt;and between this all things related with that class means their property and method will come here.&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;&lt;br /&gt;&lt;b&gt;Class Syntax :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&amp;lt;access specifier&amp;gt; class &amp;lt;identifier&amp;gt;&lt;br /&gt;{&lt;br /&gt;&amp;lt;member&amp;gt;&lt;br /&gt;...&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Access Specifiers Of Class :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;Java class has mainly two type of access level and they are listed below.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Default:&lt;/span&gt; &lt;/i&gt;class objects are accessible only inside the package.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Public:&lt;/span&gt;&lt;/i&gt; class objects are accessible in code in any package.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Members of Class :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;The contents of the body of a class consists of a collection of &amp;lt;members&amp;gt;.  Members consist of fields and methods.&lt;br /&gt;&lt;br /&gt;&lt;i&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Field : &lt;/span&gt;&lt;/i&gt;Things in the Java language which hold data, or hold pointers to objects are called fields.  Think of fields as variables.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;Method :&lt;/span&gt; Method is a set of statement that perform a particular task. It is similar to function is c/c++.&lt;br /&gt;&lt;br /&gt;This are basic&#39;s of Class in java and will look in detail about Class in next tutorial.&lt;/div&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/7366587945357064125/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-is-class-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7366587945357064125'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7366587945357064125'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/what-is-class-in-java.html' title='What Is A Java Class ?'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-4281271198989605763</id><published>2012-01-07T09:37:00.000-08:00</published><updated>2012-01-07T10:06:05.799-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java 2 Complete Reference"/><category scheme="http://www.blogger.com/atom/ns#" term="java books"/><title type='text'>Java 2 Complete Reference, Fifth Edition</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;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ROFuhSlTaJ_v6tFME7YhxdCEjiGURiq4Y0lU5UtOqjBXdOinJyEnO_YfTNQ7coUhdNOCmnnZlPn1QWk_osyT4-qcYL1OQGJPJKso28lPcfPugS4gdGFBTvsNwa84FbgfXSpRJCHsS5Y/s1600/Java+2+complete+reference+5e.jpg&quot;&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5694948123375336850&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ROFuhSlTaJ_v6tFME7YhxdCEjiGURiq4Y0lU5UtOqjBXdOinJyEnO_YfTNQ7coUhdNOCmnnZlPn1QWk_osyT4-qcYL1OQGJPJKso28lPcfPugS4gdGFBTvsNwa84FbgfXSpRJCHsS5Y/s320/Java+2+complete+reference+5e.jpg&quot; style=&quot;cursor: hand; cursor: pointer; display: block; height: 320px; margin: 0px auto 10px; text-align: center; width: 260px;&quot; /&gt;&lt;/a&gt;&lt;br /&gt;
This book is the most complete and up to date resource on Java from programming guru, Herb Schildt. Its the best book for beginners and who wants to learn entire concepts of core java. A must have desk reference for every Java programmer. This comprehensive resource contains everything you need to develop, compile, debug, and run Java applications and applets.&lt;br /&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;a href=&quot;http://www.box.com/s/gyxeupqv0tzdmupv5xqi&quot;&gt;Download&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/4281271198989605763/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/java-2-complete-reference-fifth-edition.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/4281271198989605763'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/4281271198989605763'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/java-2-complete-reference-fifth-edition.html' title='Java 2 Complete Reference, Fifth Edition'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg6ROFuhSlTaJ_v6tFME7YhxdCEjiGURiq4Y0lU5UtOqjBXdOinJyEnO_YfTNQ7coUhdNOCmnnZlPn1QWk_osyT4-qcYL1OQGJPJKso28lPcfPugS4gdGFBTvsNwa84FbgfXSpRJCHsS5Y/s72-c/Java+2+complete+reference+5e.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-3208482801645255123</id><published>2012-01-06T00:33:00.000-08:00</published><updated>2012-01-06T00:39:10.903-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Concepts of OOPS"/><category scheme="http://www.blogger.com/atom/ns#" term="OOPS"/><category scheme="http://www.blogger.com/atom/ns#" term="OOPS in Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Properties of OOPS"/><title type='text'>OOPS And Its Concepts Or Properties In Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Definition :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
OOPS stands for Object Oriented Programming.Object Oriented Programming is the technique to create programs based on the real world. Unlike procedural programming, here in the OOP programming model programs are organized around objects and data rather than actions and logic.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;OOPS Concept :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
OOPS reduce the code of the program because of the extensive Properties.OOPS&lt;br /&gt;
Properties or Concepts are mainly 4 and they are listed below.&lt;br /&gt;
&lt;br /&gt;
1.Encapsulation&lt;br /&gt;
2.Abstraction&lt;br /&gt;
3.Inheritance&lt;br /&gt;
4.Polymorphisam&lt;br /&gt;
&lt;br /&gt;
lets see in detail about the concepts of OOPS.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1. Encapsulation :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
It is a process of binding or wrapping the data and the codes that operates on the data into a single entity. This keeps the data safe from outside interface and misuse. One way to think about encapsulation is as a protective wrapper that prevents code and data from being arbitrarily accessed by other code defined outside the wrapper. Idea of encapsulation is to hide how a class does it but to allow requesting what to do.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Example : Medical Capsuals&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;i.e one drug is stored in Bottom&amp;nbsp;layer and another drug is stored in Upper layer these two layers are combined in single capsual.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2. Abstraction :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;326&quot; id=&quot;BLOGGER_PHOTO_ID_5694253825832241666&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJFGpQpZXIU-NDRKLonm3XAzC0DFZjCuV_k3uIoSWSP1rITyClrWvrvZkV8GICjLJcDMsU20CbaYT5yGKaL0b4a45EYJmg8Yjp0fcZfoJ20URAvGuhV28IgaJuNDoa0SlsMRIRYYaVAYQ/s400/encapsulation.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;400&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
Hiding non-essential features and showing the essential features&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; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; (or)&lt;br /&gt;
&lt;br /&gt;
Hiding unnecessary data from the users details,is called abstraction.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Example: TV Remote Button&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
i.e In TV Remote there are numbers, power and other buttons. We can just see those buttons,we don&#39;t see the button circuits and wirings.so non-essential features are hidden from the user.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3. Inheritance :&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5694259185522407314&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvHtmx8G3NITjMx0P3WsqWss5ykxc9ho8WdWO_ecgM8LbqWZRNFB7G5H4oSb8F9sEPY6okwnbdTLz2JCYTN07SfuZ13S7QLlT0Ss6W8DQ3AXj4NclKAAgvC5CfSe6_0SoLxPR0XE2fdbA/s1600/inheritance1.gif&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
creating a new class from existing class is called Inheritance.reusability is main advantage in inheritance.The new classes, known as derived classes take over (or&lt;br /&gt;
inherit) attribute and behavior of the pre-existing classes,which are referred to as base classes (or Parent classes).&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #ea9999;&quot;&gt;&lt;b&gt;Example : Father and Son Relationship&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4.Polymorphisam :&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5694263175319609202&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhZo6eQmDU542LjBS_MYB8fBkRv-WH78wESYe5NDXh3OCfm82bQq2yoDjYF_g_ThyphenhyphenhklZLZg1reAefyb1hHTKwFpmtxr4dEavs31TSHTZPWJSni-a35vgU8d6Qs0XOnuYHAo65-VVjyoog/s1600/oop_shape.png&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;br /&gt;
&lt;br /&gt;
The ability to take more than one form. The abiltiy to define more than one function with the same name is called Polymorphism. In java there are two type of polymorphism.&lt;br /&gt;
&lt;br /&gt;
a) compile time polymorphism (overloading)&lt;br /&gt;
b) runtime polymorphism (overriding).&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
This are the 4 main Properties or Concepts of OOPS. You can leave a comment if you have doubt in it.&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/3208482801645255123/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/oops-and-its-concepts-or-properties-in_06.html#comment-form' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3208482801645255123'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/3208482801645255123'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/oops-and-its-concepts-or-properties-in_06.html' title='OOPS And Its Concepts Or Properties In Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiJFGpQpZXIU-NDRKLonm3XAzC0DFZjCuV_k3uIoSWSP1rITyClrWvrvZkV8GICjLJcDMsU20CbaYT5yGKaL0b4a45EYJmg8Yjp0fcZfoJ20URAvGuhV28IgaJuNDoa0SlsMRIRYYaVAYQ/s72-c/encapsulation.png" height="72" width="72"/><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-5747611861050957683</id><published>2012-01-05T13:49:00.003-08:00</published><updated>2012-02-17T08:12:42.140-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Hello world Java program"/><category scheme="http://www.blogger.com/atom/ns#" term="Program"/><category scheme="http://www.blogger.com/atom/ns#" term="Simple Java Program"/><title type='text'>Simple Hello World Java Program</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;font-weight: normal; text-align: left; &quot; trbidi=&quot;on&quot;&gt;This is a very simple Java program for beginners.To create a Hello World Program we need to write codes which are shown below in notepad and save it with the name HelloWorld.java. It must be sure that the file name must match the name of the class.You have to pay attention that this naming convention is &lt;i&gt;CASE SENSITIVE&lt;/i&gt; it means that naming your file into helloworld.java &lt;i&gt;WON&#39;T&lt;/i&gt; work.&lt;br /&gt;&lt;br /&gt;&lt;pre class=&quot;java&quot; name=&quot;code&quot;&gt;&lt;br /&gt;class HelloWorld&lt;br /&gt;{&lt;br /&gt;public static void main(String args[])&lt;br /&gt;{&lt;br /&gt;System.out.println(&quot;Hello World!&quot;);&lt;br /&gt;}&lt;br /&gt;}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-weight: bold;&quot;&gt;How to Compile and Run Your Program :&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #e06666; font-size: large;&quot;&gt;javac HelloWorld.java&lt;/span&gt;&lt;/b&gt; command is used to compile the source code. A compiler is an application that translates programs from the Java language to a language more suitable for executing on the computer(byte-codes. It takes a text file with the .java extension as input (your program) and produces a file with a .class extension (the computer-language version).&lt;br /&gt;&lt;br /&gt;Once you compile your program, you can run it.&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #e06666; font-size: large;&quot;&gt;&lt;b&gt;java HelloWorld&lt;/b&gt;&lt;/span&gt; command can execute the byte code in the Java interpreter.Notice that there is no .class extension on it.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Output :&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5694269217872007890&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl-NZJYRRIQlc_WOtUjPjn9IN3cVEnvEkngqyuhk5spXQ2Hp0qqgOHJaI2YSaoZkwcXoxC-5_ZGpsRwC4NEL3hvy7NG6awD3Kx-N9K9fLPfap7zpbujaxH-3ueml8pa6qqSGB8N02e0SA/s1600/helloworld.gif&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Understanding the program :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;- &lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;class HelloWorld&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;Class is the basic building block of the java program, java codes are written in the java class.Here HelloWorld is the name of Class and you can Use Any name.&lt;br /&gt;&lt;br /&gt;- &lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;public static void main (String args[])&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This is necessary to for any class to be runnable. This function is the entry point of the execution.&lt;br /&gt;&lt;br /&gt;public - This access modifier makes this method accessible everywhere.&lt;br /&gt;static - It will make this main method invokable without creating an instance of this class.&lt;br /&gt;void - void declares that the method does not return any value.&lt;br /&gt;main - it is a thread which the JVM looks first and is the entry point for the program&lt;br /&gt;String args[] - declares a parameter named args, which is an array of instances of the class String.&lt;br /&gt;&lt;br /&gt;- &lt;i&gt;&lt;b&gt;&lt;span style=&quot;color: #e06666;&quot;&gt;System.out.println(&quot;Hello World!&quot;);&lt;/span&gt;&lt;/b&gt;&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This command is used to print some text on the screen.The text has to be surrounded by the double quotes. In this case, &quot;Hello World!&quot; is being printed. Remember that almost every command in Java ends with a semicolon(;).&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/5747611861050957683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/simple-hello-world-java-program.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/5747611861050957683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/5747611861050957683'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/simple-hello-world-java-program.html' title='Simple Hello World Java Program'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjl-NZJYRRIQlc_WOtUjPjn9IN3cVEnvEkngqyuhk5spXQ2Hp0qqgOHJaI2YSaoZkwcXoxC-5_ZGpsRwC4NEL3hvy7NG6awD3Kx-N9K9fLPfap7zpbujaxH-3ueml8pa6qqSGB8N02e0SA/s72-c/helloworld.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-5860630901792696462</id><published>2012-01-03T09:12:00.000-08:00</published><updated>2012-02-09T18:26:37.135-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="set path for java"/><title type='text'>Tutorial To Set Path For Java In Windows</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: 100%;&quot;&gt;This Tutorial is about how to set a path for java in windows operating system. You need to install java first to set a path. You can get details of how to install java from &lt;/span&gt;&lt;a href=&quot;http://java-answers.blogspot.com/2012/01/tutorial-to-download-and-install-java.html&quot; target=&quot;_blank&quot; style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Tutorial To Download And Install Java In Windows &lt;/a&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;. Now After installing java go to &lt;/span&gt;&lt;span style=&quot;color: rgb(224, 102, 102); font-size: large; font-weight: bold; &quot;&gt;C Drive -&amp;gt; Program Files -&amp;gt; Java &lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;and follow the below steps&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;360&quot; id=&quot;BLOGGER_PHOTO_ID_5693458725072423042&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXepEtQdzBwKNNfaj5qM0VmOORlQUCRkEiA65DVumqLKGwwD5SioatIykOtn_xFwimjQecbmfjGiIFXl8o_quNYvWJ6O7CbItIO219zxjeIGPVnpGj-TfV2edPEPy7E8wQA_bYQdKtz8o/s640/java+path.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;366&quot; id=&quot;BLOGGER_PHOTO_ID_5693458727043510178&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi5VGrgZJrqNbJTyR9tNqmVzeKQzzuSTgfsE6tKhSf8Ib432tiu6EV0DOCXvRZDGrLD4wM6YnMe2B7O1T6x1gYxGi-jyhr3aLVPtKHZ9cZEgesmZ86wFN7X3EHnSZfnBsmkzejF23XtpOI/s640/java+path1.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;361&quot; id=&quot;BLOGGER_PHOTO_ID_5693458727883472146&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi6J9z2pPqglr2_XnsjfmHcw2qjPO0a9kaMRPXTgNBW6A6iPFdgr_mV1BkAiSB9Id2v922ToKq8nEdy_qHKaD8lU4jWqSL_KRzDW7Ji1c0ad3IhTUDq0Xw3IvhxEjAll9QKDjimndFilMU/s640/java+path2.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;310&quot; id=&quot;BLOGGER_PHOTO_ID_5693458736967191074&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhf0FrVDRMBUQtu2P58oaLfGA0wqPQD1RO1In50qWf1NcqyPszFRNkVTcFYtwGzIhfCEyT0PSbI-fhmbdkczbeYyWJ97KfJ4q4E-jC_v-qtNjRG9nnBXUOKqE4lL_aiApWTILZxwLX5Gaw/s640/java+path3.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;340&quot; id=&quot;BLOGGER_PHOTO_ID_5693458740425227138&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh06CZirc6_OQ0JzNy5IpwB1KFz8I2yZJkQun2-GTPrDyEPDUweeT53HFGMFO1mHPmqfErWp7UhV2ZfNwlQcnTISxzmtDek3jGn-gJqjC_x1CL2RheN1aFlvij7e3aykPuWP7FQIC-Jmxw/s640/java+path4.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;443&quot; id=&quot;BLOGGER_PHOTO_ID_5693459042013459346&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEibsiw-QR_cshmL8yB7BIzTEAZxord8a0XtVfUR_7EWytKyRNrA6cMqXhkOVcSA8szAOMPNGpBgbVmdTdZBG15BPGZPOFmcSBaOJp2soxIpPU5n2GfBrsr8AuHTMitROQc4fPJjTFFWdBA/s640/java+path5.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;431&quot; id=&quot;BLOGGER_PHOTO_ID_5693459048434511170&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUwF084KFg-5ppl7xcwgOmfVusYUG-yi3g5q9nh4J1-Ut9U5RZ5_S49PyVRfwaQEQgwfs6FU-X8Od4YG-NoZLoxPNLXtglgY3NDtSG332G_SPFo3Xtem7kYuMgrEa4UBA9xO7QGuIJi8w/s640/java+path6.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;When you click on &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;New&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; then you will get option asking &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable name&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; and &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable value&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; in it. You can write any &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable name&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; but you need to paste the path which you have copied earlier in to &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable value&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; and click OK as shown in below image.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5693459051247380738&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg5CJfH4Y6lDD7W01nzPN6Qut-W1cCupykV6wJ_xFFhpmhzTAutGkQJJ5nnzNmLGmuwAQfFSbwPNVF2mlxVpKHEDfRptTnJ6M7l6qB8YTbX7re0oSF9MLLrRndRCe-jTawlPQqJsKoQKvM/s1600/java+path7.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5693459056404886242&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEieTqmbi_31yjOrKfwsmYQUXcFd-WcwGZkyNLJduULI6HpxKE87wmoXMv5jhuAA3xlyRclywz-OQ8HEIdFerPj__B6LIaPE9LIdRJbolvq9j3ZEYakhH1nXJ_K72F1D4lglIl0AAB4ZDWw/s1600/java+path8.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;After clicking &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;New&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; in top of window you will need to write &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable name&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; and &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;Variable value&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; again as shown in the below image.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5693459065146404466&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj8YNG2x1NFKL3DxEOgGPiMKMrijBIp5JnIxG72U0EIFsFfTB08UwlIb9kEOKjiLDEKt5sjaLw2yvParPJ2U5KzX7P5e97NxXVPanGqCJ56Jgy93svQhQh_OR6mmAtqYcGpj1Sh66P61OA/s1600/java+path9.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%; margin-left: auto; margin-right: auto; &quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; id=&quot;BLOGGER_PHOTO_ID_5693459189299821186&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixDwolxk7mYnxMhWmIblNN7WdEjixTXAlBFIN63mSZdjaDEwYvzWSSsCR0DaYhX8ckkuiJE4mo04TPBvmrJMT6z60hRvsqwyzKCnqatfb2WubsAmizRaO6ITDrSR3gURbjdpyq400j4Ho/s1600/java+path10.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; /&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;clicking on &lt;/span&gt;&lt;b style=&quot;font-size: 100%; font-weight: normal; &quot;&gt;OK&lt;/b&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt; Java path will be successfully set on your windows and hope this tutorial will help you all and also visit&lt;/span&gt;&lt;span &gt;&lt;a href=&quot;http://java-answers.blogspot.in/2012/02/video-tutorial-to-set-path-for-java-in.html&quot; style=&quot;font-weight: bold; &quot;&gt; Video Tutorial To Set Path For Java In Windows Operating System&lt;/a&gt;&lt;b&gt; &lt;/b&gt;to see the video tutorial of it.&lt;/span&gt;&lt;span style=&quot;font-size: 100%;&quot;&gt;  If you have any doubts in it you can leave a comment or contact me through email.&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/5860630901792696462/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/tutorial-to-set-path-for-java-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/5860630901792696462'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/5860630901792696462'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/tutorial-to-set-path-for-java-in.html' title='Tutorial To Set Path For Java In Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgXepEtQdzBwKNNfaj5qM0VmOORlQUCRkEiA65DVumqLKGwwD5SioatIykOtn_xFwimjQecbmfjGiIFXl8o_quNYvWJ6O7CbItIO219zxjeIGPVnpGj-TfV2edPEPy7E8wQA_bYQdKtz8o/s72-c/java+path.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-878206140219763976</id><published>2012-01-03T07:19:00.000-08:00</published><updated>2012-01-03T09:26:05.973-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Install Java"/><category scheme="http://www.blogger.com/atom/ns#" term="Java Tutorial"/><title type='text'>Tutorial To Download And Install Java In Windows</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;This Tutorial is about how to download and install java in windows operating system. Following the below image tutorial you will successfully install java. Hope this tutorial will help you and if any doubts in it you can leave a comment.&lt;br /&gt;&lt;br /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;308&quot; id=&quot;BLOGGER_PHOTO_ID_5693426046249273922&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjifYu0mVuJBS42SMbGnGcv56Ybq7LhA6gNJf7pja31YN5v_4hDveFab2Z0ERyKi3289o3uS8LSIugrM-8ImDV1DBlgDRCm8T6iVIVitE0LE1JsVy1BOuWitw3ux5Qjn_59SxwKyw9tRB0/s640/install+java.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;446&quot; id=&quot;BLOGGER_PHOTO_ID_5693427009096406962&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhvreFO8_r_OJVG6De3oCpWdzF7DmND5XbRj1HK0wSkBrMzJi8gdKMXCaAjW-PHC7icMiZsif7Qkr86ZhNd4pwzykzq6kXUaH3WcEPPpBlb0PpLBG4YNo1P3irXS8jITeClAaxh-WEH-0U/s640/install+java1.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;399&quot; id=&quot;BLOGGER_PHOTO_ID_5693431517508993330&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh-3aojcLBNv10WLv5m9Kk1Q7idm9xIUmW3NrAg4lBOL7nP0nRFBaPuVXpTHfY-7nQjq860gPC3p3jfrt3Dqy51a771ZwEpXlz2FsGfeXkuD-dBeRf6AfbrvQHF7jWWcVZmlHmkEp0HPXI/s640/install+java2.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;490&quot; id=&quot;BLOGGER_PHOTO_ID_5693431519551445282&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS0YTphZFtOAyjwWWITxeXcZXRE6VFVXSHlkiPksGO6FMyLmLDbpwbgFomxgWwlBDJZfTdju8v-S_utOCaj0SGl-27F60aWB8m6h90AATHmdlj1-539KoAUfoVHVdtmWvKQnCz9P9Coh8/s640/install+java4.jpg&quot; style=&quot;display: block; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;486&quot; id=&quot;BLOGGER_PHOTO_ID_5693431518324756338&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhM_XwVkr0A8raQTXt2CSqS3I1kpP7NyAe8us3vawmjRAfYLyEEV_upjeMw1C07JRjd2aCDtTumD_mES1KAJCUv6rbDyvg5cotynIFqPbzsnzjKla987USTpMMCyNwfT0uEx1-AWUWGpwk/s640/install+java5.jpg&quot; style=&quot;display: block; height: 243px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;494&quot; id=&quot;BLOGGER_PHOTO_ID_5693431527587784642&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgKXFOYMEOWs3eSFZC2SkJZyayKRjvS7xCHer13Bd3jmwfGWzvENiucAuYY1A44Bxyom_rUMNFHZq8QSENEqT3Iil-UOHZmZRrGUUGUcyFBaj2V7qa_Y1bofa0HSXnSIoCXjJ-WIz-rZAE/s640/install+java6.jpg&quot; style=&quot;display: block; height: 247px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;490&quot; id=&quot;BLOGGER_PHOTO_ID_5693431534277970914&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjcAHBcODPGinAnbeGngjE8Hl1JS9PESebbBSsimDtcueVDEYqd3iU5iZzqz99qHtzOX0zK4CQCBvPIsNDdlBfVpAdt7HZ7ZtJd3OH7fXZjZ4POP7kTPNkjaCB0jObMLXu8sHVfrGyhXfI/s640/install+java7.jpg&quot; style=&quot;display: block; height: 245px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;490&quot; id=&quot;BLOGGER_PHOTO_ID_5693431752509183442&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO1mqDUVIcZCTKY12HlZCpVNfzvA3bWaDSKmCt_wUuja8arofVEfR7fLyn6IcQuDCf3X1GmEHC4jDnFtXcw7YzWkLM0ZQI_-iDy49LZClNSKqJHPxlOTxfkuRJvxHCOdUvFl-7Ahr-Uk0/s640/install+java8.jpg&quot; style=&quot;display: block; height: 245px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;490&quot; id=&quot;BLOGGER_PHOTO_ID_5693431757026663010&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjTlIkTt1cq3aXLtl91Y3ffPdSEzr7kOxPZVr7aoL3lQIZLaY664Yg1xhbLvirap3a4QBEFVDMTahxcT7pztN1tf9BpafzAruYjSJFeJCDami8cEYIqK21_nuPf_8qTBT5SfBLM-9R1As8/s640/install+java9.jpg&quot; style=&quot;display: block; height: 245px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;494&quot; id=&quot;BLOGGER_PHOTO_ID_5693431756488610434&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2WHRSM6VXyEiBQ0mxOnfxkn4g98pOZyAhQRNEce5ZwdMIQVh-TLS8q4jE7aB9LqpUU3iW6GXdbrk3W1LxnM44FsEDJ0S14_FlsqeV1_fQ7znGkSsVf11RQwUaoAsFwMkKekPcmTYi4y8/s640/install+java10.jpg&quot; style=&quot;display: block; height: 247px; margin-bottom: 10px; margin-left: auto; margin-right: auto; margin-top: 0px; text-align: center; width: 320px;&quot; width=&quot;640&quot; /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/878206140219763976/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/tutorial-to-download-and-install-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/878206140219763976'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/878206140219763976'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/tutorial-to-download-and-install-java.html' title='Tutorial To Download And Install Java In Windows'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjifYu0mVuJBS42SMbGnGcv56Ybq7LhA6gNJf7pja31YN5v_4hDveFab2Z0ERyKi3289o3uS8LSIugrM-8ImDV1DBlgDRCm8T6iVIVitE0LE1JsVy1BOuWitw3ux5Qjn_59SxwKyw9tRB0/s72-c/install+java.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-8347104072367145128.post-7126954919561096544</id><published>2012-01-03T04:20:00.000-08:00</published><updated>2012-01-04T03:34:01.949-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="introduction to java"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><title type='text'>Introduction To Java</title><content type='html'>&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwtnfnSB0bfkTEcV1f__jib49lVflvnPE7iG0cyAbOqMuFfkBzIe5m1kJjmXB2AxPlJiQkYIK2yxcg_6dHAsMs3q_l3SD5Om6Eeg54rCl5QPq2eWgO7JRFuMrabR3U5cIz6Q4Jj7MSdRc/s1600/java-logo.jpg&quot;&gt;&lt;img style=&quot;display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 197px;&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwtnfnSB0bfkTEcV1f__jib49lVflvnPE7iG0cyAbOqMuFfkBzIe5m1kJjmXB2AxPlJiQkYIK2yxcg_6dHAsMs3q_l3SD5Om6Eeg54rCl5QPq2eWgO7JRFuMrabR3U5cIz6Q4Jj7MSdRc/s320/java-logo.jpg&quot; border=&quot;0&quot; alt=&quot;&quot; id=&quot;BLOGGER_PHOTO_ID_5693380286469829234&quot; /&gt;&lt;/a&gt;&lt;b&gt;History :&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;&lt;div&gt;Java is a programming language created by James Gosling from Sun Microsystems(which is now a subsidiary of Oracle Corporation) in 1991.The language was initially called Oak after an oak tree that stood outside Gosling&#39;s office, and was later renamed Java, from a list of random words.The first public available version of Java (Java 1.0) was released 1995. Over time several version of Java were released which enhanced the language and its libraries. The current version of Java is Java 1.6 also known as Java 6.0.&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Overview :&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;1. The Java programming language consists out of a Java compiler, the Java virtual machine, and the Java class libraries. The Java virtual machine (JVM) is a software implementation of a computer that executes programs like a real machine.&lt;br /&gt;2. The Java compiler translates Java coding into so-called byte-code. The Java virtual machine interprets this byte-code and runs the program.&lt;br /&gt;3. The Java virtual machine is written specifically for a specific operating system.&lt;br /&gt;4. The Java runtime environment (JRE) consists of the JVM and the Java class libraries.&lt;br /&gt;5. Java is an object-oriented programming language and much of the syntax of Java is the same as C and C++. One major difference is that Java does not have pointers.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-answers.blogspot.com/feeds/7126954919561096544/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://java-answers.blogspot.com/2012/01/introduction-to-java.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7126954919561096544'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/8347104072367145128/posts/default/7126954919561096544'/><link rel='alternate' type='text/html' href='http://java-answers.blogspot.com/2012/01/introduction-to-java.html' title='Introduction To Java'/><author><name>Unknown</name><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwtnfnSB0bfkTEcV1f__jib49lVflvnPE7iG0cyAbOqMuFfkBzIe5m1kJjmXB2AxPlJiQkYIK2yxcg_6dHAsMs3q_l3SD5Om6Eeg54rCl5QPq2eWgO7JRFuMrabR3U5cIz6Q4Jj7MSdRc/s72-c/java-logo.jpg" height="72" width="72"/><thr:total>1</thr:total></entry></feed>