C Sharp (C#) - Polymorphism and Abstract ClassesWhat is true about an abstract class in C#?AIt can be instantiated like any other class.BIt must have only abstract methods.CIt cannot be instantiated directly.DIt cannot have any methods.Check Answer
Step-by-Step SolutionSolution:Step 1: Understand abstract class instantiation rulesAn abstract class is designed as a base template and cannot be created as an object directly.Step 2: Check other options for correctnessAbstract classes can have both abstract and non-abstract methods, so options A, B, and D are incorrect.Final Answer:It cannot be instantiated directly. -> Option CQuick Check:Abstract class = no direct instantiation [OK]Quick Trick: Remember: abstract classes are blueprints, not objects. [OK]Common Mistakes:MISTAKESThinking abstract classes can be instantiated.Believing abstract classes must have only abstract methods.Confusing abstract classes with interfaces.
Master "Polymorphism and Abstract Classes" in C Sharp (C#)9 interactive learning modes - each teaches the same concept differentlyLearnWhyDeepVisualTryChallengeProjectRecallTime
More C Sharp (C#) Quizzes Collections - List methods (Add, Remove, Find, Sort) - Quiz 10hard Exception Handling - Using statement for resource cleanup - Quiz 3easy Exception Handling - When clause in catch - Quiz 10hard File IO - Working with JSON files - Quiz 14medium Inheritance - Protected access modifier - Quiz 7medium LINQ Fundamentals - OrderBy and sorting - Quiz 2easy Polymorphism and Abstract Classes - When to use abstract vs concrete - Quiz 1easy Properties and Encapsulation - Property validation logic - Quiz 7medium Strings and StringBuilder - StringBuilder methods and performance - Quiz 10hard Strings and StringBuilder - StringBuilder and why it exists - Quiz 4medium