out in System.out.println()

后端 未结 8 1041
刺人心
刺人心 2020-12-01 03:26

Firstly regrets if this is a very basic question and i promote that I\'m still a code monkey. I was asked in an interview to elucidate System.out.println(); I explained the

8条回答
  •  不思量自难忘°
    2020-12-01 03:50

    Out in System.out.pritln is a static field (object) of PrintWriter in System class and println is a method of PrintWriter.

    Reference : System : http://docs.oracle.com/javase/6/docs/api/java/lang/System.html PrintWriter : http://docs.oracle.com/javase/6/docs/api/java/io/PrintWriter.html

提交回复
热议问题