title: Can I use same name for public variable and method argument in java?
body: <p>So, can I use same name for public variable in a class and method argument in java?
  for example("number" is declared twice):</p>
  
  <pre><code>public class Class1 {
      public int number;
  
      public static String function1(String id,int number)
      {
          //do something
  
      }
  }
  </code></pre>