what is the reason behind non static method cannot be
referenced from a static Context?
Answer Posted / sadikhasan palsaniya
static variable and method refer to the class variable and
method and non static method can refer to particular object
and if static method can permit to access non static method
then how can recognize that method belong which object
that's why not accessible.
if any mistake welcome and correct me!!!!!
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
What is listnode in java?
what is meant by Byte code concept in Java?
How large is a boolean?
How to declare an arraylist in java?
What is java util?
What is a type parameter in java?
How to change value in arraylist java?
What state does a thread enter when it terminates its processing in java programming?
What is the syntax and characteristics of a lambda expression?
What is the difference between quicksort & mergesort? When should they be used? What is their running time?
How do you execute a thread in java?
what is the major difference between linkedlist and arraylist in java?
What are different types of states exist for a thread?
What are the advantages and disadvantages of reference counting in garbage collection?
Can we extend a class with private constructor?