MCQs>IT & Programming>C#>Consider the following code snippet: public class A {...} public class B: A {...} public class C:B {...} then from the following options, which one will give a compile time error?
C# MCQs
Consider the following code snippet: public class A {...} public class B: A {...} public class C:B {...} then from the following options, which one will give a compile time error?
Answer
Correct Answer: B b= new A();
Explanation:
Note: This Question is unanswered, help us to find answer for this one