[Solved] If I change the value of a variable in one function, will the changed value be used in another in Java?

[ad_1]

If d is the instance variable then it would be visibile to every method that you defined above.

[ad_2]

solved If I change the value of a variable in one function, will the changed value be used in another in Java?