Changes

Jump to navigation Jump to search
no edit summary
Line 1: Line 1:  
[[Image:322px-Java Logo svg.png|right|thumb|100px|Java logo.]]
 
[[Image:322px-Java Logo svg.png|right|thumb|100px|Java logo.]]
'''Java''' is an [[Object Oriented programming|object-oriented]] [[programming language]] developed by [[Sun Microsystems]] in the 1990's.  Its syntax is similar to that of C++, but with some modifications.  One of the major features which make Java programs easier to write than C++ programs is its support for automatic [[memory management]].
+
'''Java''' (pronounced jaa-vuh) is an [[Object Oriented programming|object-oriented]], high-level [[programming language]] developed by [[Sun Microsystems]] in the 1990s.  Its syntax is similar to that of C++, but with some modifications.  One of the major features which make Java programs easier to write than C++ programs is its support for automatic [[memory management]]. The best-selling Minecraft game was originally written and improved in the Java programming language.<br />
   −
* Java managed to cover two problems plaguing the C/C++ world: [[complexity]] (C++) and [[memory management]] (C/C++). These two were real problems because projects plagued with bugs created by complexity and with memory leaks. [http://littletutorials.com/2008/05/28/13-reasons-java-die-old-age/]
+
Java managed to cover two problems plaguing the C/C++ world: [[complexity]] (C++) and [[memory management]] (C/C++). These two were real problems because projects plagued with bugs created by complexity and with memory leaks.<ref>http://littletutorials.com/2008/05/28/13-reasons-java-die-old-age</ref>
    
The Java [[compiler]] provided by Sun Microsystems compiles Java code to bytecode, which requires the Java Virtual Machine (commonly referred to as a JVM) to execute. This model was adopted by Microsoft for [[C Sharp|C#]] and other [[.NET]] languages. [[IBM]] and others supply regular Java compilers for those who don't want to use the [[virtual machine]].
 
The Java [[compiler]] provided by Sun Microsystems compiles Java code to bytecode, which requires the Java Virtual Machine (commonly referred to as a JVM) to execute. This model was adopted by Microsoft for [[C Sharp|C#]] and other [[.NET]] languages. [[IBM]] and others supply regular Java compilers for those who don't want to use the [[virtual machine]].
Line 18: Line 18:     
<pre>
 
<pre>
public class World
+
public class World {
{
+
     public static void main(String[] args) {
     public static void main(String[] args)  
+
         System.out.println("Hello, World!");
    {  
  −
         System.out.println("Hello, World!");  
   
     }
 
     }
 
}</pre>
 
}</pre>
Line 30: Line 28:  
<pre>JFrame frame = new JFrame();
 
<pre>JFrame frame = new JFrame();
 
frame.show();</pre>
 
frame.show();</pre>
 +
 +
==References==
 +
{{reflist}}
    
==See also==
 
==See also==
Siteadmin, Bureaucrats, Check users, nsAm_Govt_101RO, nsAm_Govt_101RW, nsAm_Govt_101_ta, nsJudgesRO, nsJudgesRW, nsJudges_talkRO, nsJudges_talkRW, nsTeam2RO, nsTeam2RW, nsTeam2_talkRO, nsTeam2_talkRW, oversight, Administrators
125,795

edits

Navigation menu