What are the restrictions placed on static method ?

What are the restrictions placed on static method ?

 Static method hava some of the following restrictions : 
    * Static methods can not be overridden.
    * Static methods can only be invoked directly without object reference within the same class and with the class name in another class.
    * There is only one copy of static method for the entire class.
    * They are available before creating the instance of the class.
    * Static method can\'t be declared as final or abstract.

By:Jalees
Date:2015-01-09 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher