Java?е????????
???????????? ???????[ 2016/11/11 10:26:19 ] ??????????????????? Java
????java?????????????????????????????????????????????е??????????????????У?????????????л????????????java??????????????Ρ?java???????????洢??????????????????????????????????????????????????????????????????????????????????????е??????????????????????????????????????飬??洢???????????????????????????????????????????????????????????????????????????????????????????????????????????????
???????????????????????
???????鶼??????????????????á?????????????????????????????????????int?????????????int[]array????int[]array=new int????int[]array={1??2??3}??int[]array=newint[]{1??2??3}???????????????????????????????????????????????????????????????????ж????????????????????′????????
????public class test{
????public static void main??string args[]??{
????int[] arrayi??
????arrayi=new int[3]??
????/*int[]arrayi=new int[3]??*/ //????????????????????????
????*for??int i=0??i????system.out.println??”
??????????”????
????arrayi[0]=1??arrayi[1]=2??arrayi[2]=3??for??inti=0??i???????????????н????0??0??0????????????1??2??3??????????????????????????????У????????????????????????????????????洢??????У??????????????????????????????ò?????
????????????????????
???????????????飬????????????????????????????ɡ?????????????????е?string args???????????????????????????????????鰸???????????????????????????????????????????????????????????????????????????????????student???????????????£?
????class student{
????private string name??
????public student??string name??{this.name=name??}
????public string getname????{return this.name??}}
???????????????????????????????????????????student[]array??array=new student[3]????student[]array=new student[3]????student[]array=newstudent[]{new student??”lilei”????newstudent??”cili”????new student??”wuxi”??}??student[]array={newstudent??”lilei”????new student??”cili”????new student??”wuxi”??}??
?????????????????鶯???????????????????£?
????class student{
????private string name??
????public student??string name??{this.name=name??}
????public string getname????{return this.name??}}
????public class test {
????public static void main??string args[]??{
????student array[]??
????array=new student[3]??
????/*student[]array=newstudent[3]??*/
????for??int i=0??i????array[0]=new student??”lilei”????
????array[1]=new student??”cili”????
????array[2]=new student??”wuxi”????
????system.out.println??”??????????”????
????for??int i=0??i????????????????н????null??null??null????????????lilei??cili??wuxi??????????鶯?????????????н???????????????????????????????????????????????????ж?????????е??????????????null????о??????????????????????????????????????????????????
???????????
???????????????????????????????????????????????б???????????????????????????????????????????????????????????java?л?????????????????????????????????????????????????????????????????????????????????????????????????????飬??????????е?????????????????д??????????????丳??????????????????е????????????????????????????????????????????????????????????????????????????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11