当前位置: 技术问答>java相关
请问java.lang.System是一个类吧??那么System.out.print()中的out充当什么角色呢?还是类???
来源: 互联网 发布时间:2015-02-11
本文导语: | out is a static instance of PrintStream class in System class: class System { .... static PrintStream out; }
|
out is a static instance of PrintStream class in System class:
class System
{
....
static PrintStream out;
}
class System
{
....
static PrintStream out;
}