摘要: bgcolor 背景颜色 text 文字颜色 topmargin 上页边距 leftmargin 左页边距 rightmargin 右页边距 bottomargin 下页边距 background 背景壁纸 阅读全文
posted @ 2016-03-19 23:48 边晓艳 阅读(128) 评论(0) 推荐(0) 编辑
摘要: public class Csh extends Thread{ public void run(){ outInfo(); } private void outInfo() { for(int i=0;i<21;i++){ System.out.println("我最聪明"); ... 阅读全文
posted @ 2016-03-16 08:37 边晓艳 阅读(1007) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi; public abstract class UseCase1 { abstract void testAbstract(); UseCase1(){//(1)首先执行父类构造方法 System.out.println("before testAbstract() 阅读全文
posted @ 2016-03-10 23:00 边晓艳 阅读(3425) 评论(0) 推荐(0) 编辑
摘要: package com.hanqi; public class UseCase2 { public void doSomething(){ System.out.println("父类.doSomething()"); } public void doAnything(){ System.out.p 阅读全文
posted @ 2016-03-10 22:58 边晓艳 阅读(1788) 评论(0) 推荐(0) 编辑
摘要: package org.zuoye .; public class Human { private String name; private String sex; private int age; public String getName() { return name; } public vo 阅读全文
posted @ 2016-03-08 08:35 边晓艳 阅读(226) 评论(0) 推荐(0) 编辑
摘要: public class Area{ private int length; private int width; public Area(int length,int width){ this.length=length; this.width=width; } public int getAre 阅读全文
posted @ 2016-03-04 21:20 边晓艳 阅读(8091) 评论(0) 推荐(0) 编辑
摘要: String str="mingrikejijavabu"; String str1=str.replace("i", ""); int x=str.length(); int y=str1.length(); System.out.println("str中有"+(x-y)+"个i"); 阅读全文
posted @ 2016-03-01 22:54 边晓艳 阅读(118) 评论(0) 推荐(0) 编辑
摘要: /** * @ClassName: Exercise8_1 * @Description: 演示数组的冒泡排序算法 * @author: YuHong * @date: 2014年2月5日 下午2:25:04 */ public class Exercise8_1 { public static v 阅读全文
posted @ 2016-02-29 22:51 边晓艳 阅读(685) 评论(0) 推荐(0) 编辑
摘要: //百马百担 //大马的数量 for ( a =0; a<33; a++) { //中马的数量 for (int b=0; b<50;b++) { //小马的数量 for (int c=0;c<100;c+=2) { //条件 if (a+b+c==100 && 3*a+2*b+c/2==100) 阅读全文
posted @ 2016-02-28 21:24 边晓艳 阅读(120) 评论(0) 推荐(0) 编辑
摘要: a.编写程序,使用循环控制语句计算“1+2+3+。。。。+100"的值。 public class Exercise7_1 { public static void main( String[] args ) { int sum = 0; // 累加计算 for( int i=1; i<101; + 阅读全文
posted @ 2016-02-24 13:11 边晓艳 阅读(230) 评论(0) 推荐(0) 编辑