I was studying in core java that one of the features of java is that it is platform independent. Reference: InterviewBit
Now I am working on android development, android apps are developed using core java. Then why is it that those apps are not supported in Windowsphone or ios?
Surajm
Level 0
Java is platform independent. But, Why do the apps written in java run only on android,
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
zemiak
21 February 2022, 10:24
Android translate Java code to his own app format that is not Java but is faster. Java in android is Java 7 + some 8 features, actual version Java 17 is not fully supported. Android Java code usually closely use Android system library for GUI and system services. So portability of java code depends how correctly is implemented Java virtual machine (JVM) and how used libraries are indipended from operating system and hardware, especialy in GUI, also if it is same version of java.
0