摘要: package lei; import java.util.Scanner; public class Rectangle { int length; int width ; int showAll; public static void main(String[] args) { // TODO 阅读全文
posted @ 2020-04-19 14:20 我的白菜 阅读(118) 评论(0) 推荐(0)
摘要: //4.定义一个长度为10的int数组(如果没有特殊说明,静态赋值动态赋值都可以),统计数组中的最大值、最小值、以及奇 数和偶数的个数 package jn; import java.util.*; public class sssa { public static void main(String 阅读全文
posted @ 2020-04-16 13:47 我的白菜 阅读(192) 评论(0) 推荐(0)
摘要: int arr[][] = { {3,5,4,6},{3,8,5,6},{14,13,12,15}}; int max=arr[0][0]; for (int i = 0; i < arr.length; i++) { for (int j = 0; j < arr[i].length; j++) 阅读全文
posted @ 2020-04-14 12:07 我的白菜 阅读(147) 评论(0) 推荐(0)
摘要: package ggd; import java.util.*; public class xcz { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Sc 阅读全文
posted @ 2020-04-09 11:46 我的白菜 阅读(172) 评论(0) 推荐(0)
摘要: package ggd; public class xcz { public static void main(String[] args) { // TODO Auto-generated method stub int a = 0; int b = 1234; while(b != 0) { a 阅读全文
posted @ 2020-04-02 11:49 我的白菜 阅读(72) 评论(0) 推荐(0)
摘要: package ggd; import java.util.*; public class gfd { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc=new Scanner 阅读全文
posted @ 2020-03-31 18:48 我的白菜 阅读(119) 评论(0) 推荐(0)
摘要: package ifm; import java.util.*; public class ds { public static void main(String[] args) { // TODO Auto-generated method stub Scanner input = new Sca 阅读全文
posted @ 2020-03-26 11:45 我的白菜 阅读(135) 评论(0) 推荐(0)
摘要: package bao01; import java.util.Scanner; public class Lei01 { public static void main(String[] args) { //4.输入三个数,判断能否构成三角形(任意两边之和大于第三边) Scanner input= 阅读全文
posted @ 2020-03-20 21:15 我的白菜 阅读(176) 评论(0) 推荐(0)
摘要: package stug; public class sdf { public static void main(String[] args) { char a = 'A'; System.out.println((char)(a + 32));//强制转换成char型 } } package st 阅读全文
posted @ 2020-03-19 12:16 我的白菜 阅读(54) 评论(0) 推荐(0)
摘要: package fhf; public class hgh { public static void main(String[] args) { // TODO Auto-generated method stub System.out.println("hello"); } } 阅读全文
posted @ 2020-03-09 15:09 我的白菜 阅读(65) 评论(0) 推荐(0)