Java class file: Difference between revisions

Content deleted Content added
m Fixing completely bare references Wikipedia:Bare_URLs
mNo edit summary
Line 1:
{{aboutAbout|the data format|classes in Java|Class (computer programming)}}
{{Infobox file format
| name = Java class file
Line 22:
}}
 
A '''Java class file''' is a [[Computer file|file]] (with the {{mono|.class}} [[filename extension]]) containing [[Java bytecode]] that can be executed on the [[Java Virtualvirtual Machinemachine|Java Virtual Machine (JVM)]]. A Java class file is usually produced by a [[Java compiler]] from [[Java (programming language)|Java programming language]] [[source file]]s ({{mono|.java}} files) containing Java [[Class (programming)|classes]] (alternatively, other [[JVM languages]] can also be used to create class files). If a source file has more than one class, each class is compiled into a separate class file.
 
JVMs are available for many [[platform (computing)|platform]]s, and a class file compiled on one platform will execute on a JVM of another platform. This makes Java applications [[cross-platform|platform-independent]].
Line 365:
==See also==
{{Portal|Computer programming}}
* [[Java bytecode]]
 
==References==
Line 380:
| url = https://docs.oracle.com/javase/specs/jvms/se6/html/ClassFile.doc.html
| access-date = 2008-10-13
}} The official defining document of the [[Java virtual machine|Java Virtual Machine]], which includes the class file format. Both the first and second editions of the book are freely available [https://docs.oracle.com/javase/specs/ online for viewing and/or download].
 
{{Java (Sun)}}