+ 4

Can we use abstract and final in class name In java?

4th Dec 2016, 7:13 PM
Rohit Singh Rajput
Rohit Singh Rajput - avatar
2 Antworten
+ 4
thanks #igor
4th Dec 2016, 7:23 PM
Rohit Singh Rajput
Rohit Singh Rajput - avatar
+ 3
Given that abstract mandates overriding in the derived classes and final prevents overriding, they are contradictory and can't be specified at the same time.
4th Dec 2016, 7:20 PM
Igor B
Igor B - avatar