René's URL Explorer Experiment


Title: toBeBetterJavaer/docs/src/interview/java-34.md at master · SuiJavaStudy/toBeBetterJavaer · GitHub

Open Graph Title: toBeBetterJavaer/docs/src/interview/java-34.md at master · SuiJavaStudy/toBeBetterJavaer

X Title: toBeBetterJavaer/docs/src/interview/java-34.md at master · SuiJavaStudy/toBeBetterJavaer

Description: 一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄 - toBeBetterJavaer/docs/src/interview/java-34.md at master · SuiJavaStudy/toBeBetterJavaer

Open Graph Description: 一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄 - SuiJavaStudy/toBeBetterJavaer

X Description: 一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄 - SuiJavaStudy/toBeBetterJavaer

Opengraph URL: https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:4f1bb65a-545c-5724-7e5f-3e5ea3f6a84d
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idB39C:35ABB0:1695FDE:1DAC137:6A5C68DE
html-safe-nonce7d7611e6b5b70db0f42c408e3fa82ea969d77a99b9c96a44415c1aa36e666a7c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzlDOjM1QUJCMDoxNjk1RkRFOjFEQUMxMzc6NkE1QzY4REUiLCJ2aXNpdG9yX2lkIjoiMTM0MDk0MDAwMDQ5MDcxMTI2MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac7d16bbac19612f8a6c9587e0b84c62a840880262b476ec44925f26395f0bb8a0
hovercard-subject-tagrepository:1190302068
github-keyboard-shortcutsrepository,source-code,file-tree,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///blob/show
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md
twitter:imagehttps://opengraph.githubassets.com/e6332d4b812d0bf47a1a9bcdd2cf45cb942a9e7bb86dbdb806f2ba0fcb34c7f7/SuiJavaStudy/toBeBetterJavaer
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e6332d4b812d0bf47a1a9bcdd2cf45cb942a9e7bb86dbdb806f2ba0fcb34c7f7/SuiJavaStudy/toBeBetterJavaer
og:image:alt一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准二哥的Java进阶之路😄 - SuiJavaStudy/toBeBetterJavaer
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b
turbo-cache-controlno-cache
go-importgithub.com/SuiJavaStudy/toBeBetterJavaer git https://github.com/SuiJavaStudy/toBeBetterJavaer.git
octolytics-dimension-user_id270532064
octolytics-dimension-user_loginSuiJavaStudy
octolytics-dimension-repository_id1190302068
octolytics-dimension-repository_nwoSuiJavaStudy/toBeBetterJavaer
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forktrue
octolytics-dimension-repository_parent_id156627365
octolytics-dimension-repository_parent_nwoitwanger/toBeBetterJavaer
octolytics-dimension-repository_network_root_id156627365
octolytics-dimension-repository_network_root_nwoitwanger/toBeBetterJavaer
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9c975978430e9ad293956f2bbdaf153b1bd84a99
ui-targetcanary-2
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSuiJavaStudy%2FtoBeBetterJavaer%2Fblob%2Fmaster%2Fdocs%2Fsrc%2Finterview%2Fjava-34.md
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://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%2FSuiJavaStudy%2FtoBeBetterJavaer%2Fblob%2Fmaster%2Fdocs%2Fsrc%2Finterview%2Fjava-34.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=SuiJavaStudy%2FtoBeBetterJavaer
Reloadhttps://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md
Reloadhttps://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md
Reloadhttps://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md
Please reload this pagehttps://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md
SuiJavaStudy https://github.com/SuiJavaStudy
toBeBetterJavaerhttps://github.com/SuiJavaStudy/toBeBetterJavaer
itwanger/toBeBetterJavaerhttps://github.com/itwanger/toBeBetterJavaer
Notifications https://github.com/login?return_to=%2FSuiJavaStudy%2FtoBeBetterJavaer
Fork 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FtoBeBetterJavaer
Star 0 https://github.com/login?return_to=%2FSuiJavaStudy%2FtoBeBetterJavaer
Code https://github.com/SuiJavaStudy/toBeBetterJavaer
Pull requests 0 https://github.com/SuiJavaStudy/toBeBetterJavaer/pulls
Actions https://github.com/SuiJavaStudy/toBeBetterJavaer/actions
Projects https://github.com/SuiJavaStudy/toBeBetterJavaer/projects
Security and quality 0 https://github.com/SuiJavaStudy/toBeBetterJavaer/security
Insights https://github.com/SuiJavaStudy/toBeBetterJavaer/pulse
Code https://github.com/SuiJavaStudy/toBeBetterJavaer
Pull requests https://github.com/SuiJavaStudy/toBeBetterJavaer/pulls
Actions https://github.com/SuiJavaStudy/toBeBetterJavaer/actions
Projects https://github.com/SuiJavaStudy/toBeBetterJavaer/projects
Security and quality https://github.com/SuiJavaStudy/toBeBetterJavaer/security
Insights https://github.com/SuiJavaStudy/toBeBetterJavaer/pulse
https://github.com/SuiJavaStudy/toBeBetterJavaer
toBeBetterJavaerhttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master
docshttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs
srchttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs/src
interviewhttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs/src/interview
Historyhttps://github.com/SuiJavaStudy/toBeBetterJavaer/commits/master/docs/src/interview/java-34.md
https://github.com/SuiJavaStudy/toBeBetterJavaer/commits/master/docs/src/interview/java-34.md
toBeBetterJavaerhttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master
docshttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs
srchttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs/src
interviewhttps://github.com/SuiJavaStudy/toBeBetterJavaer/tree/master/docs/src/interview
Rawhttps://github.com/SuiJavaStudy/toBeBetterJavaer/raw/refs/heads/master/docs/src/interview/java-34.md
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#1介绍一下-java-吧
https://camo.githubusercontent.com/0cac1aef75f52da571ad82e9faa7711ed0031078d908b60b93dd606babf30183/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30312e706e67
https://camo.githubusercontent.com/09938d3661c90fcc4aeb09a51e049dcaeaf6c40de204593387321f08792e1a23/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30322e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#2java-有哪些数据类型
https://camo.githubusercontent.com/fa6e8d9f403410a54c3d01eea75d0e68f141d75b1fdf1d9bebef30377ee22fff/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30332e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#3接口和抽象类有什么区别
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#4重载和重写什么区别
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#5常见的异常有哪些
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#6异常要怎么解决
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#7arraylist-和-linkedlist-的区别
https://camo.githubusercontent.com/df87eac8ed20d88507d99e9030a9c781a5aa7477f28d2b9aaa4c30f3b06f772a/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30342e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#8hashmap-17-和-hashmap-18-的区别
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#9hashmap-线程不安全体现在哪里
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#10那么-hashmap-线程不安全怎么解决
https://camo.githubusercontent.com/2f3ec33c1238d9ac2eae54c1f95467dbc94686150b5d51599f11165b18451d78/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30352e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#11concurrenthashmap-17-和-18-有什么区别
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#12介绍一下-hashset-吧
https://camo.githubusercontent.com/a1e375d4f1ac07737f831bd871870d6d544a3545ec903b1317ccd5a6ec52806c/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30362e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#13什么是泛型
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#14泛型擦除是什么
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#15说说进程和线程的区别
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#16volatile-有什么作用
https://camo.githubusercontent.com/9f25676ea11af645a138411a88f33a8c182a1cec64bd6353d6edf9088226baac/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30372e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#17什么是包装类为什么需要包装类
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#18integer-a--1000integer-b--1000ab-的结果是什么那如果-ab-都为1结果又是什么
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#19jmm-是什么
https://camo.githubusercontent.com/feef13e16bfd171274ac21b47a3a40c894b03e844a469e3966b8fff55ec8209a/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30382e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#20创建对象有哪些方式
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#21讲讲单例模式懒汉式吧
关于双检锁可以参考https://blog.csdn.net/fly910905/article/details/79286680
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#22volatile-有什么作用
https://camo.githubusercontent.com/623c8d4d25c3e5f145612eac226e2cbfda6f4f02cc8a8f2869b86f127629414f/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30392e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#23怎么保证线程安全
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#24synchronized-锁升级的过程
https://camo.githubusercontent.com/4dc9250d19d238787ae62fba271c59a32568306cd2f9ab4c6a99d55e5ab046b0/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31302e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#25cas-是什么
https://camo.githubusercontent.com/3bb89e9dd785c60787f5763df5c80e94e4fb8bb48ba1016645422e5072c1e69b/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31312e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#26聊聊-reentrantlock-吧
https://camo.githubusercontent.com/ed9b346e4ab4c46ebb0483794bd824366dddfaf4de6987b6f6687c3d4970b27c/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31322e706e67
https://camo.githubusercontent.com/85bcdf2f7a978db51524f257d7c114950bcc73e94abb506c0e1d6f8e7344d883/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31332e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#27多线程的创建方式有哪些
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#28线程池有哪些参数
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#29线程池的执行流程
https://camo.githubusercontent.com/6929dc0162d61f4750163d4d81eb0838fb4dc42f594a3ec042343e490d3b502e/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31342e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#30线程池的拒绝策略有哪些
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#31介绍一下四种引用类型
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#32深拷贝浅拷贝是什么
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#33聊聊-threadlocal-吧
https://camo.githubusercontent.com/237e486dba9de046a117b1501be004d7be2bca8b7e2f05686f0ab9c27f6cfa25/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31352e706e67
https://github.com/SuiJavaStudy/toBeBetterJavaer/blob/master/docs/src/interview/java-34.md#34一个对象的内存布局是怎么样的
https://camo.githubusercontent.com/06a87f1b7c92dfd955ee77bbebdd33db4603f67955c2f62eed9a27bb015f0cdc/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31362e706e67
https://mp.weixin.qq.com/s/aTWtqPyMQ-6P_c8iuMVrkghttps://mp.weixin.qq.com/s/aTWtqPyMQ-6P_c8iuMVrkg
二哥的 Java 进阶之路https://github.com/itwanger/toBeBetterJavaer
太赞了,GitHub 上标星 10000+ 的 Java 教程https://javabetter.cn/overview/
https://camo.githubusercontent.com/2898d922a53a0393a59381a7f1daaaf40f8c07868aba2086542779d4ea98f52b/68747470733a2f2f63646e2e706169636f64696e672e636f6d2f746f62656265747465726a61766165722f696d616765732f676f6e677a686f6e6768616f2e706e67
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.