Interview Question
Qus: What are the restrictions that are applied to the Java static methods?
Answers (1)
o The static method can not use non-static data member or call the non-static method directly.
o this and super cannot be used in static context as they are non-static.