coding180 icon
Coding180

Why does Java have the "write once, run anywhere" feature?

Home > Interviews > Java


robort - 2022-08-30 10:59:26

This is due to the presence of bytecode. A Java compiler is a program that converts Java programs into class files (bytecodes), which serve as an intermediary language between source code and machine code. This bytecode is platform specific and can be run on any computer.


user

Robort Gabriel

Lagos, Nigeria

Freelance Web Developer, Native Android Developer, and Coding Tutor.

Skills
  • UI / UX
  • JavaScript
  • Python
  • PHP
  • Kotlin
  • Java
  • Bootrap
  • Android
  • Laravel