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 is the difference between iterator and enumeration ?
How to add menushortcut to menu item?
What is a null check?
What is object data type?
Can a class be protected in java?
How will you invoke any external process in java?
What are advantages and disadvantages of OOPs?
What is class forname?
Does sprintf allocate memory?
Difference between doublesummarystatistics, intsummarystatistics and longsummarystatistics ?
Can inner class have constructor?
What are the advantages of java?
List some features of the abstract class.
Is java owned by oracle?
What is module in oop?