jeudi 29 janvier 2015

How to find out if a class member is static and a field in Java

How do you find out whether a member of a class is static and a field? I tried using the .getModifiers() method but it didn't return the desired result.






Aucun commentaire:

Enregistrer un commentaire