title: How to access a string in a void method from another void method?
body: <pre><code>        public void WeatherInfo(){
      .......
      String weatherLocation = weatherLoc[1].toString();
  ........
  }
  </code></pre>
  
  <p>basically I have this dynamic string that is in a void called WeatherInfo.</p>
  
  <p>But I need to get the weatherLocation string from another void, like this</p>
  
  <pre><code>    public void WeatherChecker(){
  
      YahooWeatherUtils yahooWeatherUtils = YahooWeatherUtils.getInstance();
    yahooWeatherUtils.queryYahooWeather(getApplicationContext(), weatherLocation, this);
  }
  </code></pre>
  
  <p>Therefore I need to be able to access weatherLocation from this void.</p>
  
  <p>How do I do this?</p>