下载此文档

2016方正集团Java软件开发面试题.doc


文档分类:IT计算机 | 页数:约37页 举报非法文档有奖
1/37
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/37 下载此文档
文档列表 文档介绍
方正面试题总共十二题左右,其他没记清楚 1 ,怎么解决乱码问题,说出几个可行的解决办法? 的$(#div) 和$("div") 的区别? 3. 你所用到的三种设计模式,并简单说下 和 setintvor 的区别 5. 配置一个 action 需要配置那些内容 5, hibernate 中 inverse= “ true ” set IgnoreCase="true" 的意思是? 的外连接和内链接查询的区别 中 union 和 unio all 的区别? 8. 简单说下 ajax 中的 post 请求的过程? 配置文件中的通配符怎么配置? 的声明式事物? 11. 怎么设置 oracle 的表主键的自增长? 这是上个月的面试题,二零一二年七月份一、选择题 1 、下列表达式正确的( )? A. byte b= 128; B. boolean flag = null; C. float f= ; D. long a= 2147483648L; 2 、下列正确的说法有() :A .声明抽象方法,大括号可有可无 B. static 方法只可以调用 static 方法 C .抽象方法有方法体 D. static 方法可以访问类的所有属性 3、下列不属于 java 标识符的是() : A. _HelloWorld B. 3HelloWorld C. $HelloWorld C. HelloWorld3 4、属于 java 语言中基本数据类型的是() : A. var B. char C. Integer D. String 5、下列代码运行结果是(): 1. public class DoWhileTest 2.{ 3. public static void main(String[] args) { 4. intx =0; 5. inti =1; 6. do{ 7. if((i % 5) == 0){ 8. i++; 9. continue; 10.} += ++i; 12. }while(x <100); 13. ("x="+x); 14. } 15. }A. x=100 B. x=101 C. x=102 D. x=103 E. x=104 F. x=105 6、下列代码运行结果是(): 1. public class Parent{ 2. private int x; 3. protected int y; 4. public Parent(int x, int y){ 5. = x; 6. = y; 7.} 8. public void increaseX(int x){ 9. = getX()+x; 10. } 11. public int getX(){ 12. return x; 13. } 14. public void increaseY(int y){ 15. = getY()+y; 16. } 17. public int getY(){ 18. return y; 19. } 20. } 21. public class Child extends Parent 22. { 23. private int x; 24. private int y; 25. public Child(int x, int y){ 26. super(x, y); 27. = y+2 5 0; 28. = x+150; 29. } 20. public int getX(){ 31. return x; 32. } 33. public int getY(){ 34. return y; 35. } 36. public static void main(String[] args){ 37. Child child = new Child(100,100); 38. (100); 39. (100); 40. (" x ="+()+" and y ="+()); 41. }A. x=200 and y=200 ; B. x= 250 and y= 350 ;C. x=200 and y=350 ;D .编译错误;7 、下列选项可以在 A 的子类中使用的是( ): A{ 2. protected int method(int a,int b)

2016方正集团Java软件开发面试题 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数37
  • 收藏数0 收藏
  • 顶次数0
  • 上传人63229029
  • 文件大小133 KB
  • 时间2017-05-28
最近更新