Java/C2/Array-Operations/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:02 | Pdiang sngewbha sha ka spoken tutorial halor Array Operations in Java |
00:07 | Ha kane ka jinghikai, phin sa pule kumno ban |
00:09 | import ia ki class Arrays bad |
00:12 | Leh ia ki basic operation halor ki arrays |
00:15 | Na bynta kane ka jinghikai, ngi pyndonkam da Ubuntu 11.10, JDK 1.6 bad Eclipse 3.7.0 |
00:25 | Na bynta kane ka jinghikai, phi dei ban don jingtip shaphang ki arrays ha ka java |
00:30 | Lada em, na bynta ki jinghikai ba iadei, sngewbha leit sha ka website ba la pyni harum |
00:35 | Ki methods ban leh ia ki arrays operations ki don ha ka class ba khot Arrays |
00:40 | Ban access ia ki, ngi donkam ban import ia kata ka class |
00:43 | Lah ban leh da ka statement import java.util.Arrays semicolon. |
00:50 | Ngi lah ban access ia ka method na ka class |
00:52 | Ngi leh ia ka da kaba add ia u dot bad ka kyrteng jong ka method |
00:56 | Te, Arrays dot toString ka mut toString method na ka Arrays class |
01:05 | Mynta phai sha ka eclipse |
01:08 | Ngi la dep shna lypa ia ka class ArraysDemo |
01:13 | To ngin import ia ka class Arrays |
01:16 | Ia ka import statement la thoh hashuwa ka class definition |
01:22 | Te hashuwa ka public class type: |
01:26 | import java.util.Arrays semicolon |
01:46 | Kane ka statement ka batai ba ka java ka don ia ka package bakhot util kaba kynthup ia ka class Arrays bad kaba dei ban import. |
01:59 | Mynta, to ngin thep ia u array |
02:01 | Hapoh ka main function , type |
02:03 | int marks plie bad khang ia ki square brackets equal to hapoh curly brackets 2,7,5,4,8 |
02:20 | Mynta ngin pyndonkam ia ka method kaba don ha ka Arrays Class ban ioh ia ka string representation jong u array bad print ia ka |
02:28 | Te, type, String mStr equal to Arrays dot toString bracket hapoh bracket kan ai ia ka kyrteng u array kaba long marks. |
02:50 | Mynta kane ka method toString kan ai ia ka string representation jong u array |
02:56 | Ngin print ia ki marks |
02:58 | Te, type System dot out dot println hapoh ki bracket type mStr; |
03:12 | Mynta, to ngin peit ia ka output. Te save bad run ia ka program |
03:18 | Kumba ngi iohi ia ka output, ka toString method ka ai ia ka string representation jong u array. |
03:26 | Mynta, to ngi peit ia jingbuh rynti ia ki element jong u array |
03:31 | Te, hashuwa u line Arrays dot toString type: Arrays dot sort hapoh bracket,kyrteng u Array uba long marks |
03:46 | Kumta, ka sort method ha Arrays class ka buh rynti ia ki element jong u array |
03:53 | Mynta ngi buh ryntih ia ki elements jong u array marks bad nangta print ia ka string form na ka |
04:04 | To ngi peit ia ka output. Kumta save bad run. |
04:11 | Kumba ngi iohi ha ka output, la sort ia u array da ka sort method ha ka ascending order |
04:19 | Kynmaw ba ka sort method ka la pynkylla ia u array |
04:22 | Ia kane ka jait sorting la khot inplace sorting |
04:26 | Kane mut ba u array uba don ki elements la pynkylla na ka daw ka sorting |
04:33 | Ka method kaba bud kaba ngin peit ka ba long ka fill |
04:38 | Ka fill method ka shim artylli ki arguments |
04:43 | Weng ia ka sorting line bad |
04:50 | type:Arrays dot fill hapoh brackets, ka kyrteng jong u array uba dei marks. |
05:05 | Kane ka dei ka argument ba nyngkong bad ka ba ar ka dei ka value ka ban pyndap ha u array, ngin buh ia u 6 bad semicolon. Save bad run. |
05:24 | Kumba ngi iohi, katkum ka kyrteng, ka fill method ka pyndap ia u array da ka kane ka argument ba la ai kaba long 6 |
05:32 | Ka copyOf ka dei ka method kaba bud kaba ngin ia peit |
05:37 | Ngin copy ia baroh ki elements jong u array marks ha u array marksCopy |
05:44 | Te, weng “arrays dot fill” |
05:48 | Bad type: int marksCopy[]; |
05:59 | Ha u lain ba bud, type; marksCopy=Arrays.copyOf(marks, 5); |
06:25 | Kane ka method ka shim ar arguments |
06:29 | Ka argument ba nyngkong ka dei ka kyrteng jong u array uba phi kwah ban copy ia ki elements kaba long marks |
06:39 | Ka ba ar ka dei ka number jong ki elements ban copy, hangne ngin copy 5 |
06:47 | Nangta, hapoh arrays dot toString, pynkylla marks to marksCopy. |
06:55 | Mynta save bad run ia ka program |
07:01 | Ngi iohi ba ki element jong u array marks la copy ha u array marksCopy |
07:10 | To ngin peit kaei kaban jia lada ngi pynkylla ia ki number jong ki elements ki ban copy |
07:15 | To ngin pynkylla 5 sha u 3 |
07:19 | Save bad run |
07:24 | Kumba ngi iohi, tang ia ki elements ba lai shajrong la copy |
07:31 | To ngi peit kaei kaban jia lada ki number jong ki elements ki ban copy ki kham heh ban ia ki total number jong ki element ha u array |
07:39 | Te pynkylla 3 sha u 8 |
07:44 | Save bad run ia ka program |
07:48 | Kumba ngi iohi, ia ki elements ba tam la ai ha ki ia ka default value kaba long 0 |
07:54 | Mynta, ngin peit kumno ban copy ia ka kynhun jong ki values |
07:58 | Te, pynkylla copyOf to copyOfRange bad 8 sha 1,4 |
08:15 | Kane ka method ka copy ia baroh ki elements naduh ka index 1 bad ka sangeh ha ka index 3 |
08:27 | Save bad run. |
08:31 | Kumba ngi iohi, ki elements na ka index 1 haduh 3 la dep copy |
08:39 | Kynmaw ba ngi la ai 1,4 kum ki arguments |
08:47 | Hynrei, watla katta ruh ka element ha ka index 4 um shem la copy |
08:50 | Tang ki element haduh index 3 la copy. Ka sangeh ia kawei ka index hashuwa ka range ba la ai. |
09:01 | Te, kane ka jinglong ka pyntikna ia ka jingiaibteng jong ki ranges |
09:07 | (0,4) ka thew naduh index 0 haduh 3 |
09:12 | (4,6) ka thew ia ka index naduh 4 haduh 5 |
09:17 | Te ka pyni kum ba long (0,4) + (4,6) = (0,5) |
09:26 | Da kane ngi la poi sha kaba kut jong kane ka jinghikai |
09:31 | Ha kane ka jinghikai ngi la pule shaphang |
09:33 | Kumno ban import ia ka class Arrays. |
09:36 | Leh ia ki array operations kum toStrings, sort, copy, fill |
09:44 | Na bynta ki assignment |
09:46 | Pule shaphang ki Arrays.equals method bad wad ia kaei ka jingtreikam jong ki |
09:53 | Ban tip khambun shaphang ka spoken tutorial project |
09:55 | peit ia kane video ha ka spoken-tutorial.org/What is a spoken Tutorial |
10:02 | ka batai lyngkot ia ka spoken tutorial project |
10:05 | Lada phim don u bandwitdth uba khlain, phi lah ban download bad peit ia ka |
10:09 | Ka spoken tutorial project team, ka pynlong ia ki workshop da kaba pyndonkam ia ki spoken tutorials bad ai certificate ia kito kiba pass ha la online test |
10:16 | Ban tip kham bniah, sngewbha thoh sha ka contact atspoken-tutorial.org |
10:22 | Ka spoken tutorial project ka dei shibynta na ka project “Talk to a Teacher” bad la kyrshan ia ka da ka National Mission on Education lyngba iCT, MHRD, Government of India |
10:31 | Kham bun ka jingtip halor kane ka mission ka don ha ka spoken HYPHEN tutorial DOT org SLASH NMEICT HYPHEN Intro |
10:39 | Ia kane ka tutorial la pynkylla sha ka ktien khasi da I Khrawpyrkhat Wanshong. |
10:43 | Khublei shibun ba phi peit Jai Hind |