[Solved] In a Java class, I can see that a class object and variable can have same name. Which value will be printed if they have same scope?

[ad_1]

In a Java class, I can see that a class object and variable can have same name. Which value will be printed if they have same scope?

[ad_2]

solved In a Java class, I can see that a class object and variable can have same name. Which value will be printed if they have same scope?