is it possible to inherit a class but methods declared in
the class should not be inheritable i possible how?

Answer Posted / arunkumar

s it is possible by doing Sealed keyword to the method in
first class

Is This Answer Correct ?    21 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is lastindexof c#?

484


What is interface c#?

462


Is c# easier than c++?

537


What is overloading with example?

501


What is garbage collector and where should you use in .NET?

515






What is data type c#?

498


Why do we use class in c#?

480


What is this keyword in C#?

586


What is a collection in c#?

510


How does split work in c#?

488


What is ispostback c#?

480


What is dao in c#?

490


What are circular references?

524


What is delegate in c# interview questions?

499


What is default constructor in c#?

502