![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
面试类
文章平均质量分 79
wangbo910927
这个作者很懒,什么都没留下…
展开
-
面试简答
5、switch语句能否作用在byte上,能否作用在long上,能否作用在String上? 在switch(expr1)中,由于,byte,short,char都可以隐含转换为int,所以,这些类型以及这些类型的包装类型也是可以的。显然,long和String类型都不符合switch的语法规定,并且不能被隐式转换成int类型,所以,它们不能作用于swtich语句中。 10、使用fi转载 2015-09-07 21:31:35 · 322 阅读 · 0 评论 -
面试编程加数据库
7、下面的程序代码输出的结果是多少?public class smallT{ public static void main(String args[]) { smallT t = new smallT(); int b = t.get();转载 2015-09-07 21:53:01 · 399 阅读 · 0 评论 -
面试编程题
import java.util.Scanner;public class a4_13{ public static void main(String[] args){ System.out.println("请输入一个整数"); Scanner in=new Scanner(System.in); int number=in.nextInt(); while(nu转载 2015-09-28 23:28:53 · 311 阅读 · 0 评论 -
sql
drop table renwu 删除整个表delete from renwu 删除记录表里的内容primary key 主键不能为空也不能重复select * from renwu 查询人物表里的所有属性把工资低于8千的人加上2%update renwu set gongzi=gongzi*1.02 where gongzidelete from gsyg where转载 2015-09-29 08:38:42 · 255 阅读 · 0 评论