Qus:    What is the purpose of NotInheritable keyword in VB.NET?
Mar 04, 2021 11:30 2 Answers Views: 49 KRISHNA SWAROOP
Prev Next
Answers (2)
PARTH Mar 06, 2021 00:29
Answer:   The purpose of NotInheritable keyword in VB.NET is to prevent the classes from being inherited. Classes are most often marked NotInheritable to prevent accidental inheritance.

SWEETY Mar 06, 2021 08:55
Answer:   The NotInheritable keyword when placed before the class declaration does not allow class derivation. The purpose of using NotInheritable keyword in VB.NET is to prevent accidental inheritance.

Post Your Answer
Guest User

Not sure what course is right for you?

Choose the right course for you.
Get the help of our experts and find a course that best suits your needs.


Let`s Connect