Weekend Sale Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Oracle Certification 1z0-829 Exam Dumps

Page: 3 / 4
Total 50 questions

Java SE 17 Developer Questions and Answers

Question 9

Given:

What is the result?

Options:

A.

1001

1001

1000

B.

101

101

1000

C.

100

100

1000

D.

1001

100

1000

Question 10

Which two code fragments compile?

A)

B)

C)

D)

E)

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Question 11

Given:

Which statement is true?

Options:

A.

The program throws StockException.

B.

The program fails to compile.

C.

The program throws outofStockException.

D.

The program throws ClassCastException

Question 12

Given the code fragment:

What is the result?

Options:

A.

0

B.

2

C.

-2

D.

2

2

0

E.

1

1

1

F.

1

2

-4

Page: 3 / 4
Total 50 questions