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
Related Questions on Classes and Objects in C Sharp
A. A blueprint for creating objects
B. A method in C#
C. A variable in C#
D. A data type in C#
A. A method in C#
B. A variable in C#
C. An instance of a class
D. A data type in C#
A. public
B. private
C. protected
D. internal

Join The Discussion