Referring local variables in java step

Hi, Is it possible to refer to a variable declared local in an activity, in a java step in the same activity?

***Updated by moderator: Marissa to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.


Keep up to date on this post and subscribe to comments

October 29, 2008 - 10:34am

yaa you can directly access with the name of the local variable directly.
No need to declare again in the java step.

October 30, 2008 - 1:55pm

Yes. if you have declared the variable in the Parameters tab of the activity, it can surely be referenced inside the java step of the activity. The best part is you don't have to declare it again in that method.