G
G
go2goj2019-12-08 19:19:32
Java
go2goj, 2019-12-08 19:19:32

How does java get to the System.out.print() method?

How does java get to the System.out.print() method if the out variable of the System class (look at the standard libraries) is null and not a PrintStream object? Moreover, the print() method of the PrintStream class is not static, so that it could be reached through null.
public final static PrintStream out = null;

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
D3lphi, 2019-12-08
@go2goj

Learn to google

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question