Java BufferedReader skip()方法与示例

BufferedReader类skip()方法 (BufferedReader Class skip() method)

  • skip() method is available in java.io package.

    skip()方法在java.io包中可用。

  • skip() method is used to skip the given number of bytes of characters (n_bytes_of_char) from this BufferedReader.

    skip()方法用于从此BufferedReader中跳过给定字节数的字符(n_bytes_of_char)。

  • skip() method is a non-static method, it is accessible with the class object only and if we try to access the method with the class name then we will get an error.

    skip()方法是一种非静态方法,只能通过类对象访问,如果尝试使用类名称访问该方法,则会收到错误消息。

  • skip() method may throw an exception at the time skipping bytes.

    skip()方法在跳过字节时可能会引发异

你可能感兴趣的:(java,python,leetcode,spring,jvm)