How do you prevent a class from being inherited? a. By making the class as Private. b. By making the class as private and using sealed keyword. c. By making the class as protected and using sealed keyword. d. By making the class as Sealed.
Rajesh Singh
a,d
d. By making the class as Sealed.
Ans: b