Buy Questpond's video subscriptions on
huge discount
.
Online: 1320
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
OOPS
>
Loading ...
What can you do to make class available for inheritance but you need to prevent it's method to come in inheritance chain?
Posted by
Virendradugar
on 12/15/2009 | Category:
OOPS Interview questions
| Views: 5490
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
Well, Declare a class with
public
access specifier and mark all it's method to
private
. As anything which is declared with sealed keyword cannot be inherited.
Asked In:
Many Interviews |
Alert Moderator
Bookmark It
< Previous :
What is the result of below given line of code in ...
Next > :
What will happen if you declare a variable named & ...
Comments or Responses
Login to post response
More Interview Questions by Virendradugar
What will happen if you declare a variable named "checked" w ...
What is obsolete method?
Can you have different access modifiers on the get/set methods of a pr ...
JQuery is replacement of Java Script?
Name some of the methods of JQuery used to provide effects?
What are features of JQuery or what can be done using JQuery?
What is JQuery UI?
Using which property you can check on the server whether validators co ...
Latest Interview Questions
What are anonymous methods?
Restrictions of yield in try-catch.
With yield break statement, control gets …
What first action compiler will take on detection of iterator ?
Elements of jagged array are of…
How can we make file hidden ?
The capacity of the stringbuilder get increased,…
Clustered Index vs NonClustered Index.
More ...