mercredi 25 juillet 2018

how iterate over Object arrays with java replection

i Want to iterate over Object[] within a class with Reflection

this is my class :

 public class Lab  {


  public Browser[] browser;

}

Class Browser {
  String url;
}

i want to reach browser[] from the Lab class at index 3 and check value of url





Aucun commentaire:

Enregistrer un commentaire