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
How dead lock situation occurs in java and how you can identify it?
Is java a compiler?
Which containers use a flowlayout as their default layout in java programming?
What does mean in regex?
what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread
What is the difference between ArrayList and Vector? which one is better in Java
What is bufferedwriter?
What is parameters example?
What is parameter example?
Describe the Big-O Notation.
Explain importance of finally block in java?
what is meant by HQL?
What are access specifiers available in java?
Why are functions called methods in java?
How many bytes is a char in java?