Java is platform independent. But, Why do the apps written in java run only on android,
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?