What are the restrictions placed on static method ?
Page 1 of 1
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.
Similar topics
» What does it mean that a method or field is "static"?
» What does it mean that a method or class is abstract?
» Difference between Function and Method
» Write a method to implement *,-,/ operations. You should use only the + operator
» synchronized method vs synchronized block
» What does it mean that a method or class is abstract?
» Difference between Function and Method
» Write a method to implement *,-,/ operations. You should use only the + operator
» synchronized method vs synchronized block
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|