初学者分三步走, 1.设置jdk环境变量(什么?不会?在百度中搜“j**a 环境变量”就行了,一大堆结果) 2.在d:\下建一个文件hello.j**a,用记事本打开,输入以下内容 public class hello{ public static void main(string[]args){ system.out.println("helloj**a");} } 3.打开cmd,输入d:进入...
private sub command1_click()dim n as integer,s as longn=text1.textfor i=1 to n if i mod 3 =0 and i mod 5=0 then s=s+i end if next itext2.text=send subprivate sub command2_click()end end sub已经试过的,可以运行的...
接口 public interface money { public int getmoney(int rmb);} 美元 public class dollar implements money { public int getmoney(int rmb){ return rmb*0.1609;} } 港币 public class hongkongdollar implements money...