What are the restrictions placed on static method ?
Java Interview Questions and Answers (part 3)
(Continued from previous question...)
412. What are the restrictions placed on static method ?
We cannot override static methods. We cannot access any object variables inside static method. Also the this reference also not available in static methods.
(Continued on next question...)
Other Interview Questions