Static Variable can referred in non-static method?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / rableen khurana
Yes we can access static variable in non-static
methods....and we can access instance variable in static
method also with the help of object......
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / brijendra kumar soni(xavient)
No,In Java Non static method can not permitted the staic
variable.
| Is This Answer Correct ? | 0 Yes | 17 No |
What is the range of a character variable?
Do you know thread pools?
What does super keyword do?
Define an enumeration?
Difference between Primary key and unique key?
I need to know about complete topic in java's collections i with an examples
What is the purpose of skeleton and stub?
Is java hashset ordered?
How the elements are organized in GridBagLayout?
Explain the difference between hashmap and hashtable in java?
When we serialize an object does the serialization mechanism saves its references too?
What is the exact difference in between Unicast and Multicast object? Where will it be used?