0

What is 'final' keyword in C++.

Plz Justify it I don't get it. Thanks in advance.

2nd Nov 2018, 4:40 PM
DarkRanger
DarkRanger - avatar
2 Respuestas
+ 11
It prevents function overriding by derived classes. https://en.cppreference.com/w/cpp/language/final
2nd Nov 2018, 5:24 PM
Harsh
Harsh - avatar
+ 2
Thanks Stellar Fox.
2nd Nov 2018, 5:39 PM
DarkRanger
DarkRanger - avatar