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
Explain runtime exceptions?
What is command line used for?
Can keyword be used as identifier?
Can inner class be public in java?
What is mnemonic in assembly language?
how we can create packages in java?
What do you mean by ordered and sorted in collections in java?
What does java se mean?
Explain the difference between association, aggregation and inheritance relationships.
What is a treeset in java?
How do you control extraneous variables?
What are the escape sequences in java?
What is a programming object?
What is string array?
How will you call an Applet using Java Script Function?