Why non static method can not be called inside static method
Answers
Answered by
0
Answer:
The simple reason behind this is that Static data members of parent class can be accessed (only if they are not overridden) but for instance(non-static) data members or methods we need their reference and so they can only be called through an object. ... A non-static method is dependent on the object.
Explanation:
Similar questions