René's URL Explorer Experiment


Title: 关于static静态代码块的执行时间问题 · Issue #677 · Snailclimb/JavaGuide · GitHub

Open Graph Title: 关于static静态代码块的执行时间问题 · Issue #677 · Snailclimb/JavaGuide

X Title: 关于static静态代码块的执行时间问题 · Issue #677 · Snailclimb/JavaGuide

Description: 在作者的原文中javaguide/#/docs/java/basic/final、static、this、super.md是这样描述的: 静态代码块只在第一次new执行一次,之后不再执行,而非静态代码块在每new一次就执行一次。 但我认为作者的描述不够全面,静态代码块可能在第一次new的时候执行,但不一定只在第一次new的时候执行。 参考博客java的static块执行时机的介绍,第一次new属于初始化阶段,但初始化阶段除了第一次new还有其他的可能,请作者再更新文档,...

Open Graph Description: 在作者的原文中javaguide/#/docs/java/basic/final、static、this、super.md是这样描述的: 静态代码块只在第一次new执行一次,之后不再执行,而非静态代码块在每new一次就执行一次。 但我认为作者的描述不够全面,静态代码块可能在第一次new的时候执行,但不一定只在第一次new的时候执行。 参考博客java的static块执行时机的介绍,第一次ne...

X Description: 在作者的原文中javaguide/#/docs/java/basic/final、static、this、super.md是这样描述的: 静态代码块只在第一次new执行一次,之后不再执行,而非静态代码块在每new一次就执行一次。 但我认为作者的描述不够全面,静态代码块可能在第一次new的时候执行,但不一定只在第一次new的时候执行。 参考博客java的static块执行时机的介绍,第一次ne...

Opengraph URL: https://github.com/Snailclimb/JavaGuide/issues/677

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"关于static静态代码块的执行时间问题","articleBody":"在作者的原文中**javaguide/#/docs/java/basic/final、static、this、super.md**是这样描述的:\r\n\u003e**静态代码块只在第一次new执行一次**,之后不再执行,而非静态代码块在每new一次就执行一次。\r\n     \r\n\u0026emsp;但我认为作者的描述不够全面,静态代码块可能在第一次new的时候执行,但不一定只在第一次new的时候执行。\r\n\u0026emsp;参考博客[java的static块执行时机](https://blog.csdn.net/berber78/article/details/46472789)的介绍,第一次new属于初始化阶段,但初始化阶段除了第一次new还有其他的可能,请作者再更新文档,添加详细的介绍。\r\n\u0026emsp;谢谢!","author":{"url":"https://github.com/jiangliuer-beep","@type":"Person","name":"jiangliuer-beep"},"datePublished":"2020-03-09T09:51:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/677/JavaGuide/issues/677"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:6d3b5dc5-f15e-2f8b-e7e1-e2cdb45fc19e
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC546:3046CB:7EA412:B9FA7B:6A4E1857
html-safe-nonce014a8f311bd1483070ea0cac8b94fb6617880d394dae57cf856b7d1f1e512714
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDNTQ2OjMwNDZDQjo3RUE0MTI6QjlGQTdCOjZBNEUxODU3IiwidmlzaXRvcl9pZCI6IjU1ODQ2MDczNTI0MDc4NTcyNDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc9e9ba2a6df2032affd54b77ff7c7d188cc4e1bb1d8af1ca2a2584357374eb2f
hovercard-subject-tagissue:577781862
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/Snailclimb/JavaGuide/677/issue_layout
twitter:imagehttps://opengraph.githubassets.com/50518aa730b16bb63698aefc0f6eec7416c76f140b43a6cfd37b8c6b647f3cce/Snailclimb/JavaGuide/issues/677
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/50518aa730b16bb63698aefc0f6eec7416c76f140b43a6cfd37b8c6b647f3cce/Snailclimb/JavaGuide/issues/677
og:image:alt在作者的原文中javaguide/#/docs/java/basic/final、static、this、super.md是这样描述的: 静态代码块只在第一次new执行一次,之后不再执行,而非静态代码块在每new一次就执行一次。 但我认为作者的描述不够全面,静态代码块可能在第一次new的时候执行,但不一定只在第一次new的时候执行。 参考博客java的static块执行时机的介绍,第一次ne...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejiangliuer-beep
hostnamegithub.com
expected-hostnamegithub.com
None030096ee0db095447bfe77409d33bfac127ca7128299c58deef27c52eaa1b1f0
turbo-cache-controlno-preview
go-importgithub.com/Snailclimb/JavaGuide git https://github.com/Snailclimb/JavaGuide.git
octolytics-dimension-user_id29880145
octolytics-dimension-user_loginSnailclimb
octolytics-dimension-repository_id132464395
octolytics-dimension-repository_nwoSnailclimb/JavaGuide
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id132464395
octolytics-dimension-repository_network_root_nwoSnailclimb/JavaGuide
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
releaseea9187571e3edc5f2780f750631138669441ca50
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Snailclimb/JavaGuide/issues/677#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FSnailclimb%2FJavaGuide%2Fissues%2F677
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/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/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/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%2FSnailclimb%2FJavaGuide%2Fissues%2F677
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=Snailclimb%2FJavaGuide
Reloadhttps://github.com/Snailclimb/JavaGuide/issues/677
Reloadhttps://github.com/Snailclimb/JavaGuide/issues/677
Reloadhttps://github.com/Snailclimb/JavaGuide/issues/677
Snailclimb https://github.com/Snailclimb
JavaGuidehttps://github.com/Snailclimb/JavaGuide
Notifications https://github.com/login?return_to=%2FSnailclimb%2FJavaGuide
Fork 46.2k https://github.com/login?return_to=%2FSnailclimb%2FJavaGuide
Star 157k https://github.com/login?return_to=%2FSnailclimb%2FJavaGuide
Code https://github.com/Snailclimb/JavaGuide
Issues 57 https://github.com/Snailclimb/JavaGuide/issues
Pull requests 0 https://github.com/Snailclimb/JavaGuide/pulls
Discussions https://github.com/Snailclimb/JavaGuide/discussions
Actions https://github.com/Snailclimb/JavaGuide/actions
Projects https://github.com/Snailclimb/JavaGuide/projects
Security and quality 0 https://github.com/Snailclimb/JavaGuide/security
Insights https://github.com/Snailclimb/JavaGuide/pulse
Code https://github.com/Snailclimb/JavaGuide
Issues https://github.com/Snailclimb/JavaGuide/issues
Pull requests https://github.com/Snailclimb/JavaGuide/pulls
Discussions https://github.com/Snailclimb/JavaGuide/discussions
Actions https://github.com/Snailclimb/JavaGuide/actions
Projects https://github.com/Snailclimb/JavaGuide/projects
Security and quality https://github.com/Snailclimb/JavaGuide/security
Insights https://github.com/Snailclimb/JavaGuide/pulse
关于static静态代码块的执行时间问题https://github.com/Snailclimb/JavaGuide/issues/677#top
typoCorrect typoshttps://github.com/Snailclimb/JavaGuide/issues?q=state%3Aopen%20label%3A%22typo%22
https://github.com/jiangliuer-beep
jiangliuer-beephttps://github.com/jiangliuer-beep
on Mar 9, 2020https://github.com/Snailclimb/JavaGuide/issues/677#issue-577781862
java的static块执行时机https://blog.csdn.net/berber78/article/details/46472789
typoCorrect typoshttps://github.com/Snailclimb/JavaGuide/issues?q=state%3Aopen%20label%3A%22typo%22
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.