Answer Posted / muthusenthil
No, you can declare static variable only in static method
Is This Answer Correct ? | 6 Yes | 19 No |
Post New Answer View All Answers
How to create an immutable class?
What happens if we don’t override run method ?
How do you join strings in java?
Explain access modifiers in java.
Which is better arraylist or vector?
What is natural ordering in java?
What is class??
Explain the difference between map and flatmap stream operation?
List implementations of list interface?
What is the nested interface?
Are arrays primitive data types?
What is lifetime variable?
What is string builder in java?
What are the uses of java?
List some important characteristics on jre