摘要:
1 abstract class A{ 2 private String name; 3 public A(String name) { 4 this.name = name; 5 } 6 public String getName() { 7 return this.name; 8 } 9 pub 阅读全文
摘要:
1 public class Y { 2 public static void main(String[] args) { 3 // TODO Auto-generated method stub 4 new Y().fun(); 5 6 } 7 8 private void fun() ... 阅读全文
摘要:
1 public class L1106 { 2 3 public static void main(String[] args) { 4 // TODO Auto-generated method stub 5 TestDemo circle1 = new TestDemo(); 6 double area=circle1.g... 阅读全文
摘要:
2 3 public class L { 4 5 public int id; 6 public String name; 7 public int age; 8 public String city; 9 public String introduce() { 10 r... 阅读全文
摘要:
1 //程序员:罗元昊 2017.10.22 2 package cn.lyh; 4 import com.rupeng.game.GameCore; 5 6 public class L implements Runnable { 7 8 public static void main(Strin 阅读全文
摘要:
//程序员:张叶 2017.10.16 题目3.7 2 import java.util.Scanner; 3 public class L { 4 5 @SuppressWarnings("resource") 6 public static void main(String[] args) { 7 Scanner inpu... 阅读全文
摘要:
1 //程序员:zy 2017.10.7 2 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 in... 阅读全文
摘要:
import java.util.Scanner; public class L { public static void main(String[] args) { long a ; //练习题1:输出一个长整型的变量 123456789012345 a=123456789012345l; Sys 阅读全文
摘要:
package demo;import java.util.Scanner;public class Ly { public static void main(String[] args) { Scanner input = new Scanner(System.in); System.out.pr 阅读全文