Can you allow class to be inherited, but prevent the method from being over-ridden?

 Posted by Blessybaby on 1/6/2010 | Category: OOPS Interview questions | Views: 6302
Answer:

Yes, just leave the class public and make the method sealed.


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response