?
Select the statement which should be added to the current C# code to get the output as 10 20?
Select the statement which should be added to the current C# code to get the output as 10 20?
class baseclass
{
protected int a = 20;
}
class derived : baseclass
{
int a = 10;
public void math()
{
/* add code here */
}
}
class baseclass
{
protected int a = 20;
}
class derived : baseclass
{
int a = 10;
public void math()
{
/* add code here */
}
}
Join the Discussion
Login to post a comment or share your explanation.
Login