Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

How can you prevent classes to be inherited?

Answer Posted / vijay sharma

We can prevent classes to be inherited by marking the
classes as sealed.

Is This Answer Correct ?    24 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the process of inheriting a class into another class?

991


Define encapsulation?

1080


Contrast between an interface and abstract class?

968


What is difference between ienumerable and enumerable in c#?

906


What is the advantage of constructor?

888


Does the system.exception class have any cool features?

1023


what are the different ways a method can be overloaded?

919


What is the importance of closing an ado.net application?

897


Can we inherit a private class in c#?

895


What is the ouput of the following program?

969


What is difference between code access and role based security?

1070


What are mutable and immutable types in c#?

958


Explain the difference between the system.array.copyto() and system.array.clone()?

923


Why is lazy loading?

871


How to transpose multi-dimensional array?

1077