04 2021 档案
摘要:编写一个简单程序,要求数组长度为5,静态赋值10,20,30,40,50,在控制台输出该数组的值。 package ass; public class bs { /** * @param args */ public static void main(String[] args) { // TODO
阅读全文
摘要:1. package ass; public class bs { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int []a={10,20,30,4
阅读全文
摘要:1. package bbc; public class j1 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub int sum=0; for (int
阅读全文
摘要:1. 分别使用for循环,while循环,do循环求1到100之间所有能被3整除的整数的和。(知识点:循环语句) package as; public class jt1 { /** * @param args */ public static void main(String[] args) {
阅读全文