Why we can't create the object of abstract class ?

Answer Posted / ian

The reason behind this is , the abstract class contains
abstract methods which cant do any job. Calling such
function is meaningless. So it is not allowed to
instantiate abstract class

Is This Answer Correct ?    63 Yes 35 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is private static in c#?

488


Can I use ReaderWriterLock instead of Monitor.Enter/Exit for Threading?

525


What are tuples c#?

510


What is connection pooling in ado.net?

553


What does console writeline do?

496






Whats an assembly? Describe the importance of assembly?

503


So let's say I have an application that uses myapp.dll assembly, version 1.0.0.0. There is a security bug in that assembly, and I publish the patch, issuing it under name myapp.dll 1.1.0.0. How do I tell the client applications that are already installed to start using this new myapp.dll?

498


What does assert() do in c#?

559


How to handle exceptions that are raised in a component?

598


What is difference between list and ilist in c#?

472


Why are strings in c# immutable?

507


How many classes are there in classification?

519


Is struct object oriented?

482


can you create a function in c# which can accept varying number of arguments

609


What is an array of arrays called?

440