Thursday, March 12, 2009

How many static init can you have ? (CoreJava)

Question :How many static init can you have ? (CoreJava)
Answer :As many as you want, but the static initializers and class variable
initializers are executed in textual order and may not refer to class
variables declared in the class whose declarations appear textually after
the use, even though these class variables are in scope.

No comments: