mercredi 21 décembre 2016

Getting Field names for all objects from an arary of Objects in Java

I have an Array of object

Object ob1 = new Object(); //Object1
Object ob2 = new Object(); //Object2

Object [] array = {
         ob1,
        ob2

        };

I want to get name of Object1 and Object1 which is ob1 and ob2 respectively





Aucun commentaire:

Enregistrer un commentaire