posted 23 years ago
Both clear the contents of the buffer. clearBuffer() merely clears the buffer but doesn't throw IOException if the buffer has already been flushed when clear() does.
BTW, pls revisit the Policies of login name and displayed name when you registered. "Use a fist name, a space, and a last name. No commas or underscores, and the last name must be more than one letter. Obviously fictitious names or improperly formatted names may be locked out. "
Yan Naing Wynn Tint (SCJP2, SCWCD)