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 line separator in java?
how its run?
we have syntax like for(int var : arrayName) this syntax is to find whether a number is in the array or not.but i want to know how to find that number's location.
What is use of static method?
How to find the largest value from the given array.
What do you understand by classes in java?
Why is multithreading important?
Is 9 a prime number?
What is object english?
What is backdrop?
can I implement my own start() method? : Java thread
How can we find the sum of two linked lists using stack in java?
What are the advantages of autoboxing?
What do you mean by default constructor in java?
Implement 2 stacks with just 1 array. The stack routines must not indicate overflow unless every slot in array is used.