摘要:
class Book1{ private String name; private int id; private float price; private static int num=3; private static int count=0; public Book1(){ count++; 阅读全文
阅读排行榜
字符串的应用
2016-03-25 16:37 by bgd140201135, 152 阅读, 收藏,
摘要:
public class sjx04 { /** * @param args */ public static void main(String[] args) { // TODO Auto-generated method stub String str1="Java技术学习班 20070326" 阅读全文
接口的应用
2016-04-08 17:35 by bgd140201135, 144 阅读, 收藏,
摘要:
interface ClassName{ public String getClassName();}class Company implements ClassName{ public String getClassName(){ return "Company"; }}public class 阅读全文
水仙花数
2016-03-08 15:37 by bgd140201135, 140 阅读, 收藏,
摘要:
public class Shuixianhua1{ public static void main(String[] args){ for(int a=100;a<=999;a++){ int x,y,z; x=a/100;y=a/10-x*10;z=a-x*100-y*10; if(x*x*x+ 阅读全文
浙公网安备 33010602011771号