I am having problems identifing the appropriate class names, attributes and methods for the following objects. I need at least 3 attributes and 3 methods for each class.
STUDENT
INSTRUCTOR
CLASS
MAJOR
For Example:
Class Name
Student
Attributes
socialSecurityNumber;
studentName;
studentDOB;
Methods
getStudentName();
getTotalStudentCount();
setStudentID(ssn, fname);
I have part of it done but im not sure where to go from there.
Thanks
public class Student {
// methods
public void setName(String name){}
public void getStudentName(){}
public void setTotalStudentCount(){}
public void getTotalStudentCount(){}
public void setSS(String ssn){}
public void getSS(){}
// attrs
String name;
String ssn;
String studentMajor;
}