yes it says use this method:
public int countChars(Inpu tStream input) throws IOException
{
int count = 0;
BufferedInputSt ream input2 = new BufferedInputSt ream(input);
while(input2.re ad() != -1)
{
count++;
}
return count;
}
but how? what does it mean by 'use' it?
public int countChars(Inpu tStream input) throws IOException
{
int count = 0;
BufferedInputSt ream input2 = new BufferedInputSt ream(input);
while(input2.re ad() != -1)
{
count++;
}
return count;
}
but how? what does it mean by 'use' it?
Comment