Which of the following statements is false?

a. Class SecureRandom’s methods ints, longs and doubles (inherited from class Random) return IntStream, LongStream and DoubleStream, respectively, for streams of random numbers.
b. SecureRandom method ints with no arguments creates an IntStream for an infinite stream of random int values.
c. An infinite stream is a stream with an unknown number of elements—you use an intermediate operation to complete processing on an infinite stream.
d. SecureRandom method ints with a long argument creates an IntStream with the specified number of random int values.

c. An infinite stream is a stream with an unknown number of elements—you use an intermediate operation to complete processing on an infinite stream. Actually, you use a short-circuiting terminal operation to complete processing on an infinite stream.

Computer Science & Information Technology

You might also like to view...

DBMS stands for Database ________ System

Fill in the blank(s) with correct word

Computer Science & Information Technology

A column chart is useful for showing data changes over a period of time or for illustrating comparisons among items

Indicate whether the statement is true or false

Computer Science & Information Technology