2017年11月21日

11.20作业

摘要: 1 package Hzy; 2 3 public class feiponaqi { 4 public static void main(String[] args) { 5 int[] arr = new int [30]; 6 arr[0] = 1; 7 arr[1] = 1; 8 for(int i... 阅读全文

posted @ 2017-11-21 18:14 黄宗禹 阅读(121) 评论(0) 推荐(0) 编辑

2017年11月14日

11.13第十二次作业

摘要: package Hzy; public abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name) { this... 阅读全文

posted @ 2017-11-14 15:53 黄宗禹 阅读(85) 评论(0) 推荐(0) 编辑

11.13第十一次作业

摘要: package Hzy; public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } public abs... 阅读全文

posted @ 2017-11-14 15:44 黄宗禹 阅读(90) 评论(0) 推荐(0) 编辑

2017年11月11日

11.06第九次作业

摘要: package Hzy; public class Circle { private double radius; public Circle(double radius) { this.radius = radius; } public Circle() { this.radius = 1; } publi... 阅读全文

posted @ 2017-11-11 12:48 黄宗禹 阅读(107) 评论(0) 推荐(0) 编辑

2017年11月7日

11.06第十次作业

摘要: 1 package Hzy; 2 3 public class StaticDemo05 { 4 public static void main(String args[]) { 5 new StaticDemo05().fun() ; 6 } 7 public void fun() { 8 System.out.p... 阅读全文

posted @ 2017-11-07 18:38 黄宗禹 阅读(94) 评论(0) 推荐(0) 编辑

2017年10月31日

10.30作业

摘要: package zuoye; class Person{ private String name; private int age; static String city = "A城"; public Person(String name,int age) { this.name = name; this.age = age; ... 阅读全文

posted @ 2017-10-31 17:23 黄宗禹 阅读(94) 评论(0) 推荐(0) 编辑

2017年10月30日

10.23作业

摘要: package lianxi; public class Q { public int id; public String name; public int age; public String city; public String introduce() { return "My id=" + 阅读全文

posted @ 2017-10-30 14:17 黄宗禹 阅读(95) 评论(0) 推荐(0) 编辑

2017年10月23日

10.16作业

摘要: package game; import java.awt.Color; import com.rupeng.game.GameCore; public class Game implements Runnable { public static void main(String[] args) { 阅读全文

posted @ 2017-10-23 09:34 黄宗禹 阅读(99) 评论(0) 推荐(0) 编辑

2017年10月14日

10.9作业

摘要: 3-1 import java.util.Scanner;public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); in 阅读全文

posted @ 2017-10-14 17:30 黄宗禹 阅读(100) 评论(0) 推荐(0) 编辑

2017年9月26日

9.25作业

摘要: class Demo_01 { public static void main(String[] args) { System.out.println("5+5="+5+5); }} class Demo_02 { public static void main(String[] args) { i 阅读全文

posted @ 2017-09-26 14:43 黄宗禹 阅读(120) 评论(0) 推荐(0) 编辑

导航