Why Static variable required in java?For ex,class A
{
static int a;
int b;
}
Why static is required?
Answer Posted / soumya
what is the advantage to declare a var as static instead of instance var..can you please tell me in brief?
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
Where are register variables stored?
What do you mean by synchronized non access modifier?
What is boolean in java?
Why is core java important?
how we can make a write-only class in java?
Does unicode support all languages?
What is the difference between yielding and sleeping in java programming?
Why does java doesnt suuport unsigned values?
State the main difference between c++ and java?
Explain the importance of finalize() method.
What mechanism does java use for memory management?
Variable of the boolean type is automatically initialized as?
What is the range of the short type?
What is the difference between call by reference and call by pointer?
Difference between vector and arraylist.