System.out.println() is a method to a field?

java

Solution

since `System.out` is a (reference to an instance of) PrintStream, we can write `System.out.println()` as:

    PrintStream output = System.out;
    output.println();

Problem

if out is a field to the System class. how is it that you can use println() method in a field? and where does this println() method come from, i cant find it in the System class.

Original source