what happens if I invoke the method mark(int n) where n is greater then the size of buffer used in the constructor?It's supposed to work.
Does mark use own buffer, or it resizes the existing buffer?It isn't specified.
Does skip() work without using mark(), or I have to invoke mark() before I invoke skip()? Is it possibble to skip forward beyond the given buffersize/marklimit?skip() has nothing to do with mark. It just reads ahead without returning the skipped data.