摘要:
package cn.itcast; public class StringTest { public static void main(String[] args) { //1.将字符串转换为字符数组 //2.对字符串进行冒泡排序 //3.将字符数组转换为字符串 String ch="qwertyuiopasdfghjklzxcvbnm"; //1....
阅读全文
摘要:
package cn.itcast; public class pubbleSort { public static void main(String[] args) { int[] arr = { 84, 65, 95, 8, 63, 54, 25, 68, 47, 77, 58, 54, 69, 55, 58, 4, 5, 55, 48, 87, 45, 58, 54, 12, 25...
阅读全文
摘要:
package it.com; // 要求:對字符串“jflksjdfnbalkdfjnbaddddnbahhuhnbauuuuahnbahdfunbadhfudf”进行检索;判断有多少个nba; // // 思路:A:定义一个大串保存jflksjdfnbalkdfjnbaddddnbahhuhnbauuuuahnbahdfunbadhfudf; // ...
阅读全文