实验源代码: package sushu; import java.util.Scanner; public class First { int size=2; int data[]=new int[100]; int data1[]=new int[1000]; Scanner input=new Scanner(System.in); //界面 public void menu() { System.out.println(); System.out.println("1.输出3-100所有
个人博客 一.基础字符串操作 题目:已知字符串:"this is a test of java".按要求执行以下操作:(要求源代码.结果截图.) 统计该字符串中字母s出现的次数. 统计该字符串中子串"is"出现的次数. 统计该字符串中单词"is"出现的次数. 实现该字符串的倒序输出. package com.company; public class Main { static String str = "this is a test