Question: Edit below java code and add: set, get, contractor, insert, delete, edit, list, and testing method. Write a comment for each method. package studentgradingsystem; import

Edit below java code and add: set, get, contractor, insert, delete, edit, list, and testing method. Write a comment for each method.

package studentgradingsystem;

import java.io.Serializable;

public class Student implements Serializable{ private String std_no; private String std_name; private String std_surname; private String gender; private String nationality; private String birthday;

public Student(String std_no, String std_name, String std_surname, String gender, String nationality, String birthday) { this.std_no = std_no; this.std_name = std_name; this.std_surname = std_surname; this.gender = gender; this.nationality = nationality; this.birthday = birthday; }

public String getStd_no() { return std_no; }

public void setStd_no(String std_no) { this.std_no = std_no; }

public String getStd_name() { return std_name; }

public void setStd_name(String std_name) { this.std_name = std_name; }

public String getStd_surname() { return std_surname; }

public void setStd_surname(String std_surname) { this.std_surname = std_surname; }

public String getGender() { return gender; }

public void setGender(String gender) { this.gender = gender; }

public String getNationality() { return nationality; }

public void setNationality(String nationality) { this.nationality = nationality; }

public String getBirthday() { return birthday; }

public void setBirthday(String birthday) { this.birthday = birthday; } }

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!