why we cannot declare static variable inside a static method
Answer Posted / ravikiran
Because all the variales inside static method are by
default static
| Is This Answer Correct ? | 15 Yes | 4 No |
Post New Answer View All Answers
What is the default value of float and double datatype in java?
What is string in java is it a data type?
Is ruby built on java?
What are class types in java?
What is the impact of declaring a method as final?
Can private method static?
What does snprintf return?
Which non-unicode letter characters may be used as the first character of an identifier?
What is public static?
Is static variable stored in heap?
What do you mean by static variable?
What is a class component?
What are the four integer types supported by java?
What is e java?
What is difference between calling start() and run() method of thread?