摘要: package lzb; public class LIUZHIBO { public static void main(String[] args) { int[] arr = new int [30]; arr[0] = 1; arr[1] = 1; for(int i = 2;i arr[j+1]){ 14 ... 阅读全文
posted @ 2017-11-27 13:56 刘志博 阅读(157) 评论(0) 推荐(0) 编辑
摘要: package lzb; 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 14:21 刘志博 阅读(139) 评论(0) 推荐(0) 编辑
摘要: package lzb; public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } public abst... 阅读全文
posted @ 2017-11-20 14:19 刘志博 阅读(90) 评论(0) 推荐(0) 编辑
摘要: package lzb; public class StaticDemo05 { public static void main(String args[]) { new StaticDemo05().fun() ; } public void fun() { System.out.println("Hello Worl... 阅读全文
posted @ 2017-11-20 13:14 刘志博 阅读(114) 评论(0) 推荐(0) 编辑
摘要: package zuoye; class Person{ private String name; private int age; static String city = "A城"; public Person(String name,int age) { this.name = name; t 阅读全文
posted @ 2017-11-13 13:55 刘志博 阅读(108) 评论(0) 推荐(0) 编辑
摘要: package lianxi; public class Q { public int id; public String name; public int age; public String city; public String introduce() { return "My id=" + 阅读全文
posted @ 2017-11-13 13:40 刘志博 阅读(102) 评论(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-11-06 14:43 刘志博 阅读(55) 评论(0) 推荐(0) 编辑
摘要: 3-1 import java.util.Scanner;public class AdditionQuiz { public static void main(String[] args) { int number1=(int)(System.currentTimeMillis()%10); in 阅读全文
posted @ 2017-10-16 11:18 刘志博 阅读(152) 评论(0) 推荐(0) 编辑
摘要: class Demo_1 { public static void main(String[] args) { System.out.println("5+5="+5+5); } } class Demo_2 { public static void main(String[] args) { in 阅读全文
posted @ 2017-10-09 11:52 刘志博 阅读(114) 评论(0) 推荐(0) 编辑
摘要: 一./*功能:输出一个长整型的变量 123456789012345*/public class Lin{ public static void main(String[] args) { long l=123456789012345l; System.out.println(l); } }二./** 阅读全文
posted @ 2017-09-25 11:05 刘志博 阅读(127) 评论(0) 推荐(0) 编辑