Subscripted Variable. Subscripted variables yog siv los khaws cov txiaj ntsig ntawm tib hom hauv ib qho array. Nws kuj tseem pab peb khaws cov txiaj ntsig ntau dua hauv ib lub npe sib txawv. Subscripted variables tau tshaj tawm los ntawm kev muab lub npe sib txawv nrog rau cov ntawv sau npe.
Koj txhais li cas los ntawm Subscripted variable?
SUBSCRIPTED VARIABLES
Ntau zaus muaj a xav tau ntau tshaj ib tus nqi rau qhov sib txawv, piv txwv li, txuas ib pab pawg lossis "array" ntawm tus nqi nrog ib qho variable npe. Ib qho kev sib txawv uas tuaj yeem coj qhov array ntawm qhov tseem ceeb raug xa mus rau qhov sib txawv subscripted.
subscript thiab subscripted variable yog dab tsi?
Subscript yog qhov ntsuas ntawm lub caij hauv array whereas Subscripted variable yog lub npe ntawm cov array thaum nws yog siv nrog ib tug subscript kom nkag mus rau ib lub ntsiab ntawm cov array.
Dab tsi yog qhov hloov pauv hloov pauv hauv Fortran?
Daim ntawv dav dav ntawm qhov sib txawv ntawm tus lej yog tus lej lossis lub npe hloov pauv tiag tiag ua raws li cov ntawv sau nyob hauv kab lus• Piv txwv li: v(i, j, k) yog ib qho subscripted variable, qhov twg v yog lub npe sib txawv uas tej zaum yuav yog integer los yog tiag thiab kuv, j, k yog subscripts.
Tus nqi sau npe hauv Java yog dab tsi?
Tus subscript range ntawm Java array yog tus nqi suav nyob hauv thaj tsam ntawm 0 txog nws lub peev xwm - 1. … Qhov no txhais tau hais tias thawj array ntsiab yog nkag nrog index 0; tib lub tswv yim indexing siv nrog String. Qhov Performance index 0 txhais tau tias yog thawj lub ntsiab hauv kev sau.