|
1. | There's no need for else because the method will not continue after executing a return. |
| 不必加上else,因为方法在遇到return后便不再继续。 |
|
|
| |
2. | }float naturalLogBase() { return 2.718f; |
| }float naturalLogBase() { return 2.718; |
|
|
| |
3. | This is of the form:@return description |
| 格式如下:@return 说明 |
|
|
| |
4. | " Second, if the method produces a value, that value is placed right after the return statement. |
| 其次,假设方法生成了一个值,则那个值紧接在return语句的后面。 |
|
|
| |
5. | consolidated return |
| 综合报告,汇报总结 |
|
|
| |
6. | int storage(String s) { return s.length() * 2; |
| int storage(String s) {return s.length() * 2; |
|
|
| |
7. | financial internal rate of return |
| "财政内部收益率,见 financial rate of return" |
|
|
| |
8. | You can also see the use of the return keyword, which does two things. |
| 通过上面的例子,也可以了解return关键字的运用。 它主要做两件事情。 |
|
|
| |
9. | internal rate of financial return |
| "财政内部收益率,见 financial rate of return" |
|
|
| |
10. | The return keyword has two purposes: it specifies what value a method will return (if it doesn't have |
| return关键字有两方面的用途:指定一个方法返回什么值(假设它没有void返回值),并立即返回那个值。 |
|
|
| |