what is the difference between statis block and static
variable
Answer Posted / narasimha
i wolud like a new point to the above answer.
first the static varibles are inistalized then the static
bloks are executed.
Is This Answer Correct ? | 3 Yes | 5 No |
Post New Answer View All Answers
How arrays are stored in memory in java?
How do you empty a list in java?
What is the difference between equals() and?
What are the four versions of java?
What is the association?
How do you sort words in java?
How many bytes are a float?
Which is bigger double or float?
How does linkedhashmap work in java?
Can we clone singleton object in java?
What purpose do the keywords final, finally, and finalize fulfill?
Difference between concurrent hashmap and hashtable and collections
What are the differences between forwarding () method and sendredirect() methods?
How many bytes is double?
Explain the importance of import keyword in java?