java基础
仙人掌_
这个作者很懒,什么都没留下…
展开
-
基于application的程序,要求能够从文本文件(text.txt)中统计出英文字母的个数和大写字母的个数,并输出。
package com.pf.test;import java.io.File;import java.util.Scanner;public class Test {public static void main(String[] args) {try {Scanner sc = new Scanner(new File("text.txt"));while原创 2017-07-12 18:29:53 · 1854 阅读 · 0 评论 -
时间类型的工具类-java
/** * Copyright (c) 2015-2016, Chill Zhuang 庄骞 ([email protected]). * * Licensed under the Apache License, Version 2.0 (the “License”); * you may not use this file except in compliance with ...原创 2018-03-19 15:29:57 · 377 阅读 · 0 评论