Logo 
Search:

Java Answers

Ask Question   UnAnswered
Home » Forum » Java       RSS Feeds
  Question Asked By: Steven Wood   on Jan 11 In Java Category.

  
Question Answered By: Roop Kapoor   on Jan 11

Change the code  to:

public void  _function( String target  ) {
this.target = "showForm";
}

I guess that you want to change the value of your private  member and
not the value of the parameter that you pass  over to this function.

Share: 

 

This Question has 4 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Pass By Reference Or get search suggestion and latest updates.


Tagged: