Answer Posted / nagarajan.s
yes,In Java static Variable can referred in non-static method,
but static method cannot referred non-static variable
| Is This Answer Correct ? | 19 Yes | 1 No |
Post New Answer View All Answers
Variables used in a switch statement can be used with which datatypes?
What about member inner classes?
What are different types of states exist for a thread?
What classes of exceptions may be caught by a catch clause in java programming?
How many types of literals are there in JAVA?
What is a buffer in java?
What do you mean by boolean?
How many static init can you have?
Does list allow duplicates in java?
What is a jit compiler?
What is nullpointerexception?
what is the constructor and how many types of constructors are used in java?
What does java final mean?
how to create constants in java?
What is the difference between a switch statement and an if statement?