mercredi 9 décembre 2020

How to access and setup value from another class using Java Reflection [closed]

Example:

public Class myClassA{

    private Application1 application1;
    Integer aInterger;
    myDTO myDTO = new myDTO();
    private List<Applicant> myApplicant;

    private Applicant getApplicant(){
      String aString="Name"
      aInnterObject innterObject = new aInnterObject();

   }

}

public Class myClassB{

    How to access and set above from myClassB
   
}




Aucun commentaire:

Enregistrer un commentaire