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
Which is illegal identifier in java?
Can a class with private constructor be extended?
How do you write a scanner class in java?
When is the garbage collection used in Java?
What is tree node in java?
What do you mean by hashing?
What are 5 boolean operators?
What is double data type?
Does java have a compiler?
What is widening and narrowing in java? Discuss with an example.
What are the advantages of exception handling in java?
Is java an open source?
What is the purpose of using javap?
What is a stringbuffer?
What is the use of jtable?