How to count the number of attributes of a java class? -
could explain me, how possible count number attributes of java class. need generic way, since classes can have different number of attributes. possible in java?
field[] attributes = myclass.class.getdeclaredfields();
Comments
Post a Comment