When iterate through all the declared fields in a class (class.getDeclaredFields()), the order of the fields are differ on Windows and Android platforms. On windows order is just the way fields are declared but on Android its always alphabetical. Since Java is same on all platforms, why it differs on different platforms?
Aucun commentaire:
Enregistrer un commentaire