摘要:
package com.aila; public class Ailajiang { public static void main(String[] args) { int[] arr = new int [30]; arr[0] = 1; arr[1] = 1; for(int i = 2;i 阅读全文
摘要:
package ting; public abstract class Person { private String name; private int age; public String getName() { return name; } public void setName(String name) { this... 阅读全文
摘要:
package ting; public abstract class A { private String name; public A(String name) { this.name=name; } public String getName() { return this.name; } public abs... 阅读全文
摘要:
package lianxi; public class Q { public int id;public String name;public int age;public String city;public String introduce() {return "My id=" + id + 阅读全文
摘要:
package com.aila; public class La { public int id; public String name; public int age; public String city; public void printX() { System.out.println(" 阅读全文
摘要:
/*3-1* 功能:产生随机数来执行减法,并从用户中获得数字用以判断正误。*/import java.util.Scanner; public class AdditionQuiz { public static void main(String[] args) { int number1=(int 阅读全文
摘要:
import java.util.Scanner; 3 public class L { 4 5 public static void main(String[] args) { 6 System.out.println("5+5="+5+5); 7 8 int a=3,b; 9 b=a++;... 阅读全文
摘要:
//程序员:孙梦婷 import java.util.Scanner; public class TingGeGe{ public static void main(String[] args){ long l=123456789012345l; System.out.print("长整数的的值是: 阅读全文