MCQOPTIONS
Saved Bookmarks
| 1. |
Which return statement correctly returns the output: |
| A. | public int cube(int x){return (x + x);} |
| B. | public int cube(int x)return (x + x); |
| C. | public int cube(int x){return x + x;} |
| D. | None of mentioned |
| Answer» B. public int cube(int x)return (x + x); | |