(The file includes a paragraph)
A rainy day is the bearer of good weather with refrigerating breeze and rain showers. It refreshes everyone by making the climate cool and delightsome and brings in a sigh of relief from the scorching heat. Rainy day gives us relief from the usually hot and humid climate.
Can I just save the entire paragraph to a single String variable (say its called "fullStory")?
File story = new File("story.txt");
//Help read words in file
FileInputStream fileStr1 = new FileInputStream(story);
//Reads one character
InputStreamReader input_1 = new InputStreamReader(fileStr1);
//BufferedReader reads from the input stream
BufferedReader wordReader1 = new BufferedReader(input_1);