Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

System.out.println  RSS feed

 
feroz muhamed
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
please give the hirarchy explanation of System.out.println()
 
Avi Abrami
Ranch Hand
Posts: 1141
1
Java Oracle
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Feroz,
I don't know if this answers your question, but here goes, anyway:
"out" is a (public) static member of class "System".
"out" is an instance of class "java.io.PrintStream".
"println()" is a method defined in class "java.io.PrintStream".
Good Luck,
Avi.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!