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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started