Syntax error Why can't static method be abstract in Java?

Why can't static method be abstract in Java?



A static method belongs to class not to object instance thus it cannot be overridden or implemented in a child class. So there is no use of making a static method as abstract.

Updated on: 2019-07-30T22:30:21+05:30

2K+ Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements