Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Home
»
C# Programming
»
Polymorphism
Which of the followings 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 )
All of the above
Show Answer
Correct Answer:
public static sample operator + ( sample a, sample b )
← Previous
Next →
Discussion & Comments
No comments yet. Be the first to comment!
Name:
Comment:
Post Comment