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)

Choose the wrong statement about properties used i... >>
<< What is the value returned by function compareTo( ...