[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?



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?

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?