Java BufferedReader markSupported() method example

HQ » Java Tutorial » » BufferedReader » markSupported() method example
Java BufferedReader markSupported() method example 2018-02-16T07:27:50+00:00 markSupported()

Description :

This java tutorial shows how to use the markSupported() method of BufferedReader class of package. This method returns true if mark() operation of the same BufferedReader class were supported. This method overrides the markSupported() method of Reader class.

Method Syntax :

public boolean markSupported()

Parameter Input :

DataType Parameter Description

Method Returns :

This method simply returns true if the underlying stream is supporting the mark() operation otherwise false.

Compatibility Version :

Requires Java 1.1 and up

Exception :


Java Code Example :

This java example source code demonstrates the use of markSupported() method of BufferedReader class.

Sample Output :

Running the markSupported() method example source code of BufferedReader class will give you the following output

Exception Scenario :


Similar Method :

  • N/A

Suggested Reading List :

References :

Contact Info


Our Goal

JavaTutorialHQ aims to to be The Ultimate Guide on Java with hundreds of examples from basic to advance Topics.

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.