📄 course.java
字号:
/*
* course.java
*
* Created on 2007年6月23日, 上午10:53
*
* To change this template, choose Tools | Template Manager
* and open the template in the editor.
*/
package teachmanage.Entities;
import java.sql.ResultSet;
import java.sql.SQLException;
/**
*
* @author CASE
*/
public class course
{
private String Cno="";
private String Cname="";
private String Credit="";
/** Creates a new instance of course */
public void Set_Instance(ResultSet rs)
{
try
{
this.Cno=rs.getString("Cno");
this.Cname=rs.getString("Cname");
this.Credit=rs.getString("Credit");
}
catch(SQLException e)
{
e.printStackTrace();
}
}
public String GetCno()
{
return Cno;
}
public String GetCname()
{
return Cname;
}
public String GetCredit()
{
return Credit;
}
public course()
{
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -