If i use BufferedReader created by using FileReader object as the parameter to its constructor
like FileReader fr = new FileReader("a.txt");
BufferedReader br = new BufferedReader(fr);
and now i read contents like this way
StringBuffer sb = new StringBuffer();
while(br.read()!=-1)
{
sb.append(br.readLine());
}
Now suppose my contents
of a.txt are like this way
hello world
I m fine
how are you
then contents of stringbuffer made come out to be
ello world
I m fine
ow are you
That means it skips characters at position 1
then how can i retrieve the full contents of a.txt in my stringbuffer
