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
Why java is secure? Explain.
What are advantages of exception handling in java?
what is the difference between yielding and sleeping? : Java thread
When would you use a static class?
Name some OOPS Concepts in Java?
What is singleton service?
Can we override the static method?
Tell me the Importent classes in net package?
What is vector?
What is the file type?
What is continuity of a function?
What is an empty list in java?
Can we override protected method in java?
What is the += operator called?
What are streams?