Created
February 15, 2017 19:41
-
-
Save topspinppy/1c8c74a51403ab3d5456a2802f38b5c6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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