Which of the following operators cannot be overloaded?
Which of the following is the correct way to overload + operator?
public sample operator + ( sample a, sample b )public abstract operator + ( sample a, sample b)public abstract sample operator + (sample a, sample b )public static sample operator + ( sample a, sample b )Which of the following are necessary for Run-time Polymorphism?
Which of the following unary operators can be overloaded?
Which of the following modifier is used when a virtual method is redefined by a derived class?
In order for an instance of a derived class to completely take over a class member from a base class, the base class has to declare that member as
Which of the following statements is correct?
A derived class can stop virtual inheritance by declaring an override as
Which of the following can be declared as a virtual in a class?
Which of the following statements are correct?
Which of the following keyword is used to change the data and behavior of a base class by replacing a member of a base class with a new derived member?
Which of the following statements is correct?
Which of the following statement is correct about the C#.NET code snippet given below?
public class Sample
{
public int x;
public virtual void fun()
{ }
}
public class DerivedSample : Sample
{
new public void fun()
{ }
}Which of the following statements is correct?
Which of the following statements is correct?
Which of the following keyword is used to overload user-defined types by defining static member functions?