+ 2

java and multiplatform

people say that java is multiplatform but when we build android applications with java We use classes that doesn't work in other platforms?"

9th Apr 2021, 6:06 PM
Mehran
Mehran - avatar
5 Respostas
+ 6
Android is a phone os and use a Google modified Java version. Java has specific implementation for different system. Limited system can't contain the full framwork or It has specific framework. Java SE for computer Java Card for SIM card Java ME for embedded hardware (phone, TV, whasher and device with limitated hardware) If you use Java SE, your .class works where you have the relative jre for the specific system. So the same .class work on Linux, Mac OS or Windows without recompile the .java source. In 1995 Java was revolutionary with compile one time and execute evreywhere, in a world of compiler specific for a machine in which the source was for that compiler that was for that machine.
9th Apr 2021, 6:57 PM
Ciro Pellegrino
Ciro Pellegrino - avatar
+ 4
why people say Java is multiplatform, While apps written with Java usually work on the one platform?
9th Apr 2021, 6:51 PM
Mehran
Mehran - avatar
0
androd is phone os and us agoogle
10th Jun 2022, 6:55 PM
Amar Asefa
Amar Asefa - avatar
0
androd is a phone os and us agoogle modified java version
10th Jun 2022, 6:59 PM
Amar Asefa
Amar Asefa - avatar
0
Hi
20th Mar 2023, 2:40 PM
Faeem Shaikh
Faeem Shaikh - avatar