Problem with Java
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;
}
By OTA: C. Yin, MSc
OTA Rating: 4.9/5
Your Price: $2.19 (original value ~$11.97)
What's included:
Page generated in 0.0118 seconds