Question: Which statements about the Files methods lines() and readAllLines() are correct? (Choose two.) A. They have different return types. B. The readAllLines() method is always
Which statements about the Files methods lines() and readAllLines() are correct? (Choose two.)
A. They have different return types.
B. The readAllLines() method is always faster.
C. The lines() may require more memory.
D. They have the same return type.
E. The lines() method is always faster.
F. The readAllLines() method may require more memory.
Step by Step Solution
3.43 Rating (150 Votes )
There are 3 Steps involved in it
The statements about the Files methods lines and readAllLines that are correct are A They have different return types C The lines method may require m... View full answer
Get step-by-step solutions from verified subject matter experts
