用java做的一个图书管理系统的源代码
import .*;
import .*;
public class T{
public static void main(String[] args) throws Exception{
Connection conn=null;
Statement stmt=null;
ResultSet rs=null;
while(true)
{Scanner scanner=new Scanner();
("请输入用户名:");
String username2=();
("请输入密码:");
String password2=();
if(!(("")||(""))){
try{
("");
conn=("jdbc:odbc:book","","");
String sql="select * from ww where username='"+username2+"'";
stmt=();
rs=(sql);
if(())
{
if(("password").equals(password2))
{
("*********欢迎来科技大学图书馆管理系统********");
while(true)
{
(" ");
(" ");
(" ");
(" ");
(" ");
(" ");
//(" ");
(" 请输入选择功能的序号 :");
int a=();
switch(a){
case 1:
(" 图书信息: ");
(" 1. 查询图书信息: ");
(" 2. 插入图书信息: ");
(" 3. 删除图书信息: ");
(" 4. 修改图书信息: ");
int a1=sca
用java做的一个图书管理系统的源代码 来自淘豆网m.daumloan.com转载请标明出处.