change class B method variables through class A. can it Possible?
<pre><code>class A
{

public void methodcall()
{
String s="Google";
}

}

class B
{

//defination


}
</code></pre>

<p>now inside class B i call methods...etc
class A ---methodCall's local variable s value need to change to Yahoo</p>

<p>answer: I got to know it is wrong question, we can't change the class definition from other classes. And even we can't change the method's local variable in other class.</p>
