
循环体写法好奇怪,我写下我的思路。如果 相等 i=2,不等 i=1, 找不到数据 i=0;
begin
open stu_cursor for select from student where sno=sno1;
fetch stu_cursor into stu_record;
loop
if(stu_record%notfound) then
i:=0;
exit ;
end if;
if(stu_recordPASSWORDS=passwords1) then
i:=2;
else
i:=1;
end if;
end loop;
exception
when others then
end
程序本身没有问题,应该是楼主的路径不对吧
先把路径调好
d盘的就打d: e盘就打e:
然后cd到你的目录
比如 cd theOther
然后再
javac Testjava
java Test
以上就是关于怎么在JAVA程序中老是找不到数据全部的内容,包括:怎么在JAVA程序中老是找不到数据、java运行显示“找不到或无法加载主类”、等相关内容解答,如果想了解更多相关内容,可以关注我们,你们的支持是我们更新的动力!
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)