F
feng.hong
Does the Java language guarantee the order that the fields are returned
from getField()? It would be nice if the order that they are declared
in the classm is the order that getField() returns.(it is the case from
my sample test). However, is it garanteed? is there optimization that
would change the order?
Thanks.
from getField()? It would be nice if the order that they are declared
in the classm is the order that getField() returns.(it is the case from
my sample test). However, is it garanteed? is there optimization that
would change the order?
Thanks.