MCQOPTIONS
Saved Bookmarks
| 1. |
When a function fun() is to receive an int, a single & a double and it is to return a decimal, then the correct way of defining this function is? |
| A. | static fun(int i, single j, double k) { return decimal; } |
| B. | static decimal fun(int i, single, double k) { } |
| C. | decimal fun(int i, single j, double k) { } |
| D. | decimal static fun(int i, single j, double k) { } |
| Answer» C. decimal fun(int i, single j, double k) { } | |