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

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

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

namespace System {
  class out {
    static println ...         


        
19条回答
  •  半阙折子戏
    2020-11-27 12:21

    System: is predefined class of java.lang package.

    out: is a static member of printStream class and its connect with console.

    Println: is a method of printstream class and its not a static.

提交回复
热议问题