in Dot Net by
Q:
How can we set class to be inherited, but prevent the method from being over-ridden?

1 Answer

0 votes
by

Declare the class as public and make the method sealed to prevent it from being overridden.

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
+1 vote
asked Jun 25, 2019 in Dot Net by Venkatshastri
...