Hi,
I have a method like this ;
a(int x){
z();
}
and another method z() which is called from a();
z(){
// I want to access the value of x.
}
When I call x(5) I want to access the value 5 in z(). But as you can see I don't want to give x to z() as an argument. So I want the method
z() to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.