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 do you implement polymorphism in our day to day life?
What is a website container?
Why main function is static?
What is meant by anonymous class?
What is hash code collision?
Why are data types important?
What are byte codes?
What is the difference between the font and fontmetrics classes in java programming?
Why destructor is not used in java?
What are kinds of processors?
Is vector ordered in java?
Why hashcode is used in java?
How do constructors use this() and super()?
Is heap stored in ram?
What is null in java?