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
What is a boolean expression in java?
What is Session reduplication and how its done?
Why do we need strings in java?
How do you sort data in java?
When does a class need a virtual destructor?
How do you declare an empty string?
What is array and arraylist in java?
What is meant by memory leak?
What is the significance of java packages?
Explain the difference between runnable and callable interface in java?
In java how do we copy objects?
Can we use a switch statement with strings?
What is the association?
Name and explain the types of ways which are used to pass arguments in any function in java.
What is 32 bit float?