Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Polymorphism
Which of the following operators cannot be overloaded? true false new ~ sizeof
1, 3
2, 4
3, 5
All of the above
Correct Answer:
3, 5
← Previous Question
Next Question→
More Questions from
Polymorphism
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 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 statements is correct?
Which of the following statements is correct?
Which of the followings is the correct way to overload + operator?
Which of the following keyword is used to overload user-defined types by defining static member functions?
Which of the following are necessary for Run-time Polymorphism? The overridden base method must be virtual, abstract or override. Both the override method and the virtual method must have the same access level modifier. An override declaration can change the accessibility of the virtual method. An abstract inherited property cannot be overridden in a derived class. An abstract method is implicitly a virtual method.
Which of the following can be declared as a virtual in a class? Methods Properties Events Fields Static fields
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment
Join Discussion
Discussion & Comments