Register on the forum now to remove ALL ads + popups + get access to tons of hidden content for members only!

Go Back   Site Owners Forums - Webmaster Forums > Web Programming > Programming General > Java


Thread Tools Rate Thread Display Modes
Old 05-29-2018, 07:15 AM   #1
Registered User
Join Date: Apr 2018
Posts: 1,139
What is static block?

Is used to initialize the static data member.
It is excuted before main method at the time of classloading.
ajaxdns is offline   Reply With Quote


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
What is static block? sunled Java 0 05-23-2018 12:02 AM
What is static block? sunled Java 0 04-12-2018 09:45 PM
What is static block? sunled Java 0 03-26-2018 10:32 PM
What is static block? sydneyearplug Java 0 02-22-2018 01:19 AM
What is static block? sunled Java 4 11-30-2017 01:35 AM

All times are GMT -7. The time now is 05:19 PM.

Powered by vBulletin Copyright © 2013 vBulletin Solutions, Inc.