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


Please Help Members By Posting Answers For Below Questions

What is thread life cycle in java?

578


describe method overloading

529


What does java stand for?

547


What does sizeof return?

551


Which list does not allow duplicates in java?

506






What is constructor chaining and how is it achieved in java?

564


How does arraylist work in java?

523


What is a class object?

496


What is a boolean used for?

582


What are inbuilt functions in java?

557


How do you add an arraylist to an array in java?

503


Is string a wrapper class?

509


What is matcher in java?

512


What is wrapper class html?

524


What is the difference between the reader/writer class hierarchy and the inputstream/outputstream class hierarchy in java programming?

600