This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

query

 
Kartik Mahadevan
Ranch Hand
Posts: 47
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hii

In system.out.println ,System is the name of a class and out is also the name of an object printstream which has a method println engraved in it.
Is it true??

Thanks
Regards
M.Kartik
 
Premil Jacob
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Systemclass has a variable called out which is of type PrintStream. The PrintStream class has a function called println. In the System class the PrintStream is already open and ready to accept output data.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic