Advertisement
nguyenvanquan7826

connect database - class student

May 9th, 2014
947
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.62 KB | None | 0 0
  1. package nguyenvanquan7826.database;
  2.  
  3. public class Student {
  4.  
  5.     private String id;
  6.     private String name;
  7.     private double point;
  8.  
  9.     public Student() {
  10.     }
  11.  
  12.     public Student(String id, String name, double point) {
  13.         super();
  14.         this.id = id;
  15.         this.name = name;
  16.         this.point = point;
  17.     }
  18.  
  19.     public String getId() {
  20.         return id;
  21.     }
  22.  
  23.     public void setId(String id) {
  24.         this.id = id;
  25.     }
  26.  
  27.     public String getName() {
  28.         return name;
  29.     }
  30.  
  31.     public void setName(String name) {
  32.         this.name = name;
  33.     }
  34.  
  35.     public double getPoint() {
  36.         return point;
  37.     }
  38.  
  39.     public void setPoint(double point) {
  40.         this.point = point;
  41.     }
  42. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement