Class Student

java.lang.Object
  extended byStudent

public class Student
extends java.lang.Object


Constructor Summary
Student(java.lang.String theName)
           
Student(java.lang.String theName, double theGrade1, double theGrade2, double theGrade3)
           
 
Method Summary
 double getAverage()
           
static void main(java.lang.String[] args)
           
 boolean setGrade1(double theGrade1)
           
 boolean setGrade2(double theGrade2)
           
 boolean setGrade3(double theGrade3)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Student

public Student(java.lang.String theName,
               double theGrade1,
               double theGrade2,
               double theGrade3)

Student

public Student(java.lang.String theName)
Method Detail

toString

public java.lang.String toString()

setGrade1

public boolean setGrade1(double theGrade1)

setGrade2

public boolean setGrade2(double theGrade2)

setGrade3

public boolean setGrade3(double theGrade3)

getAverage

public double getAverage()

main

public static void main(java.lang.String[] args)