Which of the following statements is false?

a. Files method lines creates a String containing the lines of text from a file.
b. Stream method flatMap receives a Function that maps an object into a stream—e.g., a line of text into words.
c. Pattern method splitAsStream uses a regular expression to tokenize a String.
d. Collectors method groupingBy with three arguments receives a classifier, a Map factory and a downstream Collector.


a. Files method lines creates a String containing the lines of text from a file. Actually, Files method lines creates a Stream for reading the lines of text from a file.

Computer Science & Information Technology

You might also like to view...

Which of the following statements is false?

a. Variables declared in the body of a particular method are local variables and can be used only in that method. b. A method’s parameters are local variables of the method. c. Every method’s body is delimited by left and right braces ({ and }). d. Keyword null indicates that a method will perform a task but will not return any information.

Computer Science & Information Technology

When all tables in a database meet the criteria for the first three normal forms, it is said to be in ________

A) 0NF B) 1NF C) 2NF D) 3NF

Computer Science & Information Technology

Match the following descriptions, sections, and categories to the following PowerPoint features:

I. Error, Warning, Tip II. Comments and Annotations, Custom XML Data, Off-Slide Content III. features not supported by PowerPoint 97-2003 IV. deactivates PowerPoint tools V. encryption A. Compatibility Checker B. Mark as Final C. Document Inspector D. Set a Password E. Accessibility Checker

Computer Science & Information Technology

You must apply text wrapping to a graphic in order to move it independently of text.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology