|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectStudent
public class Student
Constructor Summary | |
---|---|
Student()
Creates a student with name "Jane Doe" and grade 0. |
|
Student(java.lang.String name,
int grade)
Creates a student with the given name and raw grade. |
Method Summary | |
---|---|
int |
getGrade()
Returns the student's raw grade. |
java.lang.String |
getName()
Returns the student's name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Student(java.lang.String name, int grade)
name
- Student's namegrade
- Student's raw gradepublic Student()
Method Detail |
---|
public java.lang.String getName()
public int getGrade()
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |