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
Is null == null in java?
Can we declare a constructor as final?
Is there any sort function in java?
What are the two parts of a conditional statement?
What is a numeric string?
How do you use spaces in java?
Why object class is super class for every class in java?
Can we clone singleton object in java?
How is java created?
What is an image buffer?
Explain the features of java?
How java enabled high performance?
What is arrays fill in java?
What is float in java?
What package is math in java?