Eclipse usage and tips 23: view the JDK source code

Source: Internet
Author: User

If you can read the typical JDKCodeTo improve your own level. In my practical work, I have summarized two methods to read the JDK source code. First download androidSource codeDirectly in the android source code, although the Code here is not a standard JDK source code, it is also very good to see. Another method that I have been using since I got familiar with Java is to directly access the JDK source code without downloading other files.
Step 1: In eclipse, press Ctrl + Right-click to access the string class


Step 2: select change attached source on the blank eclipse page to open the dialog box.


Step 3: In the pop-up dialog box, select External file, find a src.zip file under the jdkdirectory installed, and click OK to view the source code of the string class.

 

last article Article , eclipse usage and tips 22: Quickly adjust the font size:
http://blog.csdn.net/maybe_windleave/article/details/9568487

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.