Think in java 答案_Chapter 5_Exercise 1
2007-01-23 14:13
661 查看
阅前声明: http://blog.csdn.net/heimaoxiaozi/archive/2007/01/19/1487884.aspx
/****************** Exercise 1 ******************
* Write a program that creates an ArrayList
* object without explicitly importing
* java.util.*.
***********************************************/
public class E01_ImplicitImports {
public static void main(String args[]) {
java.util.ArrayList al =
new java.util.ArrayList();
}
}
//+M java E01_ImplicitImports
**To do this, any references to the object must be made using its full package name.
/****************** Exercise 1 ******************
* Write a program that creates an ArrayList
* object without explicitly importing
* java.util.*.
***********************************************/
public class E01_ImplicitImports {
public static void main(String args[]) {
java.util.ArrayList al =
new java.util.ArrayList();
}
}
//+M java E01_ImplicitImports
**To do this, any references to the object must be made using its full package name.
相关文章推荐
- Think in java &答案_Chapter 2_Exercise 1
- Think in java 答案_Chapter 4_Exercise 1
- Think in java 答案_Chapter 4_Exercise 8
- Think in java 答案_Chapter 4_Exercise 17
- Think in java &答案_Chapter 2_Exercise 2
- Think in java 答案_Chapter 2_Exercise 8
- Think in java 答案_Chapter 4_Exercise 2
- Think in java 答案_Chapter 4_Exercise 18
- 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 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 6
- Think in java 答案_Chapter 2_Exercise 4
- Think in java 答案_Chapter 2_Exercise 9
- Think in java 答案_Chapter 3_Exercise 2
- Think in java 答案_Chapter 3_Exercise 7