E:\Java Class>javac Student.java Student.java:68: weightedGrade(int) in Student cannot be applied to () weightInstance = weightedGrade(); ^ 1 error **im guessing the problem has to do with int iIn, i dont set it anywhere... so there isnt a value for it...???? ========================================= public class Student { public int weight = 2; private String m_StName; private int m_StID = 99999; private int m_TotCredHrs = 45; private int m_TotNumGP = 100; // public void SetStName(String StName) { m_StName = StName; } public String getStName() { return m_StName; } // public void setStudentID(int StID) { m_StID = StID; } public int getStudentID() { return m_StID; } // public void setTotalCredHrs(int TotCredHrs) { m_TotCredHrs = TotCredHrs; } public int getTotalCredHrs() { return m_TotCredHrs ; } // public void setTotalNumGradePoints(int TotNumGP) { m_TotNumGP = TotNumGP; } public int getTotalNumGradePoints() { return m_TotNumGP ; } // public float GPACalc() { float GPA; GPA = (float)getTotalNumGradePoints() / (float)getTotalCredHrs(); return GPA; } public void display() { //GPACalc(GPA);//this is not correct //String StrOut; //StrOut = new GPACalc(); System.out.println("Student Name: " + m_StName); //StrOut += (", "); System.out.println("Student ID: " + m_StID); //StrOut += (", "); System.out.println("Total number of grade points: " + m_TotNumGP); //StrOut += (", "); System.out.println("Total Credit Hours: " + m_TotCredHrs); //StrOut += (", "); System.out.println("Student GPA: " + GPACalc()); //StrOut += (", "); //return CalcedGPA; float weightInstance; weightInstance = weightedGrade(); System.out.println("Students weighted grade: " + weightInstance); } // public float weightedGrade(int iIn) { float weightedGPA; float GPA; //weightedGPA = new GPACalc(); GPA = GPACalc(); weightedGPA = GPA + iIn; return weightedGPA; } }