QUESTION 36
Given the exhibit:
C. System.property ("prop.custom");
D. System.getProperty ("prop.custom"); 根据系统参数来取出对应的参数内容
E. System.getProperties ( ).getProperty ("prop.custom"); 取得所有系统参数的名称,再从中取得“prop.custom”的值
Answer: ( D、E )
A、B不对。用来加载*.dll形式的JNI库(Java Native Interface——JAVA本地调用),不用来获得字符串形式的参数或者变量。
预设的系统属性(JVM变量)包括”os.name”:当前操作系统名称, “java.version”当前Java虚拟机的版本
除预设的系统属性还可用 java –Dkey1=value1 –Dkey2=value2 加入一些临时的系统属性(JVM变量)
D、E是正确的获取系统属性的写法。
参考大纲:Java语言基础
QUESTION 37
Given classes defined in two different files:
What is required at line 5 in class Certkiller App to use the process method of BitUtils?
A. Process (bytes);
B. BitUtils.process (bytes);
C. Util.BitUtils.process (bytes);
D. Certkiller App cannot use methods in BitUtils
E. Import util.BitUtils.*; process (bytes);
Answer: ( C )
参考大纲:Java语言基础
QUESTION 38
Exhibit:
What is the output of the code?
A. Compilation fails.
B. Gobstopper
Fizzylifting
C. Gobstopper
Scremdiddlyumptious
D. Scrumdiddlyumptious
Fizzylifting
E. Scrumiddlyumptious
Scrumdiddlyumptious
Answer: ( B )
参考大纲:Java语言基础 — 存储机制
QUESTION 39
Given classes defined in two different files
What is required at line 5 in class Certkiller Application to use the process method of BitUtils?
A. PROCESS (BYTES);
B. BitUtils.process(bytes);
C. App.BitUtils.process (bytes)
D. Util.BitUtils. process (bytes)
E. Import util.Bitutils.*; process (bytes);
F. Certkiller Application cannot use the process method in BitUtils.
Answer: ( F )
private是私有方法,不能被Certkiller调用
参考大纲:Java语言基础 — 存取修饰符
QUESTION 40
The image represents a complete package structure for a set of classes: "com" is the beginning of the fully-qualified package name for all classes. Give this package structure, insert the code needed to make the Car class compile and run successfully.
All three place holders must be filled. If fewer than three statement are needed, use the "// blank" options.
Answer: ( )
package com.bar;
import com.foo.bar.blatz.*;
import com.foo.bar.* ;
public class Car{
Book book ;
Dog dog ;
}
参考大纲:Java语言基础 — 包
分享到:
相关推荐
scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库
scjp题库scjp题库scjp题库scjp题库scjp题库scjp题库 java题库java题库java题库java题库java题库java题库
sun公司scjp认证题库 短小精悍,覆盖面强,摒弃题海,专注重要的知识点
最新题库,含200多道真题,做完这个题库的题,过scjp基本没问题
scjp题库(收集了CSDN上大部分题库,近1000道SCJP试题 看看大小就知道了,.jar文件直接双击打开
java scjp认证考试题库 都有答案 慢慢我会把注释也加上的
SCJP轻松过 SCJP学习指南 SCJP试题 scjp题库
背下来就好了,哈哈SCJP题库,有了它必过SCJP题库,有了它必过SCJP题库,有了它必过SCJP题库,有了它必过
SCJP最新题库,正式考试时很多题都是原题,不是原题的很多题也类似,如果你搞懂了这里的所有题,你肯定能过,我考了95%
scjp
当时参加scjp考前培训时,老师给我们的题库。考试时的题目上面基本都有,做一遍考试过绝对没问题。
内含多套试题、scjp测试模拟器等 内含多套试题、scjp测试模拟器等
java题库+scjp模拟题。希望对你有帮助
通过SCJP的捷径~我考了70分!想要考或者准备考SCJP的朋友来看看吧!有答案!
2010年SCJP标准题库-jdk1.5
这是最新的SCJP考试题库,有答案,把这过一遍,考试肯定过!
ocjp认证。适合有一定java基础的人看。里面的题比较偏重底层
2013 年 最新SCJP 考试题库。全英文题目