Please enable JavaScript to use CodeHS

CodeHS Glossary


Platform independence General

Because Java compiles to bytecode instead of native machine code, the same `.class` file can run on any operating system with a compatible JVM. This is often summarized as "write once, run anywhere."