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 write a conditional statement?
Why we use set in java?
Explain try and catch keywords in java?
What is an abstract class and what is it’s purpose?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What are kinds of processors?
Difference between object and reference?
What is the main use of generics in java?
Why pointers are not used in java?
How many JVMs can run on a single machine and what is the Just-In-Time(JIT) compiler?
Hi i am creating desktop application in that i want calling to mobile number. i have java telephone api (JTAPI) but i dont understand how it configure & use plese help me
What is a lock or purpose of locks in java?
What are the pillars of java?
Which collections are thread safe in java?
What are the restrictions imposed by a Security Manager on Applets?.