45个word,每个word都是本人精心积累,例如关于static用法的部分: class A{ public static int i=10; //不再是某个对象的,是所有对象共有的。静态变量存放在“数据段”,只有一个拷贝。属于类 public void show() { System.out.printf("%d\n",i); } } public class Test_Static1{ public static void main(String args[]) { A aa1=new
//if DATAPERIOD>=1 and dataperiod<=8 then begin if DATAPERIOD=0 then minbi:="fbase.var2#min1"; if DATAPERIOD=1 then minbi:="fbase.var2#min5"; if DATAPERIOD=2 then minbi:="fbase.var2#min30"; if DATAPERIOD=3 then minbi:="fbase.var2#min60"; if DA
AA:=(3*C+H+L+O)/6; AA1:=(8*AA+7*REF(AA,1)+6*REF(AA,2)+5*REF(AA,3)+4*REF(AA,4)+3*REF(AA,5)+2*REF(AA,6)+REF(AA,8))/36; AA2:=VOL=HHV(VOL,20) AND VOL>2*REF(VOL,1) AND CLOSE>AA1 AND C>REF(C,1); AA3:=REF(C>O,1) AND REF(C<O,2) AND REF(CO AND
class A { public int i; public A(int i) { this.i = i; } public boolean equals(Object obj) { A aa = (A)obj; if(this.i == aa.i) return true; else return false; } } public class TestStringEquals { public static void main(String[] args) { A aa1 = new A(