• Post Reply Bookmark Topic Watch Topic
  • New Topic

"out" field of System class???  RSS feed

 
Waez Ali
Ranch Hand
Posts: 43
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I want to know

1)when and how does printStream out field in the System Class gets initialize?

2)can I know (just in brief) which classes get instantiated when we
run a java program?

3)Is java open source code?can i see the implementation of its built in methods?

Thanks...
 
Jeroen Wenting
Ranch Hand
Posts: 5093
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) when needed. Probably during JVM initialisation.
2) yes, check your commandline options for the Java runtime.
3) no. yes.
 
Ilja Preuss
author
Sheriff
Posts: 14112
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To be more specific regarding 3), there should be a src.zip or src.jar coming with your JDK.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!