what is solution for this ? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

what is solution for this ?

Fill in the blanks to derive a class B from class A and prevent class B from being inherited. _____ A { } ______class B A { }

28th Dec 2017, 10:34 AM
Arun Koshti
2 Answers
28th Dec 2017, 12:13 PM
᠌᠌Brains[Abidemi]
᠌᠌Brains[Abidemi] - avatar
+ 1
class A { } sealed class B : A { }
4th Jun 2022, 4:23 PM
Neeraj kapkoti
Neeraj kapkoti - avatar