what is a static block?

Answer Posted / ravikiran

static block is used to initialization during the JVM start
up

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does a boolean method return?

633


Can singleton class be inherited in java?

518


Why null value is used in string?

530


What sorting algorithm does javascript use?

530


What is the use of callablestatement?

579






What is the use of bufferedreader?

532


What are methods and how are they defined?

603


What is meant by method?

579


What is the size of an array?

553


What is subsequence of a string?

604


What is static synchronization?

576


What is the purpose of tostring() method in java?

554


What are JVM.JRE, J2EE, JNI?

693


Explain about object oriented programming and its features?

599


What does it mean to flush a file?

572