I remember studying in core java that I read that one of the features of java is that it is platform-independent.
Reference: https://www.interviewbit.com/blog/features-of-java/
Now I am researching on android development, android apps are developed using core java. Then why is it that those apps are not supported in Windowsphone or ios?