René's URL Explorer Experiment


Title: toBeBetterJavaer/docs/baguwen/java-basic-34.md at master · Java-Reference/toBeBetterJavaer · GitHub

Open Graph Title: toBeBetterJavaer/docs/baguwen/java-basic-34.md at master · Java-Reference/toBeBetterJavaer

X Title: toBeBetterJavaer/docs/baguwen/java-basic-34.md at master · Java-Reference/toBeBetterJavaer

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

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

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

Opengraph URL: https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/blob/*name(/*path)
route-controllerblob
route-actionshow
fetch-noncev2:48b4424e-e087-2b9c-acb5-c68d756fb699
current-catalog-service-hashf3abb0cc802f3d7b95fc8762b94bdcb13bf39634c40c357301c4aa1d67a256fb
request-idDCC6:1A808D:21C268E:2CC50FD:6A5B0CB9
html-safe-nonce593d28747f6f274fef8e1d26aa16e621d46801fc648f64bf99c5ef9af9f5fa77
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQ0M2OjFBODA4RDoyMUMyNjhFOjJDQzUwRkQ6NkE1QjBDQjkiLCJ2aXNpdG9yX2lkIjoiNjY2NDAyNTAyMjkzNTAxMDQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac65fc178ef4f9ce398abf1a074fcbc916cde5a8f3d3f26f8f4e33c8f41e22fba0
hovercard-subject-tagrepository:523454793
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/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md
twitter:imagehttps://opengraph.githubassets.com/ddc13f4e6e57fae31e6e987089051fa835f98121adb2ed82da42a37cec84392e/Java-Reference/toBeBetterJavaer
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ddc13f4e6e57fae31e6e987089051fa835f98121adb2ed82da42a37cec84392e/Java-Reference/toBeBetterJavaer
og:image:alt一份通俗易懂、风趣幽默的Java学习指南,内容涵盖Java基础、Java并发编程、Java虚拟机、Java企业级开发、Java面试等核心知识点。学Java,就认准Java 程序员进阶之路😄 - Java-Reference/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/Java-Reference/toBeBetterJavaer git https://github.com/Java-Reference/toBeBetterJavaer.git
octolytics-dimension-user_id20548294
octolytics-dimension-user_loginJava-Reference
octolytics-dimension-repository_id523454793
octolytics-dimension-repository_nwoJava-Reference/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-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJava-Reference%2FtoBeBetterJavaer%2Fblob%2Fmaster%2Fdocs%2Fbaguwen%2Fjava-basic-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%2FJava-Reference%2FtoBeBetterJavaer%2Fblob%2Fmaster%2Fdocs%2Fbaguwen%2Fjava-basic-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=Java-Reference%2FtoBeBetterJavaer
Reloadhttps://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md
Reloadhttps://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md
Reloadhttps://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md
Please reload this pagehttps://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md
Java-Reference https://github.com/Java-Reference
toBeBetterJavaerhttps://github.com/Java-Reference/toBeBetterJavaer
itwanger/toBeBetterJavaerhttps://github.com/itwanger/toBeBetterJavaer
Notifications https://github.com/login?return_to=%2FJava-Reference%2FtoBeBetterJavaer
Fork 0 https://github.com/login?return_to=%2FJava-Reference%2FtoBeBetterJavaer
Star 0 https://github.com/login?return_to=%2FJava-Reference%2FtoBeBetterJavaer
Code https://github.com/Java-Reference/toBeBetterJavaer
Pull requests 0 https://github.com/Java-Reference/toBeBetterJavaer/pulls
Actions https://github.com/Java-Reference/toBeBetterJavaer/actions
Projects https://github.com/Java-Reference/toBeBetterJavaer/projects
Security and quality 0 https://github.com/Java-Reference/toBeBetterJavaer/security
Insights https://github.com/Java-Reference/toBeBetterJavaer/pulse
Code https://github.com/Java-Reference/toBeBetterJavaer
Pull requests https://github.com/Java-Reference/toBeBetterJavaer/pulls
Actions https://github.com/Java-Reference/toBeBetterJavaer/actions
Projects https://github.com/Java-Reference/toBeBetterJavaer/projects
Security and quality https://github.com/Java-Reference/toBeBetterJavaer/security
Insights https://github.com/Java-Reference/toBeBetterJavaer/pulse
https://github.com/Java-Reference/toBeBetterJavaer
toBeBetterJavaerhttps://github.com/Java-Reference/toBeBetterJavaer/tree/master
docshttps://github.com/Java-Reference/toBeBetterJavaer/tree/master/docs
baguwenhttps://github.com/Java-Reference/toBeBetterJavaer/tree/master/docs/baguwen
Historyhttps://github.com/Java-Reference/toBeBetterJavaer/commits/master/docs/baguwen/java-basic-34.md
https://github.com/Java-Reference/toBeBetterJavaer/commits/master/docs/baguwen/java-basic-34.md
toBeBetterJavaerhttps://github.com/Java-Reference/toBeBetterJavaer/tree/master
docshttps://github.com/Java-Reference/toBeBetterJavaer/tree/master/docs
baguwenhttps://github.com/Java-Reference/toBeBetterJavaer/tree/master/docs/baguwen
Rawhttps://github.com/Java-Reference/toBeBetterJavaer/raw/refs/heads/master/docs/baguwen/java-basic-34.md
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#java34道精选高频面试题必看1
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#1介绍一下-java-吧
https://camo.githubusercontent.com/7957afa2613227d2de75b97795cb4c26923812a82fbc189b6a4a8669b8f215cf/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30312e706e67
https://camo.githubusercontent.com/2d8631bfb1a406f7609462517ab8ff64511c8839e714e2abbd06bfd695ec9848/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30322e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#2java-有哪些数据类型
https://camo.githubusercontent.com/cd9481d045e4fa65f2ad7b54a0b34d333bab4293d307fa2b04369581c1549177/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30332e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#3接口和抽象类有什么区别
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#4重载和重写什么区别
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#5常见的异常有哪些
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#6异常要怎么解决
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#7arraylist-和-linkedlist-的区别
https://camo.githubusercontent.com/025939df2bd441dabb48e9045fdc29da64f4f35c985439dcb8626539be0cd5d6/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30342e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#8hashmap-17-和-hashmap-18-的区别
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#9hashmap-线程不安全体现在哪里
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#10那么-hashmap-线程不安全怎么解决
https://camo.githubusercontent.com/dd7748c43b4cb221253382e104f5726c48550dd22e19e8025b61bd5ada8ea8b1/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30352e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#11concurrenthashmap-17-和-18-有什么区别
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#12介绍一下-hashset-吧
https://camo.githubusercontent.com/efb7ff021cdf8d67a2cee84361bfb30d4ffdcdeddff654b2c138bbfe76a4efbb/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30362e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#13什么是泛型
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#14泛型擦除是什么
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#15说说进程和线程的区别
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#16volatile-有什么作用
https://camo.githubusercontent.com/eb8ae693a080ca8c5abc4287fdb61e44858080671b73548d3b4849237bf86a4d/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30372e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#17什么是包装类为什么需要包装类
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#18integer-a--1000integer-b--1000ab-的结果是什么那如果-ab-都为1结果又是什么
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#19jmm-是什么
https://camo.githubusercontent.com/4d24348d6d79eb21e4d2b6f52847532f4540fad905c5ac720e9a1d018b5b40de/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30382e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#20创建对象有哪些方式
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#21讲讲单例模式懒汉式吧
关于双检锁可以参考https://blog.csdn.net/fly910905/article/details/79286680
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#22volatile-有什么作用
https://camo.githubusercontent.com/9157e7bef63693f4db76995572a46c9cbfefb93a564cc55e767bf339e2046797/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d30392e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#23怎么保证线程安全
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#24synchronized-锁升级的过程
https://camo.githubusercontent.com/88cafe73b92962e6e79fbe5a8606d2908376963f681a37910b32b000569da8fc/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31302e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#25cas-是什么
https://camo.githubusercontent.com/489b69c2ddcded65ac6ae5d9a2e8285fa777e4796eb96c4e3476c59cde86a51b/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31312e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#26聊聊-reentrantlock-吧
https://camo.githubusercontent.com/520bc7adbde28715648ae1ebb5691fccb896ae31b413b8b4e416894ff68e8ec5/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31322e706e67
https://camo.githubusercontent.com/9524b1ccc7fa93f98ff0e1ec9e204d689b42b15fd1386597f01cc5ea67646824/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31332e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#27多线程的创建方式有哪些
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#28线程池有哪些参数
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#29线程池的执行流程
https://camo.githubusercontent.com/67093d6d2dfb72d2e5ff1231a6b8eacac65e3bba32e4e1c53632c400c42d2fad/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31342e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#30线程池的拒绝策略有哪些
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#31介绍一下四种引用类型
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#32深拷贝浅拷贝是什么
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#33聊聊-threadlocal-吧
https://camo.githubusercontent.com/9e98269f5213d5d9a3d93fc43d1a10a37c79624ab3ece846b8fde391f0689915/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31352e706e67
https://github.com/Java-Reference/toBeBetterJavaer/blob/master/docs/baguwen/java-basic-34.md#34一个对象的内存布局是怎么样的
https://camo.githubusercontent.com/9b1f1f7da9c0cf6cd8726169e1f508f377a64f5d2dd2594b6779475639a56f20/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f6261677577656e2f62617369632d33342d31362e706e67
https://mp.weixin.qq.com/s/aTWtqPyMQ-6P_c8iuMVrkghttps://mp.weixin.qq.com/s/aTWtqPyMQ-6P_c8iuMVrkg
https://camo.githubusercontent.com/31342bccd2f6da25792cf72d77103f5511d736923b3e0c31a3f848fd876480cd/687474703a2f2f63646e2e746f62656265747465726a61766165722e636f6d2f746f62656265747465726a61766165722f696d616765732f78696e676269616f676f6e677a686f6e6768616f2e706e67
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.