samedi 28 novembre 2015

how can I detect that I'm calling repeatedly to static fields

If I have two classes, Person and Email and the class Person have static field of Email (that it's name is "email") and the class Email have static field of String (that it's name is "address").

There is a way to know that I'm came from Person if I execute the line code: "Person.email.address"?





Aucun commentaire:

Enregistrer un commentaire