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
Which is better list or arraylist in java?
Can java run on google chrome?
What is a list in java?
what type of questions asked for barclays technologies pune please send urgent
What is the significance of java packages?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What is the difference between iterator and enumeration ?
what is server side caching?
How do you end a program?
What is meant by method?
Why string is not thread safe?
Why put method is used?
How do you write methodology?
What are synchronized blocks in java?
When should I use singleton?