| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:9c228ad0-5a31-8d18-7ecc-eebfe1eed887 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C3F2:3B1A85:1E6FA35:294737A:6A654DEC |
| html-safe-nonce | bcfb1f0f34b2880a06b8370c7d9b2f755027a0033fcf0878b100360440a2ba99 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDM0YyOjNCMUE4NToxRTZGQTM1OjI5NDczN0E6NkE2NTRERUMiLCJ2aXNpdG9yX2lkIjoiMzM2NTA0ODM5NzkyNjMyMTY0NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 7422408bc1d063307a8f28984d5e6eeb1b3d1e25e47b5016ed2f91b0bfe85f77 |
| hovercard-subject-tag | repository:227958844 |
| github-keyboard-shortcuts | repository,source-code,file-tree,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///blob/show |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md |
| twitter:image | https://opengraph.githubassets.com/eda6585fd164feecafd65c766fde60c21b2842d7f63f4623924d2ead2947a3ec/alphaol/JavaGuide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eda6585fd164feecafd65c766fde60c21b2842d7f63f4623924d2ead2947a3ec/alphaol/JavaGuide |
| og:image:alt | 【Java学习+面试指南】 一份涵盖大部分Java程序员所需要掌握的核心知识。. Contribute to alphaol/JavaGuide development by creating an account on GitHub. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-cache |
| go-import | github.com/alphaol/JavaGuide git https://github.com/alphaol/JavaGuide.git |
| octolytics-dimension-user_id | 34622166 |
| octolytics-dimension-user_login | alphaol |
| octolytics-dimension-repository_id | 227958844 |
| octolytics-dimension-repository_nwo | alphaol/JavaGuide |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | true |
| octolytics-dimension-repository_parent_id | 132464395 |
| octolytics-dimension-repository_parent_nwo | Snailclimb/JavaGuide |
| octolytics-dimension-repository_network_root_id | 132464395 |
| octolytics-dimension-repository_network_root_nwo | Snailclimb/JavaGuide |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Falphaol%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2FJava%25E5%259F%25BA%25E7%25A1%2580%25E7%259F%25A5%25E8%25AF%2586.md |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| Code QualityEnforce quality at merge | https://github.com/features/code-quality |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Falphaol%2FJavaGuide%2Fblob%2Fmaster%2Fdocs%2Fjava%2FJava%25E5%259F%25BA%25E7%25A1%2580%25E7%259F%25A5%25E8%25AF%2586.md |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fblob%2Fshow&source=header-repo&source_repo=alphaol%2FJavaGuide |
| Reload | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md |
| Reload | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md |
| Reload | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md |
| Please reload this page | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md |
|
alphaol
| https://github.com/alphaol |
| JavaGuide | https://github.com/alphaol/JavaGuide |
| Snailclimb/JavaGuide | https://github.com/Snailclimb/JavaGuide |
|
Notifications
| https://github.com/login?return_to=%2Falphaol%2FJavaGuide |
|
Fork
0
| https://github.com/login?return_to=%2Falphaol%2FJavaGuide |
|
Star
0
| https://github.com/login?return_to=%2Falphaol%2FJavaGuide |
|
Code
| https://github.com/alphaol/JavaGuide |
|
Pull requests
0
| https://github.com/alphaol/JavaGuide/pulls |
|
Actions
| https://github.com/alphaol/JavaGuide/actions |
|
Projects
| https://github.com/alphaol/JavaGuide/projects |
|
Security and quality
0
| https://github.com/alphaol/JavaGuide/security |
|
Insights
| https://github.com/alphaol/JavaGuide/pulse |
|
Code
| https://github.com/alphaol/JavaGuide |
|
Pull requests
| https://github.com/alphaol/JavaGuide/pulls |
|
Actions
| https://github.com/alphaol/JavaGuide/actions |
|
Projects
| https://github.com/alphaol/JavaGuide/projects |
|
Security and quality
| https://github.com/alphaol/JavaGuide/security |
|
Insights
| https://github.com/alphaol/JavaGuide/pulse |
| https://github.com/alphaol/JavaGuide |
| JavaGuide | https://github.com/alphaol/JavaGuide/tree/master |
| docs | https://github.com/alphaol/JavaGuide/tree/master/docs |
| java | https://github.com/alphaol/JavaGuide/tree/master/docs/java |
| History | https://github.com/alphaol/JavaGuide/commits/master/docs/java/Java%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86.md |
| https://github.com/alphaol/JavaGuide/commits/master/docs/java/Java%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86.md |
| JavaGuide | https://github.com/alphaol/JavaGuide/tree/master |
| docs | https://github.com/alphaol/JavaGuide/tree/master/docs |
| java | https://github.com/alphaol/JavaGuide/tree/master/docs/java |
| Raw | https://github.com/alphaol/JavaGuide/raw/refs/heads/master/docs/java/Java%E5%9F%BA%E7%A1%80%E7%9F%A5%E8%AF%86.md |
| 公众号 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%85%AC%E4%BC%97%E5%8F%B7 |
| 1. 面向对象和面向过程的区别 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#1-%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E5%92%8C%E9%9D%A2%E5%90%91%E8%BF%87%E7%A8%8B%E7%9A%84%E5%8C%BA%E5%88%AB |
| 2. Java 语言有哪些特点? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#2-java-%E8%AF%AD%E8%A8%80%E6%9C%89%E5%93%AA%E4%BA%9B%E7%89%B9%E7%82%B9 |
| 3. 关于 JVM JDK 和 JRE 最详细通俗的解答 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#3-%E5%85%B3%E4%BA%8E-jvm-jdk-%E5%92%8C-jre-%E6%9C%80%E8%AF%A6%E7%BB%86%E9%80%9A%E4%BF%97%E7%9A%84%E8%A7%A3%E7%AD%94 |
| JVM | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#jvm |
| JDK 和 JRE | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#jdk-%E5%92%8C-jre |
| 4. Oracle JDK 和 OpenJDK 的对比 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#4-oracle-jdk-%E5%92%8C-openjdk-%E7%9A%84%E5%AF%B9%E6%AF%94 |
| 5. Java和C++的区别? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#5-java%E5%92%8Cc%E7%9A%84%E5%8C%BA%E5%88%AB |
| 6. 什么是 Java 程序的主类 应用程序和小程序的主类有何不同? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#6-%E4%BB%80%E4%B9%88%E6%98%AF-java-%E7%A8%8B%E5%BA%8F%E7%9A%84%E4%B8%BB%E7%B1%BB-%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E5%92%8C%E5%B0%8F%E7%A8%8B%E5%BA%8F%E7%9A%84%E4%B8%BB%E7%B1%BB%E6%9C%89%E4%BD%95%E4%B8%8D%E5%90%8C |
| 7. Java 应用程序与小程序之间有哪些差别? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#7-java-%E5%BA%94%E7%94%A8%E7%A8%8B%E5%BA%8F%E4%B8%8E%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B9%8B%E9%97%B4%E6%9C%89%E5%93%AA%E4%BA%9B%E5%B7%AE%E5%88%AB |
| 8. 字符型常量和字符串常量的区别? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#8-%E5%AD%97%E7%AC%A6%E5%9E%8B%E5%B8%B8%E9%87%8F%E5%92%8C%E5%AD%97%E7%AC%A6%E4%B8%B2%E5%B8%B8%E9%87%8F%E7%9A%84%E5%8C%BA%E5%88%AB |
| 9. 构造器 Constructor 是否可被 override? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#9-%E6%9E%84%E9%80%A0%E5%99%A8-constructor-%E6%98%AF%E5%90%A6%E5%8F%AF%E8%A2%AB-override |
| 10. 重载和重写的区别 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#10-%E9%87%8D%E8%BD%BD%E5%92%8C%E9%87%8D%E5%86%99%E7%9A%84%E5%8C%BA%E5%88%AB |
| 11. Java 面向对象编程三大特性: 封装 继承 多态 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#11-java-%E9%9D%A2%E5%90%91%E5%AF%B9%E8%B1%A1%E7%BC%96%E7%A8%8B%E4%B8%89%E5%A4%A7%E7%89%B9%E6%80%A7-%E5%B0%81%E8%A3%85-%E7%BB%A7%E6%89%BF-%E5%A4%9A%E6%80%81 |
| 封装 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%B0%81%E8%A3%85 |
| 继承 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E7%BB%A7%E6%89%BF |
| 多态 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%A4%9A%E6%80%81 |
| 12. String StringBuffer 和 StringBuilder 的区别是什么? String 为什么是不可变的? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#12-string-stringbuffer-%E5%92%8C-stringbuilder-%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88-string-%E4%B8%BA%E4%BB%80%E4%B9%88%E6%98%AF%E4%B8%8D%E5%8F%AF%E5%8F%98%E7%9A%84 |
| 13. 自动装箱与拆箱 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#13-%E8%87%AA%E5%8A%A8%E8%A3%85%E7%AE%B1%E4%B8%8E%E6%8B%86%E7%AE%B1 |
| 14. 在一个静态方法内调用一个非静态成员为什么是非法的? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#14-%E5%9C%A8%E4%B8%80%E4%B8%AA%E9%9D%99%E6%80%81%E6%96%B9%E6%B3%95%E5%86%85%E8%B0%83%E7%94%A8%E4%B8%80%E4%B8%AA%E9%9D%9E%E9%9D%99%E6%80%81%E6%88%90%E5%91%98%E4%B8%BA%E4%BB%80%E4%B9%88%E6%98%AF%E9%9D%9E%E6%B3%95%E7%9A%84 |
| 15. 在 Java 中定义一个不做事且没有参数的构造方法的作用 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#15-%E5%9C%A8-java-%E4%B8%AD%E5%AE%9A%E4%B9%89%E4%B8%80%E4%B8%AA%E4%B8%8D%E5%81%9A%E4%BA%8B%E4%B8%94%E6%B2%A1%E6%9C%89%E5%8F%82%E6%95%B0%E7%9A%84%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E7%9A%84%E4%BD%9C%E7%94%A8 |
| 16. import java和javax有什么区别? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#16-import-java%E5%92%8Cjavax%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB |
| 17. 接口和抽象类的区别是什么? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#17-%E6%8E%A5%E5%8F%A3%E5%92%8C%E6%8A%BD%E8%B1%A1%E7%B1%BB%E7%9A%84%E5%8C%BA%E5%88%AB%E6%98%AF%E4%BB%80%E4%B9%88 |
| 18. 成员变量与局部变量的区别有哪些? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#18-%E6%88%90%E5%91%98%E5%8F%98%E9%87%8F%E4%B8%8E%E5%B1%80%E9%83%A8%E5%8F%98%E9%87%8F%E7%9A%84%E5%8C%BA%E5%88%AB%E6%9C%89%E5%93%AA%E4%BA%9B |
| 19. 创建一个对象用什么运算符?对象实体与对象引用有何不同? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#19-%E5%88%9B%E5%BB%BA%E4%B8%80%E4%B8%AA%E5%AF%B9%E8%B1%A1%E7%94%A8%E4%BB%80%E4%B9%88%E8%BF%90%E7%AE%97%E7%AC%A6%E5%AF%B9%E8%B1%A1%E5%AE%9E%E4%BD%93%E4%B8%8E%E5%AF%B9%E8%B1%A1%E5%BC%95%E7%94%A8%E6%9C%89%E4%BD%95%E4%B8%8D%E5%90%8C |
| 20. 什么是方法的返回值?返回值在类的方法里的作用是什么? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#20-%E4%BB%80%E4%B9%88%E6%98%AF%E6%96%B9%E6%B3%95%E7%9A%84%E8%BF%94%E5%9B%9E%E5%80%BC%E8%BF%94%E5%9B%9E%E5%80%BC%E5%9C%A8%E7%B1%BB%E7%9A%84%E6%96%B9%E6%B3%95%E9%87%8C%E7%9A%84%E4%BD%9C%E7%94%A8%E6%98%AF%E4%BB%80%E4%B9%88 |
| 21. 一个类的构造方法的作用是什么? 若一个类没有声明构造方法,该程序能正确执行吗? 为什么? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#21-%E4%B8%80%E4%B8%AA%E7%B1%BB%E7%9A%84%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E7%9A%84%E4%BD%9C%E7%94%A8%E6%98%AF%E4%BB%80%E4%B9%88-%E8%8B%A5%E4%B8%80%E4%B8%AA%E7%B1%BB%E6%B2%A1%E6%9C%89%E5%A3%B0%E6%98%8E%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E8%AF%A5%E7%A8%8B%E5%BA%8F%E8%83%BD%E6%AD%A3%E7%A1%AE%E6%89%A7%E8%A1%8C%E5%90%97-%E4%B8%BA%E4%BB%80%E4%B9%88 |
| 22. 构造方法有哪些特性? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#22-%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E6%9C%89%E5%93%AA%E4%BA%9B%E7%89%B9%E6%80%A7 |
| 23. 静态方法和实例方法有何不同 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#23-%E9%9D%99%E6%80%81%E6%96%B9%E6%B3%95%E5%92%8C%E5%AE%9E%E4%BE%8B%E6%96%B9%E6%B3%95%E6%9C%89%E4%BD%95%E4%B8%8D%E5%90%8C |
| 24. 对象的相等与指向他们的引用相等,两者有什么不同? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#24-%E5%AF%B9%E8%B1%A1%E7%9A%84%E7%9B%B8%E7%AD%89%E4%B8%8E%E6%8C%87%E5%90%91%E4%BB%96%E4%BB%AC%E7%9A%84%E5%BC%95%E7%94%A8%E7%9B%B8%E7%AD%89%E4%B8%A4%E8%80%85%E6%9C%89%E4%BB%80%E4%B9%88%E4%B8%8D%E5%90%8C |
| 25. 在调用子类构造方法之前会先调用父类没有参数的构造方法,其目的是? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#25-%E5%9C%A8%E8%B0%83%E7%94%A8%E5%AD%90%E7%B1%BB%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E4%B9%8B%E5%89%8D%E4%BC%9A%E5%85%88%E8%B0%83%E7%94%A8%E7%88%B6%E7%B1%BB%E6%B2%A1%E6%9C%89%E5%8F%82%E6%95%B0%E7%9A%84%E6%9E%84%E9%80%A0%E6%96%B9%E6%B3%95%E5%85%B6%E7%9B%AE%E7%9A%84%E6%98%AF |
| 26. == 与 equals(重要) | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#26--%E4%B8%8E-equals%E9%87%8D%E8%A6%81 |
| 27. hashCode 与 equals (重要) | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#27-hashcode-%E4%B8%8E-equals-%E9%87%8D%E8%A6%81 |
| hashCode()介绍 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#hashcode%E4%BB%8B%E7%BB%8D |
| 为什么要有 hashCode | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E4%B8%BA%E4%BB%80%E4%B9%88%E8%A6%81%E6%9C%89-hashcode |
| hashCode()与equals()的相关规定 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#hashcode%E4%B8%8Eequals%E7%9A%84%E7%9B%B8%E5%85%B3%E8%A7%84%E5%AE%9A |
| 28. 为什么Java中只有值传递? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#28-%E4%B8%BA%E4%BB%80%E4%B9%88java%E4%B8%AD%E5%8F%AA%E6%9C%89%E5%80%BC%E4%BC%A0%E9%80%92 |
| 29. 简述线程、程序、进程的基本概念。以及他们之间关系是什么? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#29-%E7%AE%80%E8%BF%B0%E7%BA%BF%E7%A8%8B%E7%A8%8B%E5%BA%8F%E8%BF%9B%E7%A8%8B%E7%9A%84%E5%9F%BA%E6%9C%AC%E6%A6%82%E5%BF%B5%E4%BB%A5%E5%8F%8A%E4%BB%96%E4%BB%AC%E4%B9%8B%E9%97%B4%E5%85%B3%E7%B3%BB%E6%98%AF%E4%BB%80%E4%B9%88 |
| 30. 线程有哪些基本状态? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#30-%E7%BA%BF%E7%A8%8B%E6%9C%89%E5%93%AA%E4%BA%9B%E5%9F%BA%E6%9C%AC%E7%8A%B6%E6%80%81 |
| 31 关于 final 关键字的一些总结 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#31-%E5%85%B3%E4%BA%8E-final-%E5%85%B3%E9%94%AE%E5%AD%97%E7%9A%84%E4%B8%80%E4%BA%9B%E6%80%BB%E7%BB%93 |
| 32 Java 中的异常处理 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#32-java-%E4%B8%AD%E7%9A%84%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86 |
| Java异常类层次结构图 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#java%E5%BC%82%E5%B8%B8%E7%B1%BB%E5%B1%82%E6%AC%A1%E7%BB%93%E6%9E%84%E5%9B%BE |
| Throwable类常用方法 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#throwable%E7%B1%BB%E5%B8%B8%E7%94%A8%E6%96%B9%E6%B3%95 |
| 异常处理总结 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%BC%82%E5%B8%B8%E5%A4%84%E7%90%86%E6%80%BB%E7%BB%93 |
| 33 Java序列化中如果有些字段不想进行序列化,怎么办? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#33-java%E5%BA%8F%E5%88%97%E5%8C%96%E4%B8%AD%E5%A6%82%E6%9E%9C%E6%9C%89%E4%BA%9B%E5%AD%97%E6%AE%B5%E4%B8%8D%E6%83%B3%E8%BF%9B%E8%A1%8C%E5%BA%8F%E5%88%97%E5%8C%96%E6%80%8E%E4%B9%88%E5%8A%9E |
| 34 获取用键盘输入常用的两种方法 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#34-%E8%8E%B7%E5%8F%96%E7%94%A8%E9%94%AE%E7%9B%98%E8%BE%93%E5%85%A5%E5%B8%B8%E7%94%A8%E7%9A%84%E4%B8%A4%E7%A7%8D%E6%96%B9%E6%B3%95 |
| 35 Java 中 IO 流 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#35-java-%E4%B8%AD-io-%E6%B5%81 |
| Java 中 IO 流分为几种? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#java-%E4%B8%AD-io-%E6%B5%81%E5%88%86%E4%B8%BA%E5%87%A0%E7%A7%8D |
| 既然有了字节流,为什么还要有字符流? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E6%97%A2%E7%84%B6%E6%9C%89%E4%BA%86%E5%AD%97%E8%8A%82%E6%B5%81%E4%B8%BA%E4%BB%80%E4%B9%88%E8%BF%98%E8%A6%81%E6%9C%89%E5%AD%97%E7%AC%A6%E6%B5%81 |
| BIO,NIO,AIO 有什么区别? | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#bionioaio-%E6%9C%89%E4%BB%80%E4%B9%88%E5%8C%BA%E5%88%AB |
| 36. 常见关键字总结:static,final,this,super | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#36-%E5%B8%B8%E8%A7%81%E5%85%B3%E9%94%AE%E5%AD%97%E6%80%BB%E7%BB%93staticfinalthissuper |
| 37. Collections 工具类和 Arrays 工具类常见方法总结 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#37-collections-%E5%B7%A5%E5%85%B7%E7%B1%BB%E5%92%8C-arrays-%E5%B7%A5%E5%85%B7%E7%B1%BB%E5%B8%B8%E8%A7%81%E6%96%B9%E6%B3%95%E6%80%BB%E7%BB%93 |
| 参考 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%8F%82%E8%80%83 |
| 公众号 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%85%AC%E4%BC%97%E5%8F%B7 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#1-面向对象和面向过程的区别 |
| 面向过程 :面向过程性能比面向对象高?? | https://github.com/Snailclimb/JavaGuide/issues/431 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#2-java-语言有哪些特点 |
| issue#544 | https://github.com/Snailclimb/JavaGuide/issues/544 |
| http://www.cplusplus.com/reference/thread/thread/?kw=thread | http://www.cplusplus.com/reference/thread/thread/?kw=thread |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#3-关于-jvm-jdk-和-jre-最详细通俗的解答 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#jvm |
| https://camo.githubusercontent.com/80ff7842e10a8b0f3b8e1dbe0cfe446f847ccf38cbdc54998362aa0f0e95e011/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f4a6176612532302545372541382538422545352542412538462545382542462539302545382541312538432545382542462538372545372541382538422e706e67 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#jdk-和-jre |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#4-oracle-jdk-和-openjdk-的对比 |
| https://blogs.oracle.com/java-platform-group/update-and-faq-on-the-java-se-release-cadence。 | https://blogs.oracle.com/java-platform-group/update-and-faq-on-the-java-se-release-cadence%E3%80%82 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#5-java和c的区别 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#6-什么是-java-程序的主类-应用程序和小程序的主类有何不同 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#7-java-应用程序与小程序之间有哪些差别 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#8-字符型常量和字符串常量的区别 |
| https://camo.githubusercontent.com/f69aaa4349b8bbb588df1c4f2c835d4eb58ffd8443ee795acc2d3a57b2837153/687474703a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f31382d392d31352f38363733353531392e6a7067 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#9-构造器-constructor-是否可被-override |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#10-重载和重写的区别 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#重载 |
| https://camo.githubusercontent.com/87f5803d28ebf25089e2d56c2457c893637675884150d781b7eda3e0bac2a40b/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f62672f6465736b746f706a6176612545362541302542382545352542462538332545362538412538302545362539432541462d2545392538372538442545382542442542442e6a7067 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#重写 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#11-java-面向对象编程三大特性-封装-继承-多态 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#封装 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#继承 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#多态 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#12-string-stringbuffer-和-stringbuilder-的区别是什么-string-为什么是不可变的 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#13-自动装箱与拆箱 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#14-在一个静态方法内调用一个非静态成员为什么是非法的 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#15-在-java-中定义一个不做事且没有参数的构造方法的作用 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#16-import-java和javax有什么区别 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#17-接口和抽象类的区别是什么 |
| Snailclimb#146 | https://github.com/Snailclimb/JavaGuide/issues/146 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#18-成员变量与局部变量的区别有哪些 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#19-创建一个对象用什么运算符对象实体与对象引用有何不同 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#20-什么是方法的返回值返回值在类的方法里的作用是什么 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#21-一个类的构造方法的作用是什么-若一个类没有声明构造方法该程序能正确执行吗-为什么 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#22-构造方法有哪些特性 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#23-静态方法和实例方法有何不同 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#24-对象的相等与指向他们的引用相等两者有什么不同 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#25-在调用子类构造方法之前会先调用父类没有参数的构造方法其目的是 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#26--与-equals重要 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#27-hashcode-与-equals-重要 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#hashcode介绍 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#为什么要有-hashcode |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#hashcode与equals的相关规定 |
| Java hashCode() 和 equals()的若干问题解答 | https://www.cnblogs.com/skywang12345/p/3324958.html |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#28-为什么java中只有值传递 |
| 为什么Java中只有值传递? | https://github.com/Snailclimb/JavaGuide/blob/master/docs/essential-content-for-interview/MostCommonJavaInterviewQuestions/%E7%AC%AC%E4%B8%80%E5%91%A8%EF%BC%882018-8-7%EF%BC%89.md |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#29-简述线程程序进程的基本概念以及他们之间关系是什么 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#30-线程有哪些基本状态 |
| https://camo.githubusercontent.com/07141f20fdc806de2a4fc11da7e3fae3d73d01a04d329bbc48f4ed24747f3631/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f31392d312d32392f4a6176612545372542412542462545372541382538422545372539412538342545372538412542362545362538302538312e706e67 |
| https://camo.githubusercontent.com/00774e00537f8ddfbaca483c6f953aeb5ff15e8a9935822f5c59d99afa26e388/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f31392d312d32392f4a6176612532302545372542412542462545372541382538422545372538412542362545362538302538312545352538462539382545382542462538312e706e67 |
| HowToDoInJava | https://howtodoinjava.com/ |
| Java Thread Life Cycle and Thread States | https://howtodoinjava.com/java/multi-threading/java-thread-life-cycle-and-thread-states/ |
| https://camo.githubusercontent.com/379e9c233d14b4ce5abca611eafdc8a09c8c085b471a9c281c34229d3467380f/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d332f52554e4e41424c452d56532d52554e4e494e472e706e67 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#31-关于-final-关键字的一些总结 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#32-java-中的异常处理 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#java异常类层次结构图 |
| https://camo.githubusercontent.com/4c48dce1cec032b9a1d1d5f93a48dc28982b8e7b3e175167d89c39893ac82920/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d322f457863657074696f6e2e706e67 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#throwable类常用方法 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#异常处理总结 |
| Snailclimb#190 | https://github.com/Snailclimb/JavaGuide/issues/190 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#33-java序列化中如果有些字段不想进行序列化怎么办 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#34-获取用键盘输入常用的两种方法 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#35-java-中-io-流 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#java-中-io-流分为几种 |
| https://camo.githubusercontent.com/0b3de943bd2bb062b3751dd2bde38f11ebafb32bd32d5a0f89e5ef98dd86fc6c/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d362f494f2d2545362539332538442545342542442539432545362539362542392545352542432538462545352538382538362545372542312542422e706e67 |
| https://camo.githubusercontent.com/e0602e722b85449ee1a9a9e0e3441605deff1c1738a173bc9ca506f2ab7b949e/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d362f494f2d2545362539332538442545342542442539432545352541462542392545382542312541312545352538382538362545372542312542422e706e67 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#既然有了字节流为什么还要有字符流 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#bionioaio-有什么区别 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#36-常见关键字总结staticfinalthissuper |
| https://gitee.com/SnailClimb/JavaGuide/blob/master/docs/java/Basis/final、static、this、super.md | https://gitee.com/SnailClimb/JavaGuide/blob/master/docs/java/Basis/final%E3%80%81static%E3%80%81this%E3%80%81super.md |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#37-collections-工具类和-arrays-工具类常见方法总结 |
| https://gitee.com/SnailClimb/JavaGuide/blob/master/docs/java/Basis/Arrays,CollectionsCommonMethods.md | https://gitee.com/SnailClimb/JavaGuide/blob/master/docs/java/Basis/Arrays,CollectionsCommonMethods.md |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#38-深拷贝-vs-浅拷贝 |
| https://camo.githubusercontent.com/7cb6f16d4bc4fdf184b8f6b6db968f7256038dbac8d82fa33daf4bef5de13017/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d372f6a6176612d646565702d616e642d7368616c6c6f772d636f70792e6a7067 |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#参考 |
| https://stackoverflow.com/questions/1906445/what-is-the-difference-between-jdk-and-jre | https://stackoverflow.com/questions/1906445/what-is-the-difference-between-jdk-and-jre |
| https://www.educba.com/oracle-vs-openjdk/ | https://www.educba.com/oracle-vs-openjdk/ |
| https://stackoverflow.com/questions/22358071/differences-between-oracle-jdk-and-openjdk?answertab=active#tab-top | https://stackoverflow.com/questions/22358071/differences-between-oracle-jdk-and-openjdk?answertab=active#tab-top |
| https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#公众号 |
| 公众号 | https://github.com/alphaol/JavaGuide/blob/master/docs/java/Java基础知识.md#%E5%85%AC%E4%BC%97%E5%8F%B7 |
| https://camo.githubusercontent.com/ba1d28c90e9b600c150231bb90bd7facc425f64bac5c958967be5892c7f22298/68747470733a2f2f6d792d626c6f672d746f2d7573652e6f73732d636e2d6265696a696e672e616c6979756e63732e636f6d2f323031392d362f313637353938636432653137623865632e706e67 |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |