title: Final variable with static access modifier
body: <p>I am a beginner at Java. I am learning final variables, and tried this code.</p>
  
  <pre><code>package taopablot;
  
  
      class Person
      {
      String name;
      public void myPerson(String name)
      {
          this.name = name;
          System.out.println(this.name);
      }
      }
  
      public class Final {
      public static void main(String[] args)
      {
      static final String name = "Pablo";
      Person person = new Person();
      Person person2 = new Person();
      Person person3 = new Person();
      person.myPerson(name);
      person2.myPerson(name);
      person3.myPerson(name);
  
  
      }   
  }
  </code></pre>
  
  <p>However, Eclipse gives me an error. </p>
  
  <pre><code>Illegal modifier for parameter name; only final is permitted.
  </code></pre>
  
  <p>What am I doing wrong? And how do I set a final variable to be static for all objects?</p>