Printer

  • The Printer interface provides a simple way to print text to various outputs.

  • It includes a single println method to write a line of text without needing a newline character.

public interface Printer

Simple interface for printing text, allowing redirection to various targets.

Public Method Summary

abstract void
println(String x)
Write a line of text to the output.

Public Methods

public abstract void println (String x)

Write a line of text to the output. There is no need to terminate the given string with a newline.

Parameters
x