Skip to content

Instantly share code, notes, and snippets.

@topspinppy
Created February 15, 2017 19:41
Show Gist options
  • Save topspinppy/1c8c74a51403ab3d5456a2802f38b5c6 to your computer and use it in GitHub Desktop.
Save topspinppy/1c8c74a51403ab3d5456a2802f38b5c6 to your computer and use it in GitHub Desktop.
package bean;
public class StudentBean
{
//มี property
String fName;
String lName;
float gpa;
//มี Get และ Set
public String getFName()
{
return fName;
}
public void setFName(String fName)
{
this.fName = fName;
}
public String getLName()
{
return lName;
}
public void setLName(String lName)
{
this.lName = lName;
}
public float getGpa()
{
return gpa;
}
public void setGpa(float gpa)
{
this.gpa = gpa;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment