why we cannot declare static variable inside a static method
Answer Posted / srinu
generally all variables inside static method treated as
static
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Is java a pure object oriented language?
What are instance variables?
What is valid keyword in java?
What does regex mean?
How do you create a null object?
Is array synchronized in java?
What is binary search in java?
What is tcp ip in java?
When we should use serialization?
What are untrusted applets?
Can one thread block the other thread?
Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?
How many types of classes are there in java?
What is a predicate method?
What is the dot operator?