What does the following C# code signify?
class a
{
}
class b : a
{
variable declaration;
method declaration;
}
class a
{
}
class b : a
{
variable declaration;
method declaration;
}
A. Declaration of a base class
B. Declaration of a subclass
C. Declaration of base class & subclass and how subclass inherits the base class
D. None of the mentioned
Answer: Option C
Join The Discussion