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 super void?
What is string immutability?
How do you define a method?
What is difference between local variable and global variable?
What is the purpose of using break in each case of switch statement?
What are the six ways to use this keyword?
What is gui programming?
What is meant by main method?
What are the wrapped, classes?
Which container method is used to cause a container to be laid out and redisplayed in java programming?
What is difference between string and stringbuffer?
What is the difference between hashset and treeset in java?
I want my class to be developed in such a way that no other class (even derived class) can create its objects. Define how can I do so?
Are arrays primitive data types?
What are the features of java?