摘要: //1public class Circle { private double radius; public Circle(double radius) { this.radius = radius; } public Circle() { this.radius = 1; } public double get... 阅读全文
posted @ 2017-12-18 13:50 林枫lf 阅读(125) 评论(0) 推荐(0) 编辑
摘要: 1 package LF; 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-27 13:51 林枫lf 阅读(171) 评论(0) 推荐(0) 编辑
摘要: package lin; public abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name) { this... 阅读全文
posted @ 2017-11-20 13:58 林枫lf 阅读(158) 评论(0) 推荐(0) 编辑
摘要: package lin; public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } pu 阅读全文
posted @ 2017-11-20 13:50 林枫lf 阅读(121) 评论(0) 推荐(0) 编辑
摘要: package lf; public class StaticDemo05 { public static void main(String args[]) { new StaticDemo05().fun() ; } public void fun() { System.out.println(" 阅读全文
posted @ 2017-11-13 13:52 林枫lf 阅读(113) 评论(0) 推荐(0) 编辑
摘要: //1package lf; 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-11-06 13:37 林枫lf 阅读(134) 评论(0) 推荐(0) 编辑
摘要: package wewe; public class A { public int id; public String name; public int age; public String city; public String introduce() { return "My id=" + id 阅读全文
posted @ 2017-10-30 14:44 林枫lf 阅读(105) 评论(0) 推荐(0) 编辑
摘要: 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-30 13:46 林枫lf 阅读(139) 评论(0) 推荐(0) 编辑
摘要: 3-1 import java.util.Scanner; public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); i 阅读全文
posted @ 2017-10-15 15:12 林枫lf 阅读(113) 评论(0) 推荐(0) 编辑
摘要: 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-10-07 14:53 林枫lf 阅读(127) 评论(0) 推荐(0) 编辑