title: The type java.lang.Charsequence cannot be resolved. It is indirectly referenced from required.class files
body: <p>I know this question was asked on here but it was related to something different. This is my program, I had to create my own class.  Also, when I try to use the system.out.printf () function, it doesnt work how come?  Thank you, from a very lost beginner programmer. :</p>
  
  <pre><code>public class IDInfo {
  public static void main(String[] args){
  }
  
  
  
  
  private double name;
  private double studentID;
  private double Major;
  private double CreditsNeeded;
  private double CreditsTaken;
  
  String getName = "Alex Wilson";
  String getID = "916183391";
  String getMajor1 = "Biochemistry";
  String getCreditsNeeded = "128";
  String getCreditsTaken = "14";
  
  
  public void setname ( double name  )
  {
      name = name; 
  }
  
  public void setstudentID (double ID)
  {
      studentID = ID;
  
  }
  
  public void setMajor (double Major)
  {
      Major=Major;
  
  }
  
  public void setCreditsNeeded (double CreditsNeeded)
  {
      CreditsNeeded=CreditsNeeded;
  
  }
  
  public void setCreditsTaken (double CreditsTaken)
  {
      CreditsTaken=CreditsTaken;
  
  }
  
  public double getName()
  {
      return name;
  
  }
  
  public double getID ()
  {
      return studentID;
  
  }
  
  public double getMajor ()
  {
      return Major;
  
  }
  
  public double getCreditsNeeded ()
  {
      return CreditsNeeded;
  }
  
  public double getCreditsTaken ()
  {
      return CreditsTaken;
  
  }
  
  public double getCreditsRemaining ()
  {
      return CreditsNeeded - CreditsTaken;
  }
  {
  
  
  
  }}
  </code></pre>