Java/C2/Methods/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:02 | Pdiang sngewbha sha ka spoken tutorial halor methods in java. |
00:06 | Ha kane ka tutorial, ngin pule: |
00:08 | Ban shna ia ki method. |
00:10 | Bad ban call ia ki method. |
00:13 | Hangne ngi pyndonkam da Ubuntu version 11.10 |
00:17 | Java Development kit 1.6 bad |
00:20 | Eclipse 3.7.0 |
00:24 | Ban bud ia kane ka jinghikai, phi dei ban nang kumno ban thoh, compile bad run ia ka java program ha ka eclipse. |
00:32 | Lada em na bynta kane ka jinghikai, sngewbha leit sha ka website jong ngi kumba la pyni harum |
00:40 | Ka java method ka dei ka jinglum lang jong ki statement ban leh beit thik iakawei ka kam. |
00:46 | Mynta to ngin thoh ia ka method. |
00:50 | Ha ka eclipse, nga la dep shna ia ka project Method. |
00:57 | Ha ka project, nga la dep shna ia ka java class ba kyrteng MethodDemo |
01:06 | Ha ka class, shabar ka main method, ngin thoh ia ka method |
01:13 | Te, type, void kyrteng jong ka method |
01:19 | To ngin ai kyrteng ia ka kum displayMessage bracket Enter |
01:29 | Bad curly brackets |
01:32 | Ka method kan pyni ia ka value |
01:34 | Hynrei lada phim kwah ba ka method kan pyni ia ka value kumta ka void keyword la pyndonkam |
01:42 | To, mynta hapoh ki curly bracket, to ngin print ia ka message |
01:47 | Te type: System dot out dot println Hello Method |
02:06 | Te, ngi la dep thoh ia ka method |
02:10 | Mynta, ngin call ia kane ka method |
02:13 | Te hapoh ka main method, ngin shna ia u object jong ka class MethodDemo |
02:21 | Te MethodDemo ka kyrteng jong u object |
02:26 | To ngin ai kyrteng kum md=new MethodDemo bracket semicolon |
02:37 | Te, ngi la dep shna u object md jong ka class MethodDemo da kaba pyndonkam da u new operator. |
02:48 | Mynta to ngin call ia ka method displayMessage |
02:51 | Te type md dot displayMessage(); |
03:00 | U dot operator la pyndonkam ban call ia ka method |
03:06 | Mynta to ngin run iakane ka application da kaba click ha ka run icon |
03:14 | Ngi iohi ia ka output Hello Method ha ka console |
03:20 | Mynta, to ngin thoh da u integer ha ka jaka void |
03:26 | Te type, int |
03:32 | Kumjuh ruh pynlong public ia ka method, kaba plie ia baroh |
03:37 | Da kaba long hi, ka dei private, kaba lah ban access tang hapoh ka class hakaba la thoh |
03:45 | Mynta, hapoh ka method type return seven semicolon |
03:55 | Kynmaw ba ngi thoh ia ka statement return ha kaba kut jong baroh ki statement ha ka method |
04:02 | Kane ka long namar hadien ka statement return kam don kano kano pat ka statement ka ban execute |
04:08 | Mynta hapoh ka main method, ha ka ba kut type ia ka print statement |
04:15 | Mynta hapoh ka main method, ha ka ba kut type ia ka print statement |
04:23 | Hapoh ki bracket, ngin call ia ka method |
04:28 | Te, buh md dot method hapoh ki bracket, weng ia ki semicolon |
04:37 | Kane kan print ia ka return value jong ka method |
04:42 | Run ia ka application |
04:45 | Ngi iohi ha ka output, ka value jong u 7 la print |
04:51 | Mynta ngin thoh kawei pat ka method bad call ia kane ka method ha ka displayMessage. |
04:59 | Te type public void, kyrteng jong ka method square hapoh bracket int a |
05:15 | Hangne, ngin ai int a kum ka parameter sha ka method jong ngi. |
05:20 | Mynta hapoh curly bracket type System dot out dot println hapoh ki bracket a into a |
05:37 | Te ngi la dep thoh ia ka square method |
05:40 | Kaban pyni ia u square jong u integer kaba la ai kum ka parameter |
05:48 | To ngin call ia kane ka method ha ka displayMessage method |
05:53 | Te type, square hapoh bracket u integer 5 |
06:07 | Run ia kane ka application |
06:12 | Ngi iohi ba ka output ka pynpaw ka square jong u 5 kaba long 25 |
06:19 | Mynta to ngin sngewthuh ia ka jingiaid jong ka application |
06:24 | Ka jingsdang ka dei ha ka main method |
06:29 | Ha ka main method, nyngkong ngi la call ia ka displaymessage |
06:34 | Te, ka control ka leit sha ka displayMessage |
06:40 | Bad baroh ki statement ha ka displaymessage la execute |
06:45 | Kaba nyngkong ka dei ka print statement |
06:50 | Nangta ka wan ha ka square method |
06:54 | Te ka control ka leit sha ka square method |
06:57 | Ka square method ka shim ia u interger 5 bad ka pyni ia ka square jong u integer kaba long 25 |
07:06 | Nangta ka control ka leit biang sha ka displaymessage |
07:10 | Bad ka pyni ia ka value 7 |
07:14 | Nangta pat ka control ka leit biang sha ka main function |
07:20 | Namar kam don statement kaban execute, ha ka main method, ka application ka kut noh |
07:29 | To, mynta to ngin pynkylla static ia ka displayMessage |
07:35 | Te hadien ka public type static |
07:40 | Ngi iohi ba ngim lah ban call ia ka “non static method hapoh ka static method |
07:47 | Te, ngin comment iakane ka call |
07:52 | Namar ka main ka dei ka static method, ngi lah ban call ia ka static displayMessage hapoh kane |
08:02 | Mynta, na bynta ka static method, ngim donkam ban shna ia u object |
08:07 | Te, ngin comment ia kane ka jingshna object |
08:11 | Kumjuh ruh ngin delete md. |
08:18 | Run ia ka application |
08:22 | Ngi iohi ia ka output Hello Method bad 7 |
08:27 | Ngin shem la iohi 25 namar ngi la dep comment ia ka call sha ka square method |
08:34 | Ngi lah ruh ban call ia ka method na kawei pat ka class |
08:38 | Na bynta kata, nga la dep shna ia ka class demo |
08:45 | Hapoh ka class, shna ia ka method |
08:48 | Te type, public void show bracket Enter |
08:56 | Hapoh ki curly bracket, System dot out dot println |
09:07 | I am from other class. |
09:13 | Save ia ka file |
09:16 | Leit biang sha ka MethodDemo class |
09:19 | Mynta ngin call ia kane ka show method, hapoh ka method MethodDemo class |
09:28 | Na bynta kata ngi donkam ban shna ia u object jong ka class Demo |
09:32 | Kane ka long namar ka show method ka dei ka bynta jong ka class demo |
09:38 | Te type Demo d=new Demo bracket semicolon |
09:48 | Nangta call ia ka method show |
09:54 | To ngin run ia kane ka application |
09:58 | Ngi iohi ha ka console”: I am from other class |
10:04 | Ha kane ka rukom la pyndonkam ia ki methods ha ka java |
10:09 | Ka method name bad ki parameter ki pynlong ia ka signature jong ka method |
10:14 | Katba ki curly bracket bad ki statement ki pynlong iaka met jong ka method |
10:23 | Te hakane ka jinghikai ngi la pule |
10:25 | Ban shna ia ka method |
10:27 | Ban call ia ka method |
10:29 | Bad ki signatures ba bun jait jong ki methods |
10:32 | Na bynta ban assess ia lade, shna ia ka method kaba print ia ki cube jong u integer |
10:38 | Ban tip khambun shaphang ka Spoken Tutorial project |
10:41 | peit ia kane ka video ha ka http://spoken-tutorial.org/What_is_a_Spoken_Tutorial. |
10:47 | Ka batai lyngkot shaphang ka Spoken Tutorial Project |
10:50 | Lada phim don ka bandwith kaba khlain, phi lah ban download bad peit ia ka. |
10:54 | Ka Spoken tutorial project team |
10:56 | ka pynlong ia ki workshop da kaba pyndonkam ia ki spoken tutorials |
10:58 | Ka ai certificates ia kito kiba pass ha ka online test |
11:02 | Ban tip kham bniah, sngewbha thoh sha ka contact atspoken-tutorial.org |
11:08 | Ka spoken tutorial project ka dei shibynta na ka project “Talk to a Teacher” |
11:12 | La kyrshan ia ka da ka National Mission on Education lyngba ka ICT, MHRD, Government of India |
11:18 | Kham bun ka jingtip halor kane ka mission ka don ha ka http://spoken-tutorial.org/NMEICT-Intro. |
11:27 | Ngi la poi sha kaba kut jong kane ka jinghikai |
11:29 | Khublei ia ka jingiasnoh kti lang. Ma nga u Khrawpyrkhat Wanshong Pynkut Noh Jai Hind |