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...


What are Sealed Classes in C#?

Answers were Sorted based on User's Feedback



What are Sealed Classes in C#?..

Answer / vishalsharma

sealed classes cannot be inherited.

Is This Answer Correct ?    238 Yes 13 No

What are Sealed Classes in C#?..

Answer / senthil kumar

when a class defined as sealed its not possible to inherit
its class and properties to the inherited class.Its also
applicable to the class properties.Even class defined as
public its banned to inherit the class.

Is This Answer Correct ?    126 Yes 18 No

What are Sealed Classes in C#?..

Answer / vijay rana

if we want to prevent a class to be inherited then we use
the keyword sealed,
means this class will not be inherited now

Is This Answer Correct ?    117 Yes 12 No

What are Sealed Classes in C#?..

Answer / sasi

A sealed class cannot be used as a base class. For this
reason, it cannot also be an abstract class.

Is This Answer Correct ?    83 Yes 17 No

What are Sealed Classes in C#?..

Answer / nitin kumar tomar

A Class that cannot be inherited and used by the other
classes

Is This Answer Correct ?    76 Yes 15 No

What are Sealed Classes in C#?..

Answer / hari

Above All Answers Correct

Is This Answer Correct ?    67 Yes 9 No

What are Sealed Classes in C#?..

Answer / kanchan kora

A class which restricts inheritance for security region is
called Sealed class.
Sealed class is the last class in hierarchy.
Sealed class can be a derived class but can't be a base class.
To access the members of sealed class we should create the
instance object.

Advantages of sealed class is it restrict the third party
vendor for developing new software by inheriting from our logic.

Is This Answer Correct ?    50 Yes 9 No

What are Sealed Classes in C#?..

Answer / amol

Sealed class can't be inherited by subclass.

Is This Answer Correct ?    12 Yes 1 No

What are Sealed Classes in C#?..

Answer / irfan

Sealed classes cannot be inheritted by parent class and
sealed methods cannot be ovrriden

Is This Answer Correct ?    24 Yes 18 No

What are Sealed Classes in C#?..

Answer / prabhakaran

A derived class can stop virtual inheritance

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More C Sharp Interview Questions

Which class comes after the SortedList class?

0 Answers   Siebel,


Method1() { int a=0, b=0, c=0; Monitor.Enter(this) c = 12; b = 3; a = c/b Moniter.Exit(this) } Method1() { int a=0, b=0, c=0; c = 12; b = 3; lock(this){ a = c/b } } Choose correct answer. a. Upon completion, Method1 and Method2 release the lock b. Upon Comletion, Method1 release the lcok and Method2 not. c. Upon Completion, Method2 release the lock and Method1 not. d. Upon Completion, neither Method1 or Method to release the lock.

1 Answers  


Are classes passed by reference in c#?

0 Answers  


why instance? what are the uses of instance?

3 Answers   Choice Solutions,


So what makes your code really object-oriented #?

0 Answers  


How?s method overriding different from overloading?

4 Answers  


who is a protected class-level variable available to?

0 Answers   Siebel Systems,


Can you have more than one namespace in c#?

0 Answers  


What is the difference between yield and return?

0 Answers  


What is a dll in c#?

0 Answers  


What is the difference between decimal and integer?

0 Answers  


What is Satellite Assemblies ?

0 Answers   MCN Solutions,


Categories