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 java and their uses?
Is it possible to use string in the switch case?
java Technical questions asked by JPMC
What is preparedstatement in java?
What is method with example?
What is qualitative variable?
What do you mean by inner class in java? Explain
What is autoboxing and unboxing?
For class CFoo { }; what default methods will the compiler generate for you>?
How to reverse string in java?
Why arraylist is not synchronized in java example?
how to know the total memory occupied by the objects in the ArrayList(Array list may contain duplicate objects)
How is the marker interface used in Java?
What does isempty () do in java?
What is a parameter in matrices?