I have seen several ways to read text from a file and convert itinto a string but I would like to know the best way to do this. Ihave seen FileInputStreams, FileReaders, and use of a bufferedreader. I wanted to know the easiest way to do this.
String s=""; // string = "" by default, but i just fell betterinitalisingwhile ( ... ){s = s + read string}