摘要:
第一题 一、题目: 创建两个线性表,分别存储{“chen”,“wang”,“liu”,“zhang”}和{“chen”,“hu”,“zhang”},求这两个线性表的交集和并集。 二、源代码: import java.util.*; public class Test { public static 阅读全文
摘要:
第一题 一、题目: 编写一个应用程序,统计输入的一个字符串中相同字符的个数,并将统计结果输出。 二、源代码: import java.util.Scanner;//引包 public class Test {//Test类 public static void main(String[]args){ 阅读全文