2016年1月18日
摘要: package lianxiti;public class Book { private String title; private String author; private double price; public Book(String title,Strin... 阅读全文
posted @ 2016-01-18 08:47 悠悠小花 阅读(209) 评论(0) 推荐(0) 编辑
摘要: package lianxiti;public class Book { //zai 该类中定义并使用变量 private int id; private String name; private String c... 阅读全文
posted @ 2016-01-18 08:29 悠悠小花 阅读(119) 评论(0) 推荐(0) 编辑
摘要: public class AnyThing { public AnyThing(){ //定义无参构造方法 this("this 调用有参构造方法"); //使用this关键字调用有参构造方... 阅读全文
posted @ 2016-01-18 08:27 悠悠小花 阅读(133) 评论(0) 推荐(0) 编辑
摘要: public class juxing { double Chang; double Kuan; void M(double x1,double x2) { Chang = x1; Kuan=x2; ... 阅读全文
posted @ 2016-01-18 08:25 悠悠小花 阅读(371) 评论(0) 推荐(0) 编辑