java - What is the value of out field in System class? -


i understand out field in system class , reference object of printstream print(system.out.getclass()); returns class java.io.printstream.

also presume declaration of out in system class should public static printstream out;

my query here value of 'out' field in system class.
can not like
public static printstream out = new printstream(system.out);

just curious

when check source code of system class, can see set via native method calls:

 private static native void setout0(printstream out); 

Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -