Answer Posted / 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 |
Post New Answer View All Answers
What are the different http methods?
How do you identify if jvm is 32-bit or 64-bit from java program?
Why bytecode is called bytecode?
Is it possible to specify multiple jndi names when deploying an ejb?
How are destructors defined in java?
What does t in java mean?
What are the data types supported by java? What is autoboxing and unboxing?
What is the difference in between cpp and java? Can u explain in detail?
What is polymorphism and what are the types of it?
What is static class
What are the restrictions imposed on method overriding?
How is final different from finally and finalize?
What is the use of singleton class?
What is arrays fill in java?
Is a case study a method or methodology?