Can you please advise how to solve it. innlevertEiendel in class B is null

 

Class A{

public InnlevertEiendel getInnlevEDUpdate(){

      return innlevEDUpdate;

}

 

public void setInnlevEDUpdate(InnlevertEiendel innlevEDUpdate){

      this.innlevEDUpdate = innlevEDUpdate;

}

 

Onclick(){

setInnlevEDUpdate(innlevEDUpdate){

}

 

ClassB(){

InnlevertEiendel innlevertEiendel = new InnlevertEiendel();

innlevertEiendel = new ClassA().getInnlevEDUpdate();

}




-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to