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

Oracle 1z0-829 Dumps

Page: 1 / 5
Total 50 questions

Java SE 17 Developer Questions and Answers

Question 1

Given the course table:

as

Given the code fragment:

as

Options:

A.

2

B.

false

C.

true

D.

1

Question 2

Which statement is true about modules?

Options:

A.

Automatic and unnamed modules are on the module path.

B.

Only unnamed modules are on the module path.

C.

Automatic and named modules are on the module path.

D.

Only named modules are on the module path.

E.

Only automatic modules are on the module path.

Question 3

Given:

as

What is the result?

Options:

A.

1 RAINY

B.

Compilation fails

C.

1 Snowy

D.

0 CLOUDY

E.

0 Snowy

Question 4

Given the code fragments:

as

Which is true?

Options:

A.

The program prints t1 : 1: t2 : 1: t1 : t2 : 2 : in random order.

B.

The program prints t1 : 1 : t2: 1 : t1 : 2 : t2: 2:

C.

The program prints t1 : 1: t2 : 1: t1 : 1 : t2 : 1 : indefinitely

D.

The program prints an exception

Question 5

Given:

as

What is the result?

Options:

A.

Software Game Chess 0

B.

Software Game Software Game Chese 2

C.

Software game write error

D.

Software Game Software Game chess 0

E.

Software Game Chess 2

F.

Software Game read error

Question 6

Assume you have an automatic module from the module path display-ascii-0.2. jar. Which name is given to the automatic module based on the given JAR file?

Options:

A.

Display.ascii

B.

Display-ascii-0.2

C.

Display-ascii

D.

Display-ascii-0

Question 7

Given the code fragment:

as

What is the result?

Options:

A.

False true true optional (Newyear)

B.

0110

C.

True true false NewYear

D.

010 optional (Newyear)

Question 8

Given the code fragment:

as

What is the result:

Options:

A.

ADEABCB // the order of element is unpredictable

B.

ABCE

C.

ABCDE // the order of elements is unpredictable

D.

ABBCDE // the order of elements is unpredictable

Question 9

Given the code fragment:

as

Which code fragment invokes all callable objects in the workers set?

A)

as

B)

as

C)

as

D)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

Question 10

Given:

as

Options:

A.

Hello

B.

Compilation fails

C.

A NumberFormatException is thrown

D.

there

Question 11

Which two code fragments compile?

A)

as

B)

as

C)

as

D)

as

E)

as

Options:

A.

Option A

B.

Option B

C.

Option C

D.

Option D

E.

Option E

Question 12

Given:

as

What is the result?

Options:

A.

Tablechair Tablechair

B.

Wtablechair tableChair

C.

A RuntimeException is thrown

D.

wTableChair TableChair

E.

Compilation fails

Question 13

Given the code fragment:

as

Which code fragment returns different values?

Options:

A.

int sum = listOfNumbers. parallelStream () reduce (5, Integer:: sum) ;

B.

int sum = listOfNumbers. Stream () reduce (5, (a, b) -> a + b) ;

C.

int sum = listOfNumbers. Stream () reduce ( Integer:: sum) ; +5;

D.

int sum = listOfNumbers. parallelStream () reduce ({m, n) -> m +n) orElse (5) +5;

E.

int sum = listOfNumbers. Stream () reduce (0, Integer:: sum) + 5

Question 14

Given:

as

Which two should the module-info file include for it to represent the service provider interface?

Options:

A.

Requires cm.transport.vehicle,cars:

B.

Provides.com.transport.vehicle.cars.Car with com.transport.vehicle.cars. impt, CatImpI;

C.

Requires cm.transport.vehicle,cars:

D.

Provides.com.transport.vehicle.cars.Car impl,CarImp1 to com.transport.vehicle.cars. Cars

E.

exports com.transport.vehicle.cars.Car;

F.

Exports com.transport.vehicle.cars;

G.

Exports com.transport.vehicle;

Question 15

Given:

as

What is the result

Options:

A.

Marketing

Finance

Technical

B.

Marketing

Undefined

C.

UnDefined

D.

Marketing

Page: 1 / 5
Total 50 questions