显示标签为“1Z0-561”的博文。显示所有博文
显示标签为“1Z0-561”的博文。显示所有博文

2014年2月26日星期三

評判が高いOracle 1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804認証試験の参考書

今の競争の激しいIT業界ではOracleの1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804試験にパスした方はメリットがおおくなります。給料もほかの人と比べて高くて仕事の内容も豊富です。でも、この試験はそれほど簡単ではありません。

IT-Passports.comが提供したOracle1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804トレーニング資料はもうあなたの目の前に来ましたから、選択すべき時間になりました。もちろんあなたも他の製品を選べますが、IT-Passports.comがあなたに無限大な恩恵をもたらせることを知るべきです。100パーセントの成功率を保証できるのはIT-Passports.comしかないです。IT-Passports.comがあなたに美しい未来を差し上げ、将来あなたはIT-Passports.com領域でより広い道が行くことができ、情報技術の領域で効率的に仕事することもできます。

多くのIT業界の友達によるとOracle認証試験を準備することが多くの時間とエネルギーをかからなければなりません。もし訓練班とオンライン研修などのルートを通じないと試験に合格するのが比較的に難しい、一回に合格率非常に低いです。IT-Passports.comはもっとも頼られるトレーニングツールで、Oracle1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804認定試験の実践テストソフトウェアを提供したり、Oracle1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804認定試験の練習問題と解答もあって、最高で最新なOracle1z0-456 1z0-151 1Z0-820 1Z0-583 1Z0-561 1Z0-581 1Z0-804認定試験問題集も一年間に更新いたします。

試験番号:1z0-456問題集
試験科目:Oracle 「Oracle Fusion Customer Relationship Management 11g Sales Essentials」
問題と解答:全133問

試験番号:1z0-151問題集
試験科目:Oracle 「Oracle Fusion Middleware 11g: Build Applications with Oracle Forms」
問題と解答:全90問

試験番号:1Z0-820問題集
試験科目:Oracle 「Upgrade to Oracle Solaris 11 System Administrator」
問題と解答:全75問

試験番号:1Z0-583問題集
試験科目:Oracle 「Oracle User Productivity Kit 11 Technical Consultant Essentials Exam」
問題と解答:全115問

試験番号:1Z0-561問題集
試験科目:Oracle 「Oracle FLEXCUBE Universal Banking 11 Basic Implementation Essentials」
問題と解答:全76問

試験番号:1Z0-581問題集
試験科目:Oracle 「Pillar Axiom 600 Storage System Essentials Exam」
問題と解答:全84問

試験番号:1Z0-804問題集
試験科目:Oracle 「Java SE 7 Programmer II Exam」
問題と解答:全150問

IT-Passports.comを利用するのは君の合格率を100%保証いたします。IT-Passports.comは多種なIT認証試験を受ける方を正確な資料を提供者でございます。弊社の無料なサンプルを遠慮なくダウンロードしてください。

弊社は君の試験に合格させるとともにまた一年の無料の更新のサービスも提供し、もし試験に失敗したら全額で返金いたします。しかしその可能性はほとんどありません。弊社は100%合格率を保証し、購入前にネットでダウンロードしてください。

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.it-passports.com/1Z0-820.html

NO.1 You have already generated a 256-bit AES raw key and named the keystore file /mykey. You need to
use the key to create an encrypted file system.
Which command should you use to create a ZFS encrypted file system named pool1/encrypt using the
/mykey keystore?
A. zfs create-oencryption = /mykey pool1/encrypt
B. zfs create-oencryption = 256-ccm-okeysource = raw, file : ///my key pool1/encrypt
C. zfs create-oencryption = AES keysource = /mykey pool1/encrypt
D. zfs create-oencryption = on keystore = /mykey pool1/encrypt
Answer: B

Oracle過去問   1Z0-820練習問題   1Z0-820認定証

NO.2 You need to update an OS image on a client. The pkg publishers command displays the wrong
publisher with the wrong update: PUBLISHERTYPESTATUSURI Solaris origin
onlinehttp://pkg.oracle.com/solaris/release
The update is available on the updated publisher: PUBLISHERTYPESTATUSURI Solaris
originonlinehttp://sysA.example.com
Select the option that describes the procedure used to update the OS image on the system from the
updated publisher.
A. Copy the repository from the ISO image onto the local client.
Configure the repository on the client by using the svccfg-s command so that the Solaris publisher is
connected to the new repository.
Refresh the application/pkg/server service.
Issue the pkgrepo refresh command to refresh the repository catalog
B. Configure the publisher on the client using the svcfg-s command so that the Solaris publisher is
connected to the repository at http://sysA.example.com
Refresh the application/pkg/server service.
Issuethe pkgrepo refresh command to repository catalog
C. Use the pkg set-publisher command to change the URL of the publisher Solaris to
http://sysA.example.com.
Issue the pkg update command to update the OS image.
D. Add the new publisher http://sysA.example.com Solaris
Use the pkg set-publisher command to set the publisher search order and place
http://sysA.example.com of http://pkg.oracle.com/solaris/release
Issue the pkg publisher command to view the publishers.
Set the new publisher to sticky.
Issue the pkg update command to update the OS image.
Answer: C

Oracle認定証   1Z0-820問題集   1Z0-820   1Z0-820過去問   1Z0-820練習問題

NO.3 Review the zonestat command:
zonestate -q physical -memory -R high -z -p -p zones
10 24h 60m
Select the option that correctly describes the information that is displayed by this command.
A. It is a sample of dbzone s physical memory usage taken every hour over a 24-hour period.
Only the top 10 samplings of peak memory usage are displayed.
All other utilization data is eliminated.
B. It is a sample of dbzone s CPU, virtual memory, and networking utilization.
Physical memory is executed from the report.
The sampling is taken every 10 minutes over a 24-hour period and peak utilization id displayed
each hour.
C. It is a sample of dbzone s CPU, virtual memory, and networking utilization.
Physical memory is executed from the report.
The sampling is taken every 10 minutes over a 24-hour period and displayed each hour.
D. It is a sample of dbzone s physical memory usage taken every 10 seconds and 24-hour period.
Only peak virtual memory usage and CPU utilization are displayed each hour.
All other Utilization data is eliminated.
E. It is a sample of dbzone s physical memory usage taken every 10 seconds and 24-hour period.
Only peak memory usage is displayed each hour.
All other utilization data is eliminated.
Answer: D

Oracle練習問題   1Z0-820   1Z0-820   1Z0-820   1Z0-820問題集

NO.4 Review the ZFS dataset output that is displayed on your system:
Which four correctly describe the output?
A. /data/file4 has been added.
B. The link /data/file3 has been added.
C. /data/file3 has been renamed to /data/file13.
D. /data/file4 has been modified and is now larger.
E. /data/file1 has been deleted.
F. /data/file1 has been modified and is now smaller.
G. /data/file5 has been modified.
H. /data/file3 (a link) has been removed.
Answer: A, C, E, G

Oracle認定試験   1Z0-820   1Z0-820   1Z0-820

NO.5 When setting up Automated Installer (AI) clients, an interactive tool can be used to generate a custom
system configuration profile. The profile will specify the time zone, data and time, user and root accounts,
and name services used for an AI client installation. This interactive tool will prompt you to enter the client
information and an SC profile (XML) will be created.
Which interactive tool can be used to generate this question configuration?
A. sys-unconfig
B. installadm set-criteria
C. sysconfig create-profile
D. installadm create-profile
Answer: B

Oracle認定資格   1Z0-820認定資格   1Z0-820過去問   1Z0-820過去問

NO.6 Identify the Automated Installer s (AI) equivalent to jumpStart s finish scripts and sysidcfg files.
A. Manifest files
B. SMF system configuration profile files
C. Installadm create-client
D. IPS software package repository
E. installadm create-service
F. svccfg-s application/pkg/server setprop sysidcfg
Answer: B

Oracle   1Z0-820認定証   1Z0-820過去問

NO.7 You need to set up an Oracle Solaris 11 host as an iSCSI target so that the host's disk can be accessed
over a storage network. The disk device is c3t4d0.
Which six options describe the steps that need to be taken on this host to enable an iSCSI target?
A. Create a ZFS file system named iscsi/target.
B. Create a zpool named iscsi with disk device c3t4d0
C. Create zfs volume named iscsi/target.
D. Use the stmfadm command to create a LUN using /dev/zvol/rdsk/iscsi/target.
E. Use the stmfadm command to create a LUN using iscsi/target.
F. Use the stmfadm command to make the LUN viewable.
G. Use the stmfadm command to make the volume viewable.
H. Enable the svc:/network/iscsi/target:default Service.
I. Use the itadm command to create the iSCSI target.
Answer: B, C, D, F, H, I

Oracle参考書   1Z0-820   1Z0-820   1Z0-820認証試験   1Z0-820参考書   1Z0-820

NO.8 Identify the two security features incorporated in the Oracle Solaris 11 Cryptographic Framework.
A. Layer 5 IP address encryptions
B. Internet protocol security
C. Diffie-Kerberos coaxial key encryption
D. Signed cryptographic plugins (providers)
E. Kernel support for signed antivirus plugins
Answer: D,E

Oracle認定資格   1Z0-820   1Z0-820   1Z0-820   1Z0-820練習問題

NO.9 Which five statements describe options available for installing the Oracle Solaris 11operating system
using the installation media?
A. You can perform a text or LiveCD installation locally or over the network.
B. The text Installer does not install the GNOME desktop. The GNOME desktop package must he added
after you have installed the operating system.
C. The LiveCD Installation cannot be used to install multiple instances of Oracle Solaris.
D. The LiveCD installer cannot be used if you need to preserve a specific Solaris Volume Table of
Contents (VTOC) slice in your current operating system.
E. The LiveCD Installer is for x86 platforms only.
F. The GUI installer cannot be used to upgrade your operating system from Solaris 10.
G. If you are installing Oracle Solaris 11 on an x86-based system that will have more than one operating
system installed in it, you cannot partition your disk during the installation process.
H. The LiveCD installer can be used for SPARC or x86 platforms.
Answer: A, B, D, F

Oracle   1Z0-820参考書   1Z0-820   1Z0-820認定試験

NO.10 configuring NFS on a server. Select the two statements that are true.
A. Resources listed in /etc/dfs/dfstab are automatically shared on boot up.
B. A directory cannot be shared if a subdirectory below it is already shared.
C. Renaming a share created with the zfs set share command is not supported.
D. NFS and SMB protocols cannot be used simultaneously to share the same directory.
Answer: A,C

Oracle認定試験   1Z0-820   1Z0-820   1Z0-820

2013年8月28日星期三

Oracleの1Z0-561 1Z0-581 1Z0-804 1Z0-821の試験のベストの問題集を無料でダウンロード

現在のこの社会の中で、優秀な人材が揃って、IT人材も多く、競争もとてもはげしくて、だから多くのIT者はIT認証試験に参加してIT業界での地位のために奮闘して、1Z0-561 1Z0-581 1Z0-804 1Z0-821試験はOracleの一つ重要な認証試験で、多くの人がOracle認証されたくて試験に合格しなければなりません。

IT-Passports.comのシニア専門家チームはOracle1Z0-561 1Z0-581 1Z0-804 1Z0-821試験に対してトレーニング教材を研究できました。IT-Passports.comが提供した教材を勉強ツルとしてOracle1Z0-561 1Z0-581 1Z0-804 1Z0-821認定試験に合格するのはとても簡単です。IT-Passports.comも君の100%合格率を保証いたします。

Oracle 1Z0-561 1Z0-581 1Z0-804 1Z0-821認証試験に合格することが簡単ではなくて、Oracle 1Z0-561 1Z0-581 1Z0-804 1Z0-821証明書は君にとってはIT業界に入るの一つの手づるになるかもしれません。しかし必ずしも大量の時間とエネルギーで復習しなくて、弊社が丹精にできあがった問題集を使って、試験なんて問題ではありません。

IT-Passports.comは高品質の製品を提供するだけではなく、完全なアフターサービスも提供します。当社の製品を利用したら、一年間の無料更新サービスを提供します。しかも、速いスピードで受験生の皆様に提供して差し上げます。あなたがいつでも最新の試験資料を持っていることを保証します。

IT-Passports.comのOracleの1Z0-561 1Z0-581 1Z0-804 1Z0-821試験資料を買いたかったら、弊社は最も良いサービスと最も高品質な製品を提供します。弊社の認証試験のソフトウェアはもうベンダーとサードパーティーの認可を取り、大量なIT技術専門家たちがいますから、お客さんのニーズを答えるためにアウトラインに基づいてシリーズの製品を開発して、お客様の大量の要求を満たすことを保障します。Oracleの1Z0-561 1Z0-581 1Z0-804 1Z0-821試験資料は最高の専門技術の内容を持っていますから、関連する知識の専門家と学者は研究する材料として利用することができます。弊社が提供した製品は一部の無料試用資料がありますから、購入する前にあなたのテストの質と適用性を保証します。

IT-Passports.comは毎日24時間オンラインに顧客に対してサービスを提供するアフターサービスはとても良いサイトでございます。最新な情報を1年間に無料にアップデートしております。少ないお金をかかって、一回に合格しましょう。IT-Passports.comの問題集は最大のお得だね!

試験番号:1Z0-561問題集
試験科目:Oracle 「Oracle FLEXCUBE Universal Banking 11 Basic Implementation Essentials」
問題と解答:全76問

試験番号:1Z0-581問題集
試験科目:Oracle 「Pillar Axiom 600 Storage System Essentials Exam」
問題と解答:全84問

試験番号:1Z0-804問題集
試験科目:Oracle 「Java SE 7 Programmer II Exam」
問題と解答:全150問

試験番号:1Z0-821問題集
試験科目:Oracle 「Oracle Solaris 11 System Administrator」
問題と解答:全156問

購入前にお試し,私たちの試験の質問と回答のいずれかの無料サンプルをダウンロード:http://www.it-passports.com/1Z0-804.html

NO.1 Given this error message when running your application:
Exception in thread "main" java.util.MissingResourceException: Can't find bundle for base name
MessageBundle, locale
And given that the MessageBundle.properties file has been created, exists on your disk, and is
properly formatted.
What is the cause of the error message?
A. The file is not in the environment path.
B. The file is not in the classpath.
C. The file is not in the javapath.
D. You cannot use a file to store a ResourceBundle.
Answer: D

Oracle認定資格   1Z0-804過去問   1Z0-804   1Z0-804   1Z0-804認定証

NO.2 ITEM Table
* ID, INTEGER: PK
* DESCRIP, VARCHAR(100)
* PRICE, REAL
* QUALITY, INTEGER
And given the code fragment (assuming that the SQL query is valid):
try {
String query = "SELECT * FROM Item WHERE ID=110";
Statement stmt = conn.createStatement();
ResultSet rs = stmt.executeQuery(query);
while (rs.next ()) {
System.out.println("ID: " + rs.getInt("Id"));
System.out.println("Description: " + rs.getString("Descrip"));
System.out.println("Price: " + rs.getDouble("Price"));
System.out.println("Quantity: " + rs.getInt("Quantity"));
}
} catch (SQLException se) {
System.out.println("Error");
}
What is the result of compiling and executing this code?
A. An exception is thrown at runtime
B. Compile fails
C. The code prints Error
D. The code prints information about Item 110
Answer: A

Oracle   1Z0-804   1Z0-804過去問   1Z0-804   1Z0-804

NO.3 Which code fragment demonstrates the proper way to handle JDBC resources?
A. Try {
ResultSet rs = stmt.executableQuery (query);
statement stmt = con.createStatement();
while (rs.next()) (/* . . . */)
} catch (SQLException e) {}
B. Try {statement stmt = con.createStatement();
ResultSet rs = stmt.executableQuery (query);
while (rs.next()) (/* . . . */)
} catch (SQLException e) {}
C. Try {
statement stmt = con.createStatement();
ResultSet rs = stmt.executableQuery (query);
while (rs.next()) (/* . . . */)
} finally {
rs.close();
stmt.close();
}
D. Try {ResultSet rs = stmt.executableQuery (query);
statement stmt = con.createStatement();
while (rs.next()) (/* . . . */)
} finally {
rs.close();
stmt.close();
}
Answer: C

Oracle認証試験   1Z0-804   1Z0-804参考書   1Z0-804

NO.4 Given the code fragment:
public class DisplaValues {
public void printNums (int [] nums){
for (int number: nums) {
System.err.println(number);
}
}
}
Assume the method printNums is passed a valid array containing data. Why is this method not
producing output on the console?
A. There is a compilation error.
B. There is a runtime exception.
C. The variable number is not initialized.
D. Standard error is mapped to another destination.
Answer: D

Oracle練習問題   1Z0-804認定資格   1Z0-804参考書   1Z0-804

NO.5 Given the incomplete pseudo-code for a fork/join framework application:
submit(Data) {
if(Data.size < SMALL_ENOUGH) {
_________________(Data); // line x
}
else {
List<Data> x = _________________(Data); // line Y
for(Data d: x
______________(d); // line z
}
}
And given the missing methods:
process, submit, and splitInHalf
Which three insertions properly complete the pseudo-code?
A. Insert submit at line X.
B. Insert splitInHalf at line X.
C. Insert process at line X.
D. Insert process at line Y.
E. Insert splitInHalf at line Y.
F. Insert process at line Z.
G. Insert submit at line Z.
Answer: C,E,G

Oracle   1Z0-804練習問題   1Z0-804

NO.6 Given the code fragment:
public class App {
public static void main (String [] args){
Path path = Paths.get("C:\\education\\institute\\student\\report.txt");
System.out.println("get.Name(0): %s", path.getName(0));
System.out.println ("subpath(0, 2): %s", path.subpath (0, 2));}
}
What is the result?
A. getName (0): C:\
subpath (0, 2): C:\education\report.txt
B. getName(0): C:\
subpth(0, 2): C:\education
C. getName(0): education
subpath (0, 2): education\institute
D. getName(0): education
subpath(0, 2): education\institute\student
E. getName(0): report.txt
subpath(0, 2): insritute\student
Answer: C

Oracle練習問題   1Z0-804   1Z0-804練習問題   1Z0-804問題集
Explanation: Example:
Path path = Paths.get("C:\\home\\joe\\foo");
getName(0)
-> home
subpath(0,2)
Reference: The Java Tutorial, Path Operations

NO.7 Given the code fragment:
DataFormat df;
Which statement defines a new Dateformat object that displays the default date format for the UK
Locale?
A. df = DateFormat.getdatDataInstance (DateFormat.DEFAULT, Locale (UK));
B. df = DateFormat.getdatDataInstance (DateFormat.DEFAULT, UK);
C. df = DateFormat.getdatDataInstance (DateFormat.DEFAULT, Locale.UK);
D. df = new DateFormat.getdatDataInstance (DateFormat.DEFAULT, Locale.UK);
E. df = new DateFormat.getdatDataInstance (DateFormat.DEFAULT, Locale (UK));
Answer: C

Oracle   1Z0-804   1Z0-804   1Z0-804認定試験

NO.8 Given:
import java.io.IOException;
import java.io.file.Path;
import java.io.file.Paths;
public class Path12 {
public static void main(String s[]) throws IOException {
Path path = Paths.get("\\sales\\quarter\\..\\qtrlreport.txt");
path.relativize(Paths.get("\\sales\\annualreport.txt"));
if(path.endsWith("annualreport.txt")) {
System.out.println(true);
} else {
System.out.println(false);
}
System.out.println(path);
}
}
What is the result?
A. false
\sales\quarter\ . . \qtrlreport.txt
B. false
\quarter\ . . \qtrlreport.txt
C. true
. . \ . . \ . . \ annualreport.txt
D. true
\ . . \ . . \annualreport.txt
Answer: A

Oracle   1Z0-804認定資格   1Z0-804認定試験

NO.9 Given:
public class DoubleThread {
public static void main(String[] args) {
Thread t1 = new Thread() {
public void run() {
System.out.print("Greeting");
}
};
Thread t2 = new Thread(t1); // Line 9
t2.run();
}
}
Which two are true?
A. A runtime exception is thrown on line 9.
B. No output is produced.
C. Greeting is printed once.
D. Greeting is printed twice.
E. No new threads of execution are started within the main method.
F. One new thread of execution is started within the main method.
G. Two new threads of execution are started within the main method.
Answer: C,E

Oracle参考書   1Z0-804   1Z0-804認定証

NO.10 Given:
class Deeper {
public Number getDepth() {
return 10;
}
}
Which two classes correctly override the getDepth method?
A. public class deep extends Deeper {
protected integer getDepth(){
return 5;
}
}
B. public class deep extends Deeper {
public double getDepth() {
return"5";
}
}
C. public class deep extends Deeper {
public String getDepth () {
}
}
D. public class deep extends Deeper {
public Long getDepth (int d) {
return 5L;
}
}
E. public class deep extends Deeper {
public short getDepth () {
return 5;
}
}
Answer: A,E

Oracle練習問題   1Z0-804認証試験   1Z0-804認定試験   1Z0-804認定資格   1Z0-804問題集

NO.11 Which method would you supply to a class implementing the Callable interface?
A. callable ()
B. executable ()
C. call ()
D. run ()
E. start ()
Answer: C

Oracle   1Z0-804問題集   1Z0-804   1Z0-804参考書

NO.12 Sam has designed an application. It segregates tasks that are critical and executed frequently
from tasks that are non critical and executed less frequently. He has prioritized these tasks based
on their criticality and frequency of execution. After close scrutiny, he finds that the tasks designed
to be non critical are rarely getting executed.
From what kind of problem is the application suffering?
A. race condition
B. starvation
C. deadlock
D. livelock
Answer: C

Oracle認定資格   1Z0-804認定試験   1Z0-804過去問

NO.13 Given the fragment:
public class CustomerApplication {
public static void main (String args[]) {
CustomerDAO custDao= new CustomerDAOMemoryImpl(); // Line 3
// ­ o t he r m e t hod
}
}
Which two valid alternatives to line 3 would decouple this application from a specific
implementation of CustomerDAO?
A. CustomerDAO custDao = CustomerDAO();
B. CustomerDAO custDao = (CustomerDAO) new Object ();
C. CustomerDAO custDao = CustomerDAO.getInstance();
D. CustomerDAO custDao = (CustomerDAO) new CustomerDAOmemoryImp1();
E. CustomerDAO custDao = customerDAOFactory.getInstance();
Answer: B,E

Oracle認証試験   1Z0-804過去問   1Z0-804認定証   1Z0-804   1Z0-804認定証

NO.14 Given a language code of fr and a country code of FR, which file name represents a resource
bundle file name that is not the default?
A. MessageBundle_fr_FR.properties
B. MessageBundle_fr_FR.profile
C. MessageBundle_fr_FR.xinl
D. MessageBundle__fr__FR.Java
E. MessageBundle__fr__FR.Locale
Answer: A

Oracle認定証   1Z0-804練習問題   1Z0-804   1Z0-804

NO.15 Which two codes correctly represent a standard language locale code?
A. ES
B. FR
C. U8
D. Es
E. fr
F. u8
Answer: A,D

Oracle   1Z0-804認証試験   1Z0-804認定資格   1Z0-804   1Z0-804

NO.16 Given the existing destination file, a source file only 1000 bytes long, and the code fragment:
public void process (String source, String destination) {
try (InputStream fis = new FileInputStream(source);
OutputStream fos = new FileOutputStream(destination)
) {
byte [] buff = new byte[2014];
int i;
while ((i = fis.read(buff)) != -1) {
fos.write(buff,0,i); // line ***
}
} catch (IOException e) {
System.out.println(e.getClass());
}
}
What is the result?
A. Overrides the content of the destination file with the source file content
B. Appends the content of the source file to the destination file after a new line
C. Appends the content of the source file to the destination file without a break in the flow
D. Throws a runtime exception at line***
Answer: A

Oracle参考書   1Z0-804問題集   1Z0-804認定試験

NO.17 Given:
import java.util.*;
public class AccessTest {
public static void main(String[] args) {
Thread t1 = new Thread(new WorkerThread());
Thread t2 = new Thread(new WorkerThread());
t1.start(); t2.start; // line1
}
}
class WorkPool {
static ArrayList<Integer> list = new ArrayList<>(); // line2
public static void addItem() { // line3
list.add(1); // Line4
}
}
class WorkerThread implements Runnable {
static Object bar = new Object ();
public void run() { //line5
for (int i=0; i<5000;i++) WorkPool.addItem(); // line6
}
}
Which of the four are valid modifications to synchronize access to the valid list between threads t1
and t2?
A. Replace line 1 with:
Synchronized (t2) (t1.start();) synchronized(t1) (t2.start();)
B. Replace Line 2 with:
static CopyWriteArrayList<Integer> list = new CopyWriteArrayList<>();
C. Replace line 3 with:
synchronized public static void addItem () {
D. Replace line 4 with:
synchronized (list) (list.add(1);)
E. Replace line 5 with:
Synchronized public void run () {
F. replace line 6 with:
Synchronized (this) {for (in i = 0, i<5000, i++) WorkPool.addItem(); }
G. Replace line 6 with:
synchronized (bar) {for (int i= 0; i<5000; i++) WorkPool.addItem(); }
Answer: F

Oracle練習問題   1Z0-804   1Z0-804認定試験   1Z0-804過去問

NO.18 To provide meaningful output for:
System.out.print( new Item ()):
A method with which signature should be added to the Item class?
A. public String asString()
B. public Object asString()
C. public Item asString()
D. public String toString()
E. public object toString()
F. public Item toString()
Answer: D

Oracle   1Z0-804認定資格   1Z0-804   1Z0-804

NO.19 Give:
Class Employee {
public int checkEmail() {/* . . . */}
public void sendEmail (String email) {/* . . . */}
public Boolean validDateEmail(){/* . . . */}
public void printLetter (String letter) {/* . . . */}
}
Which is correct?
A. Employee takes advantage of composition.
B. Employee "has-an" Email.
C. Employee "is-a" LetterPrinter.
D. Employee has low cohesion.
Answer: D

Oracle認定試験   1Z0-804   1Z0-804   1Z0-804認定試験   1Z0-804認証試験

NO.20 Which two demonstrate the valid usage of the keyword synchronized?
A. interface ThreadSafe {
synchronized void doIt();
}
B. abstract class ThreadSafe {
synchronized abstract void doIt();
}
C. class ThreadSafe {
synchronized static void soIt () {}
}
D. enum ThreadSafe {
ONE, TWO, Three;
Synchronized final void doIt () {}
}
Answer: C

Oracle   1Z0-804認定資格   1Z0-804参考書   1Z0-804