When do you absolutely have to declare a class as abstract
(as opposed to free-willed educated choice or decision based
on UML diagram)?

Answer Posted / guest

When at least one of the methods in the class is abstract.
When the class itself is inherited from an abstract class,
but not all base abstract methods have been over-ridden

Is This Answer Correct ?    0 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the use of SN.exe

589


Can we make a class private in c#?

498


What is the CTS, and how does it relate to the CLS?

548


Is struct object oriented?

476


What does dbml mean?

500






What is an array? Give the syntax for a single and multi-dimensional array?

489


What's the difference between class and object?

481


What is the difference between “constant” and “readonly” variables in c#?

497


Is string a primitive data type in c#?

502


What is readline c#?

488


How many types of interface are there in c#?

471


Is functional interface runnable?

508


Can hashtable have duplicate keys in c#?

476


Are c# generics the same as c++ templates?

495


How many root nodes are there in an xml document?

445