首页 相关文章 DAO及factory示例

DAO及factory示例


  =============Student.Java==========
  import java.sql.*;
  public class Student implements java.io.Serializable{
  private String id;
  private String name;
  private Date birthday;
  
  public Student(){}
  public Student(String id, String name, Date birthday){
  this.id = id;
  this.name = name;
  this.birthday = birthday;
  }
  
  public String getId() { return id; }
  public void setId(String id) { this.id = id; }
  
  public String getName() { return name; }
  pu...[ 查看全文 ]

2016-02-19 标签:

DAO及factory示例的相关文章

手机页面
收藏网站 回到头部