Multiple choice

What is the meaning of the following statement written in C#? class A : B

  1. Class A is derived in class B

  2. Method of class A is implemented in class B

  3. Class B is derived in class A

  4. Class A and class B are same class

  5. Class B cannot be derived in class A

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This is the correct option as colon operator is used in C# to inherit any class in an existing class.