Java class file: Difference between revisions

Content deleted Content added
m clean up using AWB (8844)
Anhtrobote (talk | contribs)
No edit summary
Line 24:
| url =
}}
In the [[Java (programming language)|Java programming language]], [[source file]]s (.java files) containing Java [[Class (programming)|classes]] are [[compiler|compiled]] into (virtual) machine-readable '''class files''' which have a .class extension. Since Java is a [[platform-independent]] language, [[source code]] is compiled into an output file known as [[Byte-code|bytecode]], which it stores in a .class file. If a source file 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).
 
JVMs are available for many [[platform (computing)|platform]]s, and the .class file compiled in one platform will execute in a JVM of another platform. This makes Java platform-independent.