Static methods can’t be made abstract in java.

Answer: a
Explanation: The abstract functions can’t be made static in a program. If those are made static then the function will be a property of class rather than each object. In turn ever object or derived class must use the common definition given in the base class. But abstract functions can’t be defined in the base class. Hence not possible.
 

Tìm kiếm

Back
Top