- 博客(5)
- 资源 (39)
- 收藏
- 关注
原创 java---- 类之间的继承
text.java public class text { public static void main(String args[]) { fatty f=new fatty(); food fo=new food(); food po=new potpie(); f.digest(fo); f.digest(po); } } potp
2012-11-12 21:03:46 779
原创 java----return时间方法
public class text { public static void main(String args[]) { tune t = new tune(); System.out.println(t.TOM()); t.setTime(13,14,00); System.out.println(t.TOM()); } } tune类 public
2012-11-11 09:06:59 1094
原创 hello python!
hello python! 在编写钱首先下载python程序! 软件下载请到官方网站www.python.org 下载 选择download 选择适合你的应用平台 (大多是windows的用户所以选windows项现在) 运行主程序:IDLE(Python GUI) 然后直接在命令行中 输入 : print "hello python!" 就可已显示出一个helloworld!
2012-11-09 22:49:29 885
原创 java----类的继承 以学生类为题
定义一个学生类,有学生类派生出小学生初中生高中生大学生研究生四个类,其中大学生类再派生出一个本科生专科生两个子类,研究生再派生出硕士生和博士生两个子类 所有类: //学生类 class student { int id; int classes; char sex; int year; public student(int id1, int classes1, cha
2012-11-02 15:50:45 4551
原创 java类的继承
java中类的继承 例: 以preson类为基类让student类继承 并添加参数; class Person { String name; private int age; Person(String n, int a) { name = n; age = a; } public void print() { System.out.printl
2012-11-02 15:43:41 917
JSONLibraries1.zip
2013-05-13
spring-framework & commons-logging
2013-12-07
jquery.validate.js
2013-12-06
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人