摘要:
//1public class Circle { private double radius; public Circle(double radius) { this.radius = radius; } public Circle() { this.radius = 1; } public double get... 阅读全文
摘要:
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... 阅读全文
摘要:
package lin; public abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name) { this... 阅读全文
摘要:
package lin; public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } pu 阅读全文
摘要:
package lf; public class StaticDemo05 { public static void main(String args[]) { new StaticDemo05().fun() ; } public void fun() { System.out.println(" 阅读全文
摘要:
//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; ... 阅读全文
摘要:
package wewe; public class A { public int id; public String name; public int age; public String city; public String introduce() { return "My id=" + id 阅读全文
摘要:
package game; import java.awt.Color; import com.rupeng.game.GameCore; public class Game implements Runnable { public static void main(String[] args) { 阅读全文
摘要:
3-1 import java.util.Scanner; public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); i 阅读全文
摘要:
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 阅读全文