C# Programming - Polymorphism - Discussion
Discussion Forum : Polymorphism - General Questions (Q.No. 6)
6.
Which of the following is the correct way to overload + operator?
Discussion:
7 comments Page 1 of 1.
Vlad said:
1 decade ago
Do you mean overloaded operator should be static?
Prasad said:
8 years ago
Option 1 is also correct for non-static class.
Amey Deshpande said:
1 decade ago
Overloaded methods should be static.
Vaseem said:
10 years ago
It may have return type or not.
Sami said:
1 decade ago
Why there is no return type?
Ngtdung said:
1 decade ago
The return type is "sample".
Firoza said:
10 years ago
Why static only?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers