摘要:
经典的用String的indexOf和substring组合方法来求字符串中某个字符出现的次数 阅读全文
posted @ 2018-02-25 14:55
cheney-yang
阅读(8545)
评论(0)
推荐(0)
摘要:
import java.util.Scanner; public class Practise03 { public static void main(String[] args) { //键盘录入一个字符串,用方法进行反转 System.out.println("请输入一个字符串:"); Scanner sc = new Scanne... 阅读全文
posted @ 2018-02-25 08:13
cheney-yang
阅读(899)
评论(0)
推荐(0)