Think in java 答案_Chapter 2_Exercise 9
2007-01-19 17:47
489 查看
阅前声明:
http://blog.csdn.net/heimaoxiaozi/archive/2007/01/19/1487884.aspx
/****************** Exercise 9 ******************
* Find the code for the second version of
* HelloDate.java, which is the simple comment
* documentation example. Execute javadoc on the
* file and view the results with your Web
* browser.
***********************************************/
import
java.util.*;
public
class
E09_HelloDate {
public
static
void
main(String[] args) {
System.out.println("Hello, it's: "
);
System.out.println(new
Date());
}
}
//+M java E09_HelloDate
//+M mkdir HelloDate
//+M javadoc E09_HelloDate.java –d HelloDate
**The command to run javadoc
on the file and to place the results in a separate subdirectory called HelloDate
is embedded as the third +M
comment directive above. Note that javadoc doesn’t automatically create the destination directory.
http://blog.csdn.net/heimaoxiaozi/archive/2007/01/19/1487884.aspx
/****************** Exercise 9 ******************
* Find the code for the second version of
* HelloDate.java, which is the simple comment
* documentation example. Execute javadoc on the
* file and view the results with your Web
* browser.
***********************************************/
import
java.util.*;
public
class
E09_HelloDate {
public
static
void
main(String[] args) {
System.out.println("Hello, it's: "
);
System.out.println(new
Date());
}
}
//+M java E09_HelloDate
//+M mkdir HelloDate
//+M javadoc E09_HelloDate.java –d HelloDate
**The command to run javadoc
on the file and to place the results in a separate subdirectory called HelloDate
is embedded as the third +M
comment directive above. Note that javadoc doesn’t automatically create the destination directory.
相关文章推荐
- Think in java &答案_Chapter 2_Exercise 1
- Think in java 答案_Chapter 4_Exercise 2
- Think in java 答案_Chapter 4_Exercise 18
- Think in java &答案_Chapter 2_Exercise 2
- Think in java 答案_Chapter 2_Exercise 8
- Think in java 答案_Chapter 3_Exercise 1
- Think in java 答案_Chapter 3_Exercise 6
- Think in java 答案_Chapter 4_Exercise 9
- Think in java 答案_Chapter 4_Exercise 19
- Think in java 答案_Chapter 5_Exercise 5
- Think in java 答案_Chapter 5_Exercise 9
- Think in java chapter's答案_Chapter 2_Exercise 3
- Think in java 答案_Chapter 3_Exercise 2
- Think in java 答案_Chapter 3_Exercise 7
- Think in java 答案_Chapter 4_Exercise 4
- Think in java 答案_Chapter 4_Exercise 10
- Think in java 答案_Chapter 4_Exercise 20
- Think in java 答案_Chapter 5_Exercise 6
- Think in java 答案_Chapter 2_Exercise 4
- Think in java 答案_Chapter 2_Exercise 10