📄 daofactory.java
字号:
package myitem.factory;
import myitem.dao.*;
import myitem.dao.impl.*;
public class DAOFactory {
public static NotoDAO getNotoDAOInstance()
{
return new NotoDAOImpl();
}
public static NewsDAO getNewsDAOinstance()
{
return new NewsDAOImpl();
}
public static FellowDAO getFellowDAOInstance()
{
return new FellowDAOImpl();
}
public static AdminLoginDAO getAdminLoginDAOInstance()
{
return new AdminLoginDAOImpl();
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -