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 meant by abstract class?
Is set ordered?
What is ide with example?
Is string is a keyword in java?
What are different types of classloaders?
Can we able to pass objects as an arguments in java?
How will you compute size of a structure?
In java, what is the difference between method overloading and method overriding?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
Difference between arraylist and hashset in java?
Explain the term virtual machine?
Discuss different types of errors that generally occur while programming.
Why enumeration is faster than iterator?
Can we sort arraylist in java?
What is java used for?