• +91 9723535972
  • info@interviewmaterial.com

DotNet Interview Questions and Answers

Question -   How can you prevent your class to be inherated further?

Answer -    By setting Sealed - Key word  public sealed class Planet  {              //code goes here  } class Moon:Planet  {      //Not allowed as base class is sealed  }

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners