what is the difference between statis block and static
variable
Answer Posted / suresh.m
staticblock,static variables,static method are executed
before creating an object to be created to class.i think
there is no difference between them.
Is This Answer Correct ? | 2 Yes | 11 No |
Post New Answer View All Answers
Do extraneous variables affect validity?
Are there structures in java?
What are internal variables?
Detail discussions on JVM, memory management and garbage collector.
What is static import?
Explain the overview of UDP messaging.
What happens if an exception is not handled in a program?
why Interface used?
how to deploy tomcatserver to weblogic server? write d following steps?
What is the difference between array list and vector in java?
Which graphs are functions?
Is boolean a wrapper class in java?
Is java a digit method?
Is empty .java file name a valid source file name?
What's the difference between an abstract class and interface in java?