This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

can I see the source code when I read java API

 
lijun wang
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can I see the source code when I read java API, is there a link I can click to see the source code for that API?
thanks
 
Keith Lynn
Ranch Hand
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For the methods that aren't native, you can see their implementation by unzipping the file src.zip that usually comes with the JDK. It contains the same package structure as the API and you can see the source code.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic