Oracle Java SE 8 Programmer II 1z0-809 Question # 26 Topic 3 Discussion

Oracle Java SE 8 Programmer II 1z0-809 Question # 26 Topic 3 Discussion

1z0-809 Exam Topic 3 Question 26 Discussion:
Question #: 26
Topic #: 3

Given the code fragment:

1z0-809 Question 26

Which should be inserted into line n1 to print Average = 2.5?


A.

IntStream str = Stream.of (1, 2, 3, 4);


B.

IntStream str = IntStream.of (1, 2, 3, 4);


C.

DoubleStream str = Stream.of (1.0, 2.0, 3.0, 4.0);


D.

Stream str = Stream.of (1, 2, 3, 4);


Get Premium 1z0-809 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.