What's the meaning of System.out.println in Java?

后端 未结 19 836
谎友^
谎友^ 2020-11-27 11:49

Is this static println function in out class from System namespace?

namespace System {
  class out {
    static println ...         


        
19条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-11-27 12:23

    System is a class in java.lang package.

    out is the static data member in System class and reference variable of PrintStream class.

    Println() is a normal (overloaded) method of PrintStream class.

提交回复
热议问题