J2ee開發技術(二)(ppt 208頁)(英文)
J2ee開發技術(二)(ppt 208頁)(英文)內容簡介
Arrays
arraysofobjectsholdreferences
Weeble[]a;//Nullreference
Weeble[]b=newWeeble[5];//Nullreferences
Weeble[]c=newWeeble[4];
for(inti=0;iWeeble[]d={newWeeble(),newWeeble(),newWeeble()};
a=newWeeble[]{newWeeble(),newWeeble()};
Arrays
arraysofprimitivesholdtheprimitivevalues
int[]e;//Nullreference
int[]g=newint[4];
for(inti=0;iint[]h={11,47,93};
e=h;
hide(newWeeble[]{newWeeble(),newWeeble()})
Containerofprimitives
Containerclassescanholdonlyreferencestoobjects
Arraycanreferencesorprimitives
Integer,Double
Returninganarray
String[]floatrSet(intn){….}
..............................
arraysofobjectsholdreferences
Weeble[]a;//Nullreference
Weeble[]b=newWeeble[5];//Nullreferences
Weeble[]c=newWeeble[4];
for(inti=0;i
a=newWeeble[]{newWeeble(),newWeeble()};
Arrays
arraysofprimitivesholdtheprimitivevalues
int[]e;//Nullreference
int[]g=newint[4];
for(inti=0;i
e=h;
hide(newWeeble[]{newWeeble(),newWeeble()})
Containerofprimitives
Containerclassescanholdonlyreferencestoobjects
Arraycanreferencesorprimitives
Integer,Double
Returninganarray
String[]floatrSet(intn){….}
..............................
用戶登陸
信息技術熱門資料
信息技術相關下載