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
List some oops concepts in java?
Explain enumeration in java?
What is the default execution method in java?
What is contractor means and methods?
What is the difference between an if statement and a switch statement?
Is java a super set of javascript?
What is identifier in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
What are the main uses of the super keyword?
What is lossy conversion in java?
What is unicode used for?
Is namespace same as package in java?
Can the garbage collection be forced by any means?
what is the significance of listiterator in java?
What is the final keyword denotes?