设为首页 加入收藏 网站首页
休闲娱乐
军事·社会百态·娱乐八卦·校园
体育·美女写真·幽默笑话·游戏
综合·在线视频·搞笑图片·灵异
两性生活
两性知识·性爱技巧
情色实录·两性图片
女性健康·同性之恋
电脑网络
网络编程·网页制作·软件教学
操作系统·图形图象·冲浪宝典
网络安全·邮件系统·认证考试
热点专题
芙蓉·真人漫画
72式·欲望都市
帅哥·人体彩绘
您现在的位置: 世纪中国 >> 认证考试 >> Java认证 >> 教程正文
Java程序员认证模拟题及详细分析(2)
作者:中国图霸    教程来源:网络    点击数:    更新时间:2007-1-4
the constructor of a FilterOutputStream?
   A. InputStream
   B. OutputStream
   C. File
   D. RandomAccessFile
   E. StreamTokenizer

   45. Given a TextArea using a proportional pitch font and constructed like this:
TextArea t=new TextArea(“12345”,5,5);
Which statement is true?
   A. The displayed width shows exactly five characters one each line unless otherwise constrained
   B. The displayed height is five lines unless otherwise constrained
C. The maximum number of characters in a line will be five
D. The user will be able to edit the character string
E. The displayed string can use multiple fonts
   46. Given a List using a proportional pitch font and constructed like this:
List l=new List(5,true);
Which statement is true?
   A. The displayed item exactly five lines unless otherwise constrained
   B. The displayed item is five lines init, but can displayed more than five Item by scroll
   C. The maximum number of item in a list will be five.
   D. The list is multiple mode

   47. Given this skeleton of a class currently under construction:
   public class Example{
   int x,y,z;

   public Example (int a, int b) {
   //lots of complex computation
   x=a; y=b;
   }
   public Example(int a, int b, int c){
   // do everything the same as single argument
   // version of constructor
   // including assignment x=a, y=b, z=c
   z=c;
   }
   }
   What is the most concise way to code the “do everything…” part of the constructor taking two arguments?
   Short answer:

   48. Which correctly create a two dimensional array of integers?
   A. int a[][] = new int[][];
   B. int a[10][10] = new int[][];
   C

上一页  [1] [2] [3] [4] [5] [6] 下一页

分类推荐
社会 社会 娱乐 军事 校园
幽默 体育 女性 专题
电脑 编程 网页 软件 系统
安全 图象 冲浪 认证
搞笑 人物 动物 物品 表情
签名 色图 漫画 奇闻
美女 明星 清纯 自拍 欧美
丝袜 卡通 性感 走光
两性 知识 性图 孕育 技巧
同性 单身 情感 实录
视频 写真 搞笑 MTV 翻唱
写实 片段 游戏 综艺
Java认证热门文章
普通教程 该学Java或.NET?
普通教程 Java认证介绍
普通教程 Sun认证Java开发员-SCJD认证介
普通教程 课程介绍(11)SL-351 Java数据库
普通教程 课程介绍(8)SL-425 体系结构及
普通教程 课程介绍(13)SL-291 JavaBeans
普通教程 课程介绍(12)SL-330 Java开发数
普通教程 课程介绍(9)SL-310 超越CGI 开
普通教程 课程介绍(7)SEM-SL-345 Java 2
普通教程 课程介绍(4)SL-275 Java语言编
普通教程 课程介绍(10)SL-315 Java Serv
普通教程 课程介绍(6)SL-285 高级Java编
普通教程 课程介绍(5)SL-314 用Java开发
普通教程 课程介绍(3)SL-265 结构化程序
普通教程 课程介绍(2)SL-210 向Java面向
普通教程 课程介绍(1)SL-110 初级Java语
普通教程 最新Sun授权ASEC-Java培训中心
普通教程 Java开发员认证
普通教程 Java:IT认证中最有魅力的开发工
普通教程 Java认证权威问答精华集

  广东广州海珠区 世纪网络工作室 版权所有 上海电信提供网络带宽
信箱: 9297659@qq.com 粤ICP备06113754号