I have class lets say
public class Magic implements Serializable{
}
and this class does not inherit
public class Amount{
}
is there any way to cast Magic to Amount, i will be not accessing any fields what so ever, i just need Magic to "become" Amount? Is there any way?
Aucun commentaire:
Enregistrer un commentaire