Write a program that reads all lines from a file and, using a Stream , prints how

Question:

Write a program that reads all lines from a file and, using a Stream, prints how many of them contain the word “the”.

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  book-img-for-question
Question Posted: