what is the difference between statis block and static
variable
Answer Posted / kiran
static variable are access and executed with objects or
methods(static or non-static) its a dependent.
static block executed and access independently when the
program starts
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is the difference between array list and vector in java?
Can you explain inner class.
What do you mean by static variable?
State some advantages of java?
What is the destroy method?
Which one will take more memory: an int or integer?
What about member inner classes?
How do you reverse sort a list in java?
What is final, finally, finalize?
What is singleton class example?
Is this valid in java ? Can we instantiate interface in java?
Explain about interthread communication and how it takes place in java?
What is the method to declare member of a class static?
What types of index data structures can you have in java?
What are the differences between Java 1.0 and Java 2.0?