Skip to content

Static Block in Java | Example Program & Advantage

0
Static Block in Java | Example Program & Advantage

Static Block in JavaStatic block is the group of statements that gets executed only once when the class is loaded into the memory by Java ClassLoader.Syntax of the static block is static { // Logics here or group of statement

Read this post on scientecheasy.com


Popular Articles by this blogger