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 / umesh

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 ?    18 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we inherit static class in c#?

476


How will you allow a class to be inherited, but prevent the method from being over-ridden?

519


What is c# and why it is used for?

495


What is the base class of all classes in c#?

500


What are assemblies?

535






What method is used to sort the elements of the array in descending order?

562


Can fields inside a class be virtual?

529


What are the characteristics of c#?

466


Is it possible to execute multiple catch block for a single try statement?

579


What is _viewstart cshtml?

467


What is event and delegates in c#?

565


Explain the concepts of cts and cls(common language specification).

495


What are the advantages of generics in c#?

488


What does type safety mean?

567


What is web forms in c#?

492