Why Static variable required in java?For ex,class A
{
static int a;
int b;
}
Why static is required?
Answer Posted / za
because it help us to declare class field asglobal variable
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
Explain access specifiers?
Can substring create new object?
List any five features of java?
What is a boolean structure?
What are generic methods?
What are the advantages of assembly language?
What is difference in between java class and bean?
What is the replace tool?
What is the default size of arraylist in java?
State the main difference between c++ and java?
Can we modify the throws clause of the superclass method while overriding it in the subclass?
What is enhanced loop in java?
What is string in java with example?
How long will it take to learn java?
What flag up means?