摘要:
import java.util.*;import java.io.*;public class TestFile{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); System.out.print("请输入文件名:"); String name=sc.nextLine(); File f=new... 阅读全文
posted @ 2010-10-16 17:20
cp3
阅读(364)
评论(0)
推荐(1)
摘要:
public class TestCount{ //测试代码 public static void main(String[] args){ String s="java I Love JAVA,我是迪锐2010年的学员!It's so difficult to study java"; count(s);//调用方法 System.out.println("===================... 阅读全文
posted @ 2010-10-16 15:59
cp3
阅读(1336)
评论(1)
推荐(1)