bugl
bugl
HomeLearnPatternsPathsSearch
HomeLearnPatternsPathsSearch

Loading lesson path

Learn/Java/Java Reference
Java•Java Reference

Java BufferedWriter Methods

Flash cards

Review the key moves

1/3
Core idea

What is the main idea behind Java BufferedWriter Methods?

Lesson checks

Practice each idea before moving on

Short Mimo-style checks built from this lesson's code, terms, and sequence.

1Quick choice

Which statement best captures the main point of this lesson?

2Order

Put the learning moves in the order that makes the concept easiest to apply.

Java I/O Streams Tutorial
The BufferedWriter class provides methods to write text efficiently:
BufferedWriter Methods

BufferedWriter Methods

The BufferedWriter class provides methods to write text efficiently:

MethodDescriptionReturn Type
close()Closes the stream, flushing it firstvoid
flush()Forces any buffered output to be written immediatelyvoid
newLine()Writes the system's line separatorvoid
write()Writes a single character, an array, a portion of an array, a string, or part of a stringvoid
append()Appends characters or character sequences to the writerWriter

Related Pages

Java I/O Streams Tutorial

Previous

Java BufferedReader Methods

Next

Java Iterator Interface