Sei sulla pagina 1di 4

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.

or
g/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xht
ml" lang="en-US"><head profile="http://gmpg.org/xfn/11"><title>Java Tutorial &#8
211; 01 &#8211; Introduction - Programming Video Tutorials</title><meta http-equ
iv="Content-Type" content="text/html; charset=UTF-8" /><meta name="robots" conte
nt="all" /><meta name="revisit-after" content="30 days" /><meta name="generator"
content="WordPress 1394" /><meta http-equiv="imagetoolbar" content="no" /><link
rel="stylesheet" href="http://d3qzmfcxsyv953.cloudfront.net/css/style-v013.css"
type="text/css" media="screen" /><link rel="alternate" type="application/rss+xm
l" title="Programming Video Tutorials RSS Feed" href="http://www.pvtuts.com/feed
" /><link rel="pingback" href="http://www.pvtuts.com/xmlrpc.php" /><link rel="sh
ortcut icon" href="http://d3qzmfcxsyv953.cloudfront.net/images/pvt-favicon.ico"
/><link rel="alternate" type="application/rss+xml" title="Programming Video Tuto
rials &raquo; Java Tutorial &#8211; 01 &#8211; Introduction Comments Feed" href=
"http://www.pvtuts.com/java/java-introduction/feed" /><script type='text/javascr
ipt' src='http://www.pvtuts.com/wp-includes/js/comment-reply.min.js?ver=3.5.1'><
/script><link rel='prev' title='SQL Tutorial &#8211; 08 &#8211; Transaction' hre
f='http://www.pvtuts.com/sql/sql-transaction' /><link rel='next' title='Java Tut
orial &#8211; 02 &#8211; Hello World' href='http://www.pvtuts.com/java/java-hell
o-world' /><link rel='shortlink' href='http://wp.me/pCIus-3M' /><link rel="canon
ical" href="http://www.pvtuts.com/java/java-introduction" /> <style type="text/c
ss">.preload{background:url(http://d3qzmfcxsyv953.cloudfront.net/images/bg.png)
no-repeat -9999px -9999px;background:url(http://d3qzmfcxsyv953.cloudfront.net/im
ages/icons-5.png) no-repeat -9999px -9999px;background:url(http://d3qzmfcxsyv953
.cloudfront.net/images/bg-vertigon.png) no-repeat -9999px -9999px;background:url
(http://d3qzmfcxsyv953.cloudfront.net/images/bg-line.png) no-repeat -9999px -999
9px;background:url(http://d3qzmfcxsyv953.cloudfront.net/images/buttons-4.png) no
-repeat -9999px -9999px}.note-button{-moz-box-shadow:inset 0px 1px 0px 0px #fff;
-webkit-box-shadow:inset 0px 1px 0px 0px #fff;box-shadow:inset 0px 1px 0px 0px #
fff;background:-webkit-gradient( linear, left top, left bottom, color-stop(0.05,
#ededed), color-stop(1, #dfdfdf) );background:-moz-linear-gradient( center top,
#ededed 5%, #dfdfdf 100% );filter:progid:DXImageTransform.Microsoft.gradient(st
artColorstr='#ededed', endColorstr='#dfdfdf');background-color:#ededed;-moz-bord
er-radius:5px;-webkit-border-radius:5px;border-radius:5px;border:1px solid #dcdc
dc;display:inline-block;color:#333;font-family:arial;font-size:10px;font-weight:
bold;padding:1px 10px;text-decoration:none;text-shadow:1px 1px 0px #fff}.note-bu
tton:hover{background:-webkit-gradient( linear, left top, left bottom, color-sto
p(0.05, #dfdfdf), color-stop(1, #ededed) );background:-moz-linear-gradient( cent
er top, #dfdfdf 5%, #ededed 100% );filter:progid:DXImageTransform.Microsoft.grad
ient(startColorstr='#dfdfdf',endColorstr='#ededed');background-color:#dfdfdf;tex
t-decoration:none}.note-button:active{position:relative;top:1px}</style></head><
body><div id="doc" class="preload"><div id="header"><strong><a href="http://www.
pvtuts.com">Programming Video Tutorials</a></strong></div><div id="content-large
"><div id="pathway_outer"><div id="pathway_inner"><div id="nav-path"> <a href="h
ttp://www.pvtuts.com">Home</a> &gt; <a href="http://www.pvtuts.com/java" title="
View all posts in Java" rel="category tag">Java</a> &gt; 01 &#8211; Introduction
</div><form action="/search" id="searchform"><input type="hidden" name="cx" valu
e="008968784452756630239:v9knzpefzxk" /> <input type="hidden" name="cof" value="
FORID:11" /> <input type="hidden" name="ie" value="UTF-8" /> <input class="text"
style="padding:1px 0 0 14px; width:120px;" type="text" name="q" value="Search..
." onblur="if(this.value=='') this.value='Search...';" onfocus="if(this.value=='
Search...') this.value='';" /> <input class="submit" type="submit" name="sa" val
ue="Search" /></form><div id="buttons"><ul id="mainlevel-nav"><li style="borderright: 1px solid #cccccc;"><a href="http://www.pvtuts.com/contact">Contact</a></
li><li><a href="http://www.pvtuts.com/about-pvt">About</a></li><li><a href="http
://www.pvtuts.com/feed">Feed</a></li></ul></div></div></div><div class="clear"><
/div><div class="clear"></div><div class="subcontent"> <strong>News &amp; Update
s</strong><ul class="link-list cat"><li><a href="http://www.pvtuts.com" title="P
VT News">PVT News</a></li><li><a rel="author" href="http://www.webenterpriser.co
m" title="Siforia's work blog">My Blog</a></li></ul><strong>Programming</strong>

<ul class="link-list cat"><li><a href="http://www.pvtuts.com/csharp/csharp-intro


duction" title="C# tutorial">C#</a></li><li><a href="http://www.pvtuts.com/cpp/c
pp-introduction" title="C++ tutorial">C++</a></li><li class="current-cat"><a hre
f="http://www.pvtuts.com/java/java-introduction" title="Java tutorial">Java</a><
/li><li><a href="http://www.pvtuts.com/sql/sql-introduction" title="SQL tutorial
">SQL</a></li></ul><strong>Web programming</strong><ul class="link-list cat"><li
><a href="http://www.pvtuts.com/aspnet/aspnet-introduction" title="ASP.NET tutor
ial">ASP.NET</a></li><li><a href="http://www.pvtuts.com/css/css-introduction" ti
tle="CSS tutorial">CSS</a></li><li><a href="http://www.pvtuts.com/html/html-intr
oduction" title="HTML tutorial">HTML</a></li><li><a href="http://www.pvtuts.com/
javascript/javascript-introduction" title="JavaScript tutorial">JavaScript</a></
li><li><a href="http://www.pvtuts.com/php/php-introduction" title="PHP tutorial"
>PHP</a></li><li><a href="http://www.pvtuts.com/xml/xml-introduction" title="XML
tutorial">XML</a></li></ul><strong>Store</strong><ul class="link-list cat"><li>
<a href="http://www.programmingvideotutorials.com/store" title="Siforia Book Sto
re">Book Store</a></li><li><a href="http://www.programmingvideotutorials.com/mer
chandise" title="Siforia Merchandise Store">Merchandise Store</a></li></ul><div
class="center"> <a href="http://www.siforia.com/handbook-of-java-syntax"><img al
t="[Affiliate link] Handbook of Java Syntax" src="http://d3qzmfcxsyv953.cloudfro
nt.net/images/books/handbook-of-java-syntax-ecover-small.png" border="0"/></a><d
iv style="font-size:110%; margin-bottom:10px"><a href="http://www.siforia.com/ha
ndbook-of-java-syntax">Print</a> | <a href="http://www.siforia.com/handbook-of-j
ava-syntax-kindle">Kindle</a> | <a href="http://www.siforia.com/handbook-of-java
-syntax-epub">Epub</a></div></div><strong>My Projects</strong><div class="textwi
dget"><div class="buttons" style="width:155px"><div class="button-row"><a href="
http://www.handbook-of-success.com" title="Handbook of Success"><span class="hos
left"></span></a><a href="http://www.pro-webmarketing.com" title="Pro-WebMarket
ing"><span class="pwm left"></span></a></div><div class="button-row"><a href="ht
tp://www.renewable-energy-alternatives.com" title="Renewable Energy Alternatives
"><span class="rea left"></span></a><a href="http://www.thepuaschool.com" title=
"The PUA School"><span class="tps left"></span></a></div></div><strong>Links</st
rong><div class="buttons" style="width:155px"><div class="button-row"><a href="h
ttp://www.webenterpriser.com" title="Visit my Blog"><span class="blog left"></sp
an></a><a href="http://www.siforia.com" title="Visit Siforia"><span class="sifor
ia left"></span></a></div><div class="button-row"><a href="http://twitter.com/Si
foria" title="Follow me on Twitter"><span class="twitter left"></span></a><a hre
f="http://www.facebook.com/pages/Siforia/244785125539563" title="Follow me on Fa
cebook"><span class="facebook left"></span></a></div><div class="button-row"><a
href="http://www.webenterpriser.com/feed" title="Subscribe to my blog's RSS Feed
"><span class="rss left"></span></a><a href="http://www.youtube.com/ProgrammingV
ideos" title="Subscribe on YouTube"><span class="youtube left"></span></a></div>
</div></div> <strong>Affiliates</strong><div class="textwidget"><div class="cent
er small-top-margin"><div style="margin-bottom: 10px"><a href="http://www.progra
mmingvideotutorials.com/lynda" target="_blank"><img src="http://d3qzmfcxsyv953.c
loudfront.net/images/pvt-affiliates/lynda.png" alt="" border="0" title="[Affilia
te link] Lynda" /></a></div></div></div></div><div id="maincontent"><div class="
post" id="post-234"><h1><a class="title" href="http://www.pvtuts.com/java/java-i
ntroduction" rel="bookmark">Java Tutorial &#8211; 01 &#8211; Introduction</a></h
1><div class="clear"></div> <iframe id="player" width="640" height="385" src="ht
tp://www.youtube.com/embed/NLxbCM4wugs?modestbranding=1&amp;theme=light&amp;show
info=0" frameborder="0"></iframe><div class="clear"></div><div id="ad-top"><scri
pt type="text/javascript"><!-google_ad_client = "ca-pub-1715994754199783"; google_ad_slot = "399060925
8"; google_ad_width = 468; google_ad_height = 60;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndicati
on.com/pagead/show_ads.js"></script></div><div class="clear"></div><div class="e
ntry"><p>Java is a high-level object-oriented programming language developed by
Sun Microsystems, which became part of Oracle Corporation in 2010. The language
is very similar to C++, but has been simplified to make it easier to write bug f

ree code. Most notably, there are no pointers in Java, instead all memory alloca
tion and deallocation is handled automatically.</p><p>Despite simplifications li
ke this Java has considerably more functionality than both C and C++, due to its
large class library. Java programs also have high performance and can be made v
ery secure, which has contributed to making Java the most popular general purpos
e programming language in use today.</p><p>Another key feature of Java is that i
t is platform independent. This is achieved by only compiling programs half-way,
into platform independent instructions called bytecode. The bytecode is then in
terpreted, or run, by the Java Virtual Machine (JVM). This means that any system
that has this program and its accompanying libraries installed can run Java app
lications.</p><p>There are three class libraries available for the Java programm
ing language: Java ME, Java SE and Java EE. Java ME (Mobile Edition) is a stripp
ed down version of Java SE (Standard Edition), while Java EE (Enterprise Edition
) is an extended version of Java SE that includes libraries for building web app
lications.</p><p>The Java language and class libraries have undergone major chan
ges since their initial release in 1996. The naming conventions for the versions
have gone through a few revisions as well. The major releases include: JDK 1.0,
JDK 1.1, J2SE 1.2, J2SE 1.3, J2SE 1.4, J2SE 5.0, Java SE 6 and Java SE 7, which
is the current version.</p><p>After J2SE 1.4 the version number was changed fro
m 1.5 to 5.0 for marketing reasons. As of J2SE 5.0, there is one version number
for the product and another one used internally by the developers. J2SE 5.0 is t
he product name, while Java 1.5 is the developer version. Similarly, Java SE 7 i
s the product and Java 1.7 the internal version number. For simplicity&#8217;s s
ake, the Java versions will be referred to as Java 1-7 in this tutorial. Note th
at Java is designed to be backwards compatible. Thus the Virtual Machine for Jav
a 7 can still run Java 1 class files.</p></div><div class="left affiliate">Recom
mended additional reading:<br/><a href="http://www.amazon.com/dp/0672330768?tag=
pvt-rec-20" title="[Affiliate link] Sams - Teach Yourself Java in 24 Hours">Sams
- Teach Yourself Java in 24 Hours</a><div class="aff-bottom"><a href="http://ww
w.amazon.com/dp/0672330768?tag=pvt-rec-20" title="[Affiliate link] Sams - Teach
Yourself Java in 24 Hours"><img src="http://d3qzmfcxsyv953.cloudfront.net/wp-con
tent/themes/siforia/img/affiliates/Sams - Teach Yourself Java in 24 Hours.png" a
lt=""/></a></div></div><div class="right right-text">Buy in Print:<br/><a href="
http://www.siforia.com/handbook-of-java-syntax" title="[Affiliate link] Handbook
of Java Syntax">Handbook of Java Syntax</a><br/><div class="product"><a href="h
ttp://www.siforia.com/handbook-of-java-syntax"><img border="0" class="book" src=
"http://d3qzmfcxsyv953.cloudfront.net/images/books/Handbook-of-Java-Syntax-minor
.png" title="[Affiliate link] bookname" /></a></div></div><div class="fixed"></d
iv><div class="left bookmarks"> <a rel="nofollow" title="Print" href="http://www
.printfriendly.com/print/new?url=http://www.pvtuts.com/java/java-introduction"><
div class="pr-ico"></div></a> <a rel="nofollow" title="Share on Facebook" href="
http://www.facebook.com/share.php?u=http://www.pvtuts.com/java/java-introduction
"><div class="fb-ico"></div></a> <a rel="nofollow" title="Share on Twitter" href
="http://www.twitter.com/home?status=Java+Tutorial+%26%238211%3B+01+%26%238211%3
B+Introduction+-+http://www.pvtuts.com/java/java-introduction"><div class="tw-ic
o"></div></a> <a rel="nofollow" title="Share on StumbleUpon" href="http://www.st
umbleupon.com/submit?url=http://www.pvtuts.com/java/java-introduction"><div clas
s="su-ico"></div></a> <a rel="nofollow" title="Add to Google Bookmarks" href="ht
tp://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http://www.pvtuts.com/java/j
ava-introduction"><div class="go-ico"></div></a></div><span class="right button"
><a href="http://www.pvtuts.com/java/java-hello-world" rel="next">Next &gt;</a><
/span><div class="fixed"></div><div id="ad-bottom"><script type="text/javascript
"><!-google_ad_client = "ca-pub-1715994754199783"; google_ad_slot = "937859424
6"; google_ad_width = 468; google_ad_height = 60;
//-->
</script><script type="text/javascript" src="http://pagead2.googlesyndicati
on.com/pagead/show_ads.js"></script></div><br /><div class="clear"></div></div><
/div><div id="extracontent" style="width:157px"><div id="recent" class="box"> <s
trong style="border-top:none">Java Sections</strong><ul class="link-list"><li cl

ass="cur"><a href="http://www.pvtuts.com/java/java-introduction" title="Java Tut


orial &#8211; 01 &#8211; Introduction">01 &#8211; Introduction</a></li><li><a hr
ef="http://www.pvtuts.com/java/java-hello-world" title="Java Tutorial &#8211; 02
&#8211; Hello World">02 &#8211; Hello World</a></li><li><a href="http://www.pvt
uts.com/java/java-compile-run" title="Java Tutorial &#8211; 03 &#8211; Compile a
nd Run">03 &#8211; Compile and Run</a></li><li><a href="http://www.pvtuts.com/ja
va/java-variables" title="Java Tutorial &#8211; 04 &#8211; Variables">04 &#8211;
Variables</a></li><li><a href="http://www.pvtuts.com/java/java-operators" title
="Java Tutorial &#8211; 05 &#8211; Operators">05 &#8211; Operators</a></li><li><
a href="http://www.pvtuts.com/java/java-string" title="Java Tutorial &#8211; 06
&#8211; String">06 &#8211; String</a></li><li><a href="http://www.pvtuts.com/jav
a/java-arrays" title="Java Tutorial &#8211; 07 &#8211; Arrays">07 &#8211; Arrays
</a></li><li><a href="http://www.pvtuts.com/java/java-conditionals" title="Java
Tutorial &#8211; 08 &#8211; Conditionals">08 &#8211; Conditionals</a></li><li><a
href="http://www.pvtuts.com/java/java-loops" title="Java Tutorial &#8211; 09 &#
8211; Loops">09 &#8211; Loops</a></li><li><a href="http://www.pvtuts.com/java/ja
va-methods" title="Java Tutorial &#8211; 10 &#8211; Methods">10 &#8211; Methods<
/a></li><li><a href="http://www.pvtuts.com/java/java-class" title="Java Tutorial
&#8211; 11 &#8211; Class">11 &#8211; Class</a></li><li><a href="http://www.pvtu
ts.com/java/java-static" title="Java Tutorial &#8211; 12 &#8211; Static">12 &#82
11; Static</a></li><li><a href="http://www.pvtuts.com/java/java-inheritance" tit
le="Java Tutorial &#8211; 13 &#8211; Inheritance">13 &#8211; Inheritance</a></li
><li><a href="http://www.pvtuts.com/java/java-overriding" title="Java Tutorial &
#8211; 14 &#8211; Overriding">14 &#8211; Overriding</a></li><li><a href="http://
www.pvtuts.com/java/java-packages-and-import" title="Java Tutorial &#8211; 15 &#
8211; Packages and Import">15 - Packages and I...</a></li><li><a href="http://ww
w.pvtuts.com/java/java-access-levels" title="Java Tutorial &#8211; 16 &#8211; Ac
cess Levels">16 &#8211; Access Levels</a></li><li><a href="http://www.pvtuts.com
/java/java-constants" title="Java Tutorial &#8211; 17 &#8211; Constants">17 &#82
11; Constants</a></li><li><a href="http://www.pvtuts.com/java/java-interface" ti
tle="Java Tutorial &#8211; 18 &#8211; Interface">18 &#8211; Interface</a></li><l
i><a href="http://www.pvtuts.com/java/java-abstract" title="Java Tutorial &#8211
; 19 &#8211; Abstract">19 &#8211; Abstract</a></li><li><a href="http://www.pvtut
s.com/java/java-enum" title="Java Tutorial &#8211; 20 &#8211; Enum">20 &#8211; E
num</a></li><li><a href="http://www.pvtuts.com/java/java-exception-handling" tit
le="Java Tutorial &#8211; 21 &#8211; Exception Handling">21 - Exception Hand...<
/a></li></ul></div></div> <br class="clear" /></div><div id="footer" class="cent
er"><div id="rightfooter"><div class="textwidget"><a id="gotop" href="#" onclick
="MGJS.goTop();return false;">Top</a> | <a href="http://www.siforia.com">Siforia
</a> | <a rel="author" href="http://www.webenterpriser.com/about" target="_blank
">About</a> | <a href="contact">Contact</a> | <a href="terms-of-use">Terms of Us
e</a></div></div></div> <script src="http://stats.wordpress.com/e-201328.js" typ
e="text/javascript"></script><script type="text/javascript">
st_go({blog:'9227488',v:'ext',post:'234'});
var load_cmc = function(){linktracker_init(9227488,234,2);};
if ( typeof addLoadEvent != 'undefined' ) addLoadEvent(load_cmc);
else load_cmc();
</script><script type="text/javascript">var trackid = "UA-18090994-1";</script><
script type="text/javascript" src="http://d3qzmfcxsyv953.cloudfront.net/js/custo
m-1.05.js.gzip"></script></div> &nbsp;</body></html>

Potrebbero piacerti anche