Java's built-in libraries implementation

后端 未结 4 931
[愿得一人]
[愿得一人] 2021-01-23 05:47

Does anyone happen to know where, if at all possible, I can take a look at the code of the java\'s built-in libraries?

I\'ve tried Ctrl + Shift + B (which

4条回答
  •  星月不相逢
    2021-01-23 06:24

    Sure, JDK is distributed with sources, you can conveniently open them in your IDE. Look for "src.jar".

    It probably already is set up. In Eclipse, just try to Ctrl-Shift-T something like "java.lang.String".

    A web search will also turn up nicely linked and formatted pages.

提交回复
热议问题