| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf |
| route-pattern | /:user_id/:repository/blob/*name(/*path) |
| route-controller | blob |
| route-action | show |
| fetch-nonce | v2:7771f1ac-6d2f-ea66-7529-3b50fbbff596 |
| current-catalog-service-hash | f3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb |
| request-id | C73C:249B37:1380783:19C4AF5:6AF9B6F2 |
| html-safe-nonce | 84b7d005f3668056c7bb44d6f2e1d4e5705ca3c6d77f040b048cd1a921d6f231 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNzNDOjI0OUIzNzoxMzgwNzgzOjE5QzRBRjU6NkFGOUI2RjIiLCJ2aXNpdG9yX2lkIjoiNTY3NTkyNjk3MjgzNjQ2MDI3NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d5c5db33c2c71f8a898638611c1514998cf45098887edd3f6b6eec53c9d3d7f0 |
| hovercard-subject-tag | repository:578420741 |
| 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/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md |
| twitter:image | https://opengraph.githubassets.com/fa3140147e52ca77ecea7a892ecd3ce6087d440edafca1aa0b20987f304391a8/gumcheck/JavaGuide |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa3140147e52ca77ecea7a892ecd3ce6087d440edafca1aa0b20987f304391a8/gumcheck/JavaGuide |
| og:image:alt | 「Java学习+面试指南」一份涵盖大部分 Java 程序员所需要掌握的核心知识。准备 Java 面试,首选 JavaGuide! - gumcheck/JavaGuide |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 612d3e6ffd693e7ea8d9fcf452370995872baef31d825b1fedef704cd3d24ac7 |
| turbo-cache-control | no-cache |
| go-import | github.com/gumcheck/JavaGuide git https://github.com/gumcheck/JavaGuide.git |
| octolytics-dimension-user_id | 52156263 |
| octolytics-dimension-user_login | gumcheck |
| octolytics-dimension-repository_id | 578420741 |
| octolytics-dimension-repository_nwo | gumcheck/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 | 072e34035c13c31543fba9f025cbbbda4210dae4 |
| ui-target | canary-1 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgumcheck%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fbasis%2Fjava-basic-questions-02.md |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| 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 |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | 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 |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgumcheck%2FJavaGuide%2Fblob%2Fmain%2Fdocs%2Fjava%2Fbasis%2Fjava-basic-questions-02.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=gumcheck%2FJavaGuide |
| Reload | https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md |
| Reload | https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md |
| Reload | https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md |
| gumcheck | https://github.com/gumcheck |
| JavaGuide | https://github.com/gumcheck/JavaGuide |
| Code | https://github.com/gumcheck/JavaGuide |
| Pull requests | https://github.com/gumcheck/JavaGuide/pulls |
| Actions | https://github.com/gumcheck/JavaGuide/actions |
| Projects | https://github.com/gumcheck/JavaGuide/projects |
| Security and quality | https://github.com/gumcheck/JavaGuide/security |
| Insights | https://github.com/gumcheck/JavaGuide/pulse |
| https://github.com/gumcheck/JavaGuide |
| JavaGuide | https://github.com/gumcheck/JavaGuide/tree/main |
| docs | https://github.com/gumcheck/JavaGuide/tree/main/docs |
| java | https://github.com/gumcheck/JavaGuide/tree/main/docs/java |
| basis | https://github.com/gumcheck/JavaGuide/tree/main/docs/java/basis |
| History | https://github.com/gumcheck/JavaGuide/commits/main/docs/java/basis/java-basic-questions-02.md |
| https://github.com/gumcheck/JavaGuide/commits/main/docs/java/basis/java-basic-questions-02.md |
| JavaGuide | https://github.com/gumcheck/JavaGuide/tree/main |
| docs | https://github.com/gumcheck/JavaGuide/tree/main/docs |
| java | https://github.com/gumcheck/JavaGuide/tree/main/docs/java |
| basis | https://github.com/gumcheck/JavaGuide/tree/main/docs/java/basis |
| Raw | https://github.com/gumcheck/JavaGuide/raw/refs/heads/main/docs/java/basis/java-basic-questions-02.md |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#面向对象基础 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#面向对象和面向过程的区别 |
| 面向过程 :面向过程性能比面向对象高?? | https://github.com/Snailclimb/JavaGuide/issues/431 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#创建一个对象用什么运算符对象实体与对象引用有何不同 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#对象的相等和引用相等的区别 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#类的构造方法的作用是什么 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#如果一个类没有声明构造方法该程序能正确执行吗 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#构造方法有哪些特点是否可被-override |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#面向对象三大特征 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#封装 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#继承 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#多态 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#接口和抽象类有什么共同点和区别 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#深拷贝和浅拷贝区别了解吗什么是引用拷贝 |
| https://camo.githubusercontent.com/09c1cf4d6746eff3c43174566a1ea7f1dda001db737c3c6f4a4f554d328600d1/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6a6176612f62617369732f7368616c6c6f7726646565702d636f70792e706e67 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#java-常见类 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#object |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#object-类的常见方法有哪些 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#-和-equals-的区别 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#hashcode-有什么用 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#为什么要有-hashcode |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#为什么重写-equals-时必须重写-hashcode-方法 |
| Java hashCode() 和 equals()的若干问题解答 | https://www.cnblogs.com/skywang12345/p/3324958.html |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#string |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#stringstringbufferstringbuilder-的区别 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#string-为什么是不可变的 |
| 如何理解 String 类型值的不可变? - 知乎提问 | https://www.zhihu.com/question/20618891/answer/114125846 |
| issue 675 | https://github.com/Snailclimb/JavaGuide/issues/675 |
| https://camo.githubusercontent.com/5e1c698437c922f8a0159bb07630937a130d289c948fb175fb2c18829304f0c8/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6a646b392d737472696e672d6c6174696e312e706e67 |
| https://openjdk.java.net/jeps/254 | https://openjdk.java.net/jeps/254 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#字符串拼接用-还是-stringbuilder |
| https://camo.githubusercontent.com/5fd64f7f7785cb6cea6de223a2e40a965aa515a5909b638481a5ef53c5338ac6/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6a6176612f696d6167652d32303232303432323136313633373932392e706e67 |
| https://camo.githubusercontent.com/4897f276ea8d20a9a2de1ebd213adc3df05d90aed2c8bd68649e49fd2b8276fa/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6a6176612f696d6167652d32303232303432323136313332303832332e706e67 |
| https://camo.githubusercontent.com/69379f95de0b21fd87f3affae4928a2851b0544340252d780004aead92918035/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6a6176612f696d6167652d32303232303432323136323332373431352e706e67 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#stringequals-和-objectequals-有何区别 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#字符串常量池的作用了解吗 |
| Java 内存区域详解 | https://javaguide.cn/java/jvm/memory-area.html |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#string-s1--new-stringabc这句话创建了几个字符串对象 |
| https://camo.githubusercontent.com/d4b6224960ce7d4747944537840f1441ad16338b7ead7b0ed3212ab1adb34282/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6f70656e2d736f757263652d70726f6a6563742f696d6167652d32303232303431333137353830393935392e706e67 |
| https://camo.githubusercontent.com/1ba3aea6902c9fd80bc1bab51cf7591edd943fc6cce12cf5cc400e19efe439f1/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6769746875622f6a61766167756964652f6f70656e2d736f757263652d70726f6a6563742f696d6167652d32303232303431333138303032313037322e706e67 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#intern-方法有什么作用 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#string-类型的变量和常量做运算时发生了什么 |
| https://camo.githubusercontent.com/ba91be5fbf8c43c60e138059f43aff121ea1785bf95c4bfa53ba3d8e9355240a/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a6176612d67756964652d626c6f672f696d6167652d32303231303831373132333235323434312e706e67 |
| https://camo.githubusercontent.com/cc7e3cfefddbd377dcf089ba570f9c26754178c1ec76862aebd9dde290731698/68747470733a2f2f67756964652d626c6f672d696d616765732e6f73732d636e2d7368656e7a68656e2e616c6979756e63732e636f6d2f6a61766167756964652f696d6167652d32303231303831373134323731353339362e706e67 |
| https://github.com/gumcheck/JavaGuide/blob/main/docs/java/basis/java-basic-questions-02.md#参考 |
| https://tech.meituan.com/2014/03/06/in-depth-understanding-string-intern.html | https://tech.meituan.com/2014/03/06/in-depth-understanding-string-intern.html |
| https://www.zhihu.com/question/55976094/answer/147302764 | https://www.zhihu.com/question/55976094/answer/147302764 |
|
| 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 |