-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathkuaijiejian.java
More file actions
51 lines (42 loc) · 1.04 KB
/
kuaijiejian.java
File metadata and controls
51 lines (42 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
package study;
import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class kuaijiejian
{
private static final int INITIAL_SIZE = 10;
public static int getInitialSize()
{
return INITIAL_SIZE;
}
public static void main(String[] args)
{
//region Description
System.out.println("kuaijiejian");
ArrayList list1 = new ArrayList();
Date date = new Date();
//endregion
list1.add(0, "de");
list1.add(1, "hua");
System.out.println(list1);
// Method();
String str = new String();
String str1 = new String();
String str2 = new String();
Date date2 = new Date();
System.out.println();
}
public static void Method()
{
try
{
FileInputStream fis = new FileInputStream("hello.txt");
}
catch (FileNotFoundException e)
{
e.printStackTrace();
}
}
}