Q:

The correct way to overload +operator?

2

The correct way to overload +operator?


  1. public sample operator + (sample a, sample b)
  2. public abstract operator + (sample a, sample b)
  3. public static operator + (sample a, sample b)
  4. all of the mentioned above

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

Correct Answer:

all of the mentioned above

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now