⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 test.java

📁 实现从用户登陆页面到用户信息页面的跳转。完成数据库连接
💻 JAVA
字号:
package cn.com.yunda.daoImpl;

import java.util.ArrayList;

import cn.com.yunda.vo.StudentInfo;

/**
 *
 *@author baiwei
 *@version 2008-11-6 下午07:25:18
 */
public class test {
	
	public static void main(String[] args){
		
		StudentDAOImpl test= new StudentDAOImpl();
		//ArrayList<StudentInfo> list=new ArrayList<StudentInfo>();
		ArrayList<StudentInfo> list=test.selectStudentByIdAndName("s01","1234");
		ArrayList<StudentInfo> list1=test.selectAllStudent();
		//list=test.selectStudentById("s01");
		System.out.println(list.get(0).getSname());
		System.out.println(list1.size());
	}

}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -