摘要: //文件从Linux系统上传到其他系统。 sz空格+文件名 //文件从其他系统下载到Linux系统。 rz //之后会弹出路径选择框,选择文件,即可下载到当前路径。 阅读全文
posted @ 2019-08-01 20:32 So.cool 阅读(2194) 评论(0) 推荐(0) 编辑
摘要: /*使用一位数组解决 1 1 2 3 5 8 13 数列问题 斐波纳契数列 Fibonacci*/ package cn.GM; public class array { public static void main(String[] args) { // TODO Auto-generated method stub int arr[] = new int[30]; arr... 阅读全文
posted @ 2017-11-21 23:33 So.cool 阅读(226) 评论(0) 推荐(0) 编辑
摘要: /*继承与抽象类*/ package com.baidu.www; abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name)... 阅读全文
posted @ 2017-11-19 15:18 So.cool 阅读(158) 评论(0) 推荐(0) 编辑
摘要: /*关键字*/ package com.baidu.www; abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } ... 阅读全文
posted @ 2017-11-19 13:28 So.cool 阅读(172) 评论(0) 推荐(0) 编辑
摘要: public class TAutoPerson { public static void main(String args[]) { new TAutoPerson().fun(); } public void fun() { System.out.println("hello world!!!"); } } package com.baidu.www; publ... 阅读全文
posted @ 2017-11-10 20:43 So.cool 阅读(202) 评论(0) 推荐(0) 编辑
摘要: /*圆的类*/ public class R { private double radius; // 构造方法,有参构造 public R(double radius) { this.radius = radius; } //方法的重载,参数不同 // 构造方法,无参构造 public R() { ... 阅读全文
posted @ 2017-11-09 16:55 So.cool 阅读(274) 评论(0) 推荐(0) 编辑
摘要: public class TAutoPerson { public static void main(String args[]) { new Person(); new Person(); new Person(); new Person(); new Person(); ... 阅读全文
posted @ 2017-11-09 16:54 So.cool 阅读(228) 评论(0) 推荐(0) 编辑
摘要: 1 /*造人*/ 2 public class Tman { 3 public int id; 4 public String name; 5 public int age; 6 public String city; 7 public String introduce() { 8 return + 阅读全文
posted @ 2017-11-06 22:57 So.cool 阅读(222) 评论(0) 推荐(0) 编辑
摘要: /*游戏引擎包,播放音乐*/ import com.rupeng.game.GameCore; public class Mc implements Runnable{ public static void main(String[] args) { GameCore.start(new Mc()); } public void run() { GameCor... 阅读全文
posted @ 2017-11-06 22:45 So.cool 阅读(179) 评论(0) 推荐(0) 编辑
摘要: /*3-6.程序员;龚猛*/ 1 package zhenshu; 2 import java.util.Scanner; 3 public class text { 4 5 public static void main(String[] args) { 6 Scanner input = new Scanner(System.in); 7 8 ... 阅读全文
posted @ 2017-10-15 21:39 So.cool 阅读(335) 评论(0) 推荐(0) 编辑