+ 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
᠌᠌Code X
᠌᠌Code X - avatar
+ 1
class A { } sealed class B : A { }
4th Jun 2022, 4:23 PM
Neeraj kapkoti
Neeraj kapkoti - avatar