Java class file: Difference between revisions

Content deleted Content added
m Popups-assisted redirection bypass from Bytecode to Byte-code
+cat Category:Java specification requests and JSR 202, other edits
Line 1:
[[Image:Apple Java file.png|right|Java class icon from Mac OS X.]]
The [[Java programming language|Java]] source files (.java files) get compiled into .class files. Since Java is a [[platform-independent]] language, it compiles its sources into [[Byte-code|bytecode]], which it stores in a .class file. If the source code has more than one class, each class is compiled into a separate .class file. These .class files can be loaded by any [[Java Virtual Machine]] (JVM).
 
Since JVMs are available for many [[platform (computing)|platform]]s, the .class file compiled in one platform will execute in a JVM of another platform. This makes Java platform-independent.
 
[[As of 2006]], the modification of the class file format is being considered under [[Java Specification Request]] (JSR) 202.
 
== Trivia ==
 
Class files are identified by the following 4 [[byte]] [[header (information technology)|header]] (in [[hexadecimal]]): <code>CA FE BA BE</code>.
Line 11 ⟶ 15:
</BLOCKQUOTE>
 
== References ==
 
* James Gosling private communication to Bill Bumgarner: http://bbum.pycs.net/2003/01/28.html
 
== External links ==
 
* [http://www.jcp.org/en/jsr/detail?id=202 JSR 202] Java Class File Specification Update
 
{{compu-soft-stub}}
 
[[Category:Java platform]]
[[Category:Java specification requests]]