How can we main a Class as base class,i.e not inherited
further?{please Dont tell using Sealed class,any other way}

Answer Posted / arun

using final keyword....i am not sure whether this works in
c# or not...

Is This Answer Correct ?    0 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 elements of delegation?

700


How many destructors can a class have?

782


What are c# i/o classes? What are the commonly used i/o classes?

696


So what makes your code really object-oriented #?

683


Can a private virtual method can be overridden?

735


Can you have more than one namespace in c#?

665


If you define a user defined data type by using the struct keyword, is it a value type or reference type?

679


What is the difference between System.console.WriteLine() and System.console.Write() function?example?

799


What is the extension of c# file?

617


Can you store strings in arrays?

739


How long can loop recorders stay in?

867


Where static variables are stored?

654


What is c sharp used for?

661


What is lazy loading and eager loading in c#?

660


What is mean by c#?

681