title: How To make scope of variable Global(Without making it actually Global)
body: <p>How can I make scope of a String variable(In Java) global.So that it is accessed from another function
  Eg</p>
  
  <pre><code>//String b="null"; I don't want to do this... because if i do this, fun2 will print Null
  
      public int func1(String s)
      {
  
      String b=s;
  
      }
  
      public int func2(String q)
      {
  
      System.out.println(b);//b should be accessed here and should print value of s
  
      }
  </code></pre>
  
  <p>Any Help... Thanks</p>