摘要: package wang.hm; import java.text.ParseException; import java.text.SimpleDateFormat; import java.util.Date; /* * 第一题 */ public class DateDemo { public 阅读全文
posted @ 2020-05-28 11:20 计算机1802王兆明 阅读(128) 评论(0) 推荐(0) 编辑
摘要: 1 package h_m5_14; 2 /* 3 * 汽车类 父类 4 */ 5 public class Vehicle { 6 private String brand; 7 private String color; 8 private double speed; 9 public Vehi 阅读全文
posted @ 2020-05-14 11:28 计算机1802王兆明 阅读(143) 评论(0) 推荐(0) 编辑
摘要: package h_m_5_7; //第一题 public class Student { private String name; private int score; public Student() { // TODO Auto-generated constructor stub } pub 阅读全文
posted @ 2020-05-07 11:06 计算机1802王兆明 阅读(95) 评论(0) 推荐(0) 编辑
摘要: package h_m5_1; import java.awt.Point; /* * 练习一 */ public class Ponit01 { private int x ; private int y ; public Ponit01() { } public Ponit01(int x, i 阅读全文
posted @ 2020-05-05 18:27 计算机1802王兆明 阅读(134) 评论(0) 推荐(0) 编辑
摘要: package hm_4_29; /* * 第一题 */ import java.util.Random; import java.util.Scanner; public class Demo01 { public static void main(String[] args) { mainMen 阅读全文
posted @ 2020-04-29 09:56 计算机1802王兆明 阅读(130) 评论(0) 推荐(0) 编辑
摘要: package hm_4_19; public class Rectangle { public int length ; public int width; public Rectangle(int length, int width) { super(); this.length = lengt 阅读全文
posted @ 2020-04-19 11:34 计算机1802王兆明 阅读(127) 评论(0) 推荐(0) 编辑
摘要: package hm_4_16_practice; import java.util.Arrays; import java.util.Scanner; /* * 评委打分 去掉最低分和最高分求平均数 */ public class test01 { public static void main( 阅读全文
posted @ 2020-04-16 11:52 计算机1802王兆明 阅读(142) 评论(0) 推荐(0) 编辑
摘要: package hm_4_16; /* * 第一题升序排列 */ import java.util.Arrays; public class test01 { public static void main(String[] args) { int[] arr = {26,36,96,25,6}; 阅读全文
posted @ 2020-04-15 07:29 计算机1802王兆明 阅读(116) 评论(0) 推荐(0) 编辑
摘要: package practice4_9; import java.util.Arrays; /* * 编写数组静态赋值 */ public class test01 { public static void main(String[] args) { int[] arr1 = {10,20,30,4 阅读全文
posted @ 2020-04-09 11:11 计算机1802王兆明 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public class Practice4_2_01 { public static void main(String[] args) { int i ; int ge; int shi; int bai ; for ( i = 100; i < 1000; i++) { ge = i%10; s 阅读全文
posted @ 2020-04-02 12:08 计算机1802王兆明 阅读(142) 评论(0) 推荐(0) 编辑