Saturday, March 19, 2011

Data Represent in the form User-defined Object (Bean)



public class Student {
private String studentNo;
private String studentName;
private float studentFee;

public float getStudentFee() {
return studentFee;
}
public void setStudentFee(float studentFee) {
this.studentFee = studentFee;
}
public String getStudentNo() {
return studentNo;
}
public void setStudentNo(String studentNo) {
this.studentNo = studentNo;
}
public String getStudentName() {
return studentName;
}
public void setStudentName(String studentName) {
this.studentName = studentName;
}

}

No comments:

Post a Comment