Just wondering System.out.println()

后端 未结 6 1850
故里飘歌
故里飘歌 2021-01-24 10:53

Just asking if I have the right understanding

System.out.println();

System is the package out is the class println() is the method

If t

6条回答
  •  清歌不尽
    2021-01-24 11:38

    System = class
    out = static object of the PrintStream class
    println() = method
    

    read this http://docs.oracle.com/javase/1.4.2/docs/api/java/lang/System.html

提交回复
热议问题