Portability

Classic programmed-learning exercises, refreshed for modern Java and presented in the current MrStyner.com portfolio style.

Modern Java noteThis archive has been refreshed for Java 25 LTS. Core language concepts remain useful, while outdated setup instructions and browser-era Java are labeled or replaced. Java 26 is the current feature release; Java 25 is used here as the stable teaching baseline.
go to previous page   go to home page   go to next page        

Answer:

Apple must write a Java interpreter for their new system.

Portability

Once Apple writes the interpreter and includes it on their new system, the system can run any Java program. Nothing new needs to be done with those programs.

Java programs are portable, which means that the same bytecode program can run on any computer system that has a Java interpreter. Also, a source program can be compiled into bytecodes on any computer that has a Java compiler. The source program does not have to be changed to meet the particular needs of various computer systems. No matter what computer you have, you can write the same Java programs.

This is unlike most other programming languages, where a different version of a program must be made for each variety of computer, and an executable program that runs on one type of computer will not run on another.

QUESTION 5:

Can bytecodes be sent from computer to computer over the Internet?