Manegment Information system assignment

timer Asked: Apr 19th, 2013

Question Description

will be a library assignment day for extra credit worth 10 points. 

Assignment details:

Create a class that models something (employee, staff, car, etc. The class must have proper name, at least three attributes, getter and setter methods, a tell about self method, and at least one custom method, such as the speak method shown in the classroom. Then create a tester class that creates three objects based on the class you created earlier, and call the tell about self method and the custom method on each of the three objects. Please provide printouts for the class, the tester class and the output. Due date is April 23 at the beginning of our class meeting. You can use the Student and StudentTester classes as guides (they are available on blackboard).

If you were absent today, please email me your choice of the Java class  before you begin to avoid duplication. secor players is my choise


Posted by Ayman Abuhamdieh at Tuesday, April 2, 2013 10:46:54 AM EDT

package marina2;

public class StudentTester {

    public static void main(String[] args) {

        Student student1, student2, student3;

        student1 = new Student(991123456, "Jane", "1990");

        student2 = new Student(991654321, "Sam", "1999");

        student3 = new Student(991987456, "Tom", "2000");







Posted by Ayman Abuhamdieh at Tuesday, April 2, 2013 10:46:33 AM EDT

package marina2;

public class Student {

    private int ID;

    private String name;

    private String DOB;

    public Student(int newID, String newName, String newDOB) {





    public int getID()

    { return ID; }

    public String getName()

    { return name; }

    public String getDOB()

    { return DOB; }

    public void setID(int anID)

    { ID = anID; }

    public void setName(String aName)

    { name = aName; }

    public void setDOB(String aDOB)

    { DOB = aDOB; }

    public String tellAboutSelf() {

        String info;

        info = "Student ID = " 

                + getID() + ", name ="

                + getName() + ", DOB = "

                + getDOB();

        return info;



This question has not been answered.

Create a free account to get help with this and any other question!

Brown University

1271 Tutors

California Institute of Technology

2131 Tutors

Carnegie Mellon University

982 Tutors

Columbia University

1256 Tutors

Dartmouth University

2113 Tutors

Emory University

2279 Tutors

Harvard University

599 Tutors

Massachusetts Institute of Technology

2319 Tutors

New York University

1645 Tutors

Notre Dam University

1911 Tutors

Oklahoma University

2122 Tutors

Pennsylvania State University

932 Tutors

Princeton University

1211 Tutors

Stanford University

983 Tutors

University of California

1282 Tutors

Oxford University

123 Tutors

Yale University

2325 Tutors