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
How we can make copy of a java object?
What is null statement?
What do you mean by boolean?
What are the main differences between the java platform and other platforms?
Differences between traditional programming language and object oriented programming language?
How do you do exponents in java?
How to change the priority of thread or how to set the priority of thread?
what is predefined function in java?
What is the difference between hashset and treeset in java?
What is class array in java?
What means public static?
How do you check if a string contains only numeric digits?
What is an inner class in java?
Name the components that are termed to be Heavy-weight component but available in Light-weight components?
What is volatile data type?