← BYTES
C++·Starter·Ref: 8.1.2

Which keyword (C++11+) prevents a class from being inherited?

Have a question about this video? Mention reference 8.1.2 when you contact us.

a.sealed
b.const
c.static
d.final
The final specifier, introduced in C++11, prevents a class from being derived from or a virtual function from being overridden.

Find this on YouTube & Instagram

Every BYTES video is tagged with its reference number and topic — search any of these on YouTube or Instagram to find this one:

#BYTES#BYTES812#C