title: Can I/ How do I use a static method in a non static environment
body: <pre><code>public class Transcript {
      private List&lt;Grade&gt; grades = new ArrayList&lt;Grade&gt;();
      private int id;
  
      public void assignVariables(){
          for(int i = 0; i &lt; grades.size(); i++){
              if(grades.get(i).getLetter() == null){
                  grades.get(i).setLetter(GPA2Letter(grades.get(i).gradePoint()));
  
              }
          }
      }
  
      public class Registrar {
  
      static double gpa;
  
      public Registrar(){
  
      }
  
      public static double letter2Point(String gradeIn){
          if(gradeIn == "A" ){
              gpa = 4.0;
          }
          else if(gradeIn == "B"){
              gpa = 3.0;
          }
          else if(gradeIn == "C"){
              gpa = 2.0;
          }
          else if(gradeIn == "D"){
              gpa = 1.0;
          }
          else if(gradeIn == "F"){
              gpa = 0;
          }
          return gpa;
      }
  
      public static String GPA2Letter(double gradePointIn){
          String letter = "";
          if(gradePointIn &gt;= 4){
              letter = "A";
          }
          else if((gradePointIn &gt;= 3) &amp;&amp; (gradePointIn &lt; 4)){
              letter = "B";
          }
          else if((gradePointIn &gt;= 2) &amp;&amp; (gradePointIn &lt; 3)){
              letter = "C";
          }
          else if((gradePointIn &gt;= 1) &amp;&amp; (gradePointIn &lt; 2)){
              letter = "D";
          }
          else if((gradePointIn &gt;= 0) &amp;&amp; (gradePointIn &lt; 1)){
              letter = "F";
          }
      }
  }
  </code></pre>
  
  <p>I am trying to use the GPA2Letter() method to process information in another class i was wondering how do I access this method or if I even can  note the class that I am doing this block of code in is not a static environment </p>