Which Return Statement Correctly Returns The Output #195
Which return statement correctly returns the output?
This multiple choice question (MCQ) is related to the book/course gs gs108 CSharp. It can also be found in gs gs108 Classes - Methods in Class - Quiz No.1.
Which return statement correctly returns the output?
public int cube(int x) { return (x + x); }
public int cube(int x) return (x + x);
public int cube(int x) { return x + x; }
None of the mentioned