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 thread life cycle in java?
describe method overloading
What does java stand for?
What does sizeof return?
Which list does not allow duplicates in java?
What is constructor chaining and how is it achieved in java?
How does arraylist work in java?
What is a class object?
What is a boolean used for?
What are inbuilt functions in java?
How do you add an arraylist to an array in java?
Is string a wrapper class?
What is matcher in java?
What is wrapper class html?
What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?