Java/C2/Parameterized-constructors/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:02 | Pdiang sngewbha sha ka spoken tutorial halor “parameterized” constructor in java |
00:08 | Ha kane ka jinghikai ngin sa pule |
00:10 | Shaphang “parameterized” ”constructor” |
00:13 | Ban shna ia u “parameterized” constructor” |
00:17 | Hangne ngi pyndonkam da
Ubuntu version 11.10 OS Java Development kit 1.6 bad Eclipse 3.7.0 |
00:29 | Ban bud ia kane ka jinghikai phi dei ban nang |
00:32 | Ban shna ia u default constructor ha ka java da kaba pyndonkam da ka eclipse |
00:37 | Lada em, na bynta ki tutorial bad iadei sngewbha leit sha ka website ba la pyni harum |
00:44 | u ei u parameterized constructor? |
00:48 |
U constructor uba don ki parameters la khot “parameterized constructor” |
00:55 | U lah ban don kawei lane bun tylli ki parameters ha u |
00:59 | To ngin shna ia u parameterized constructor |
01:03 | Ha ka eclipse nga don ka file student.java |
01:09 | Ngi la dep shna ia kane ka file ha ka tutorial ba la dep |
01:15 | Mynta hapoh constructor ngin ai ia ki variables ia ki default value jong ki |
01:21 | Te roll number equal to zero ha ka jaka u 10 |
01:27 | Bad “name” equal to “null” ha ka jaka “raman” |
01:33 | Nangta type system dot out dot println “I am a default constructor” |
01:55 | Kumta ngi la dep shna ia u constructor khlem ki parameters |
02:00 | Ha ka java, ia kum kita ki constructor la khot default constructor |
02:07 | Mynta ngin shna sa ia uwei u constructor |
02:11 | Te type: Student bracket |
02:17 | Ha poh ki bracket ïnt the roll number comma string “the name” |
02:36 | Te, kaei kaba ngi la leh ka long ba ngi la declare ia u constructor khlem ki parameter |
02:43 | Ka kyrteng jong u constructor ka dei student kaba long ka kyrteng jong ka class |
02:49 | Hapoh ki bracket, ngi la buh artylli ki parameters ia u constructor |
02:57 | Ngi lah ban ai kino kino ki number jong ki parameter ia u constructor |
03:02 | Mynta hapoh ki curly bracket type |
03:05 | System dot out dot println “I am a parameterized constructor” |
03:29 | Nangta “Roll number” equal to “the roll number” |
03:43 | Bad “name” equal to “the name” |
03:53 | Te, ngi la dep shna u “constructor” ryngkat bad ki parameters |
03:58 | Mynta to ngin call ia une u “constructor” |
04:02 | Te hapoh ka “main method” type “student stu2” equal to “new student” hapoh ki bracket “11” comma hapoh double quotes “raju” |
04:28 | To ngin call ia ka studentDetail method |
04:31 | Te type “stu2.studentDetail” |
04:38 | Save bad run ia ka program |
04:44 | Ngi iohi ia ka “output” ha ka console |
04:48 | La pynpaw nyngkong ia u “default constructor” |
04:52 | La initialized ia ki variables da ki default values |
04:56 | Nangta ka call ia u parameterized constructor |
05:00 | La initialized ia ki variables sha ka values kaba la pyni kum ki arguments |
05:05 | Kaba long 11 bad Raju |
05:08 | To ngin peit kumno u “parameterized constructor u trei kam |
05:12 | Haba ngi call ia u parameterized constructor, ngi pass ia artylli ki values ha u |
05:18 | Ia kine la khot arguments |
05:22 | Ka value 11 la copy sha u parameter “the roll number” |
05:31 | Bad ka value “Raju” la copy sha u parameter “the name” |
05:41 | Nangta ka value jong “the roll number” la assigned ha “roll number” |
05:50 | Bad ka value jong “the name” la assigned ha “name” |
05:55 | Namarkata ngi iohi ha ka output 11 bad Raju |
06:00 | To ngin peit ia ki common errors haba ngi call ia u parameterized constructor |
06:07 | Shubuh ngi pass ia ka single argument ha u constructor |
06:11 | Te weng “Raju” |
06:15 | Ngi iohi ia ka error. Ka pynpaw “The constructor Student with parameter (int) is undefined” |
06:24 | Te ka jingdon jong ki argument ka dei ban iahap bad a jingdon jong ki parameters |
06:30 | Hangne ngi lah type biang “Raju” ban weng ia ka jingbakla |
06:36 | Ha ka juh ka por ngin lah ban define ia uwei pat u constructor ryngkat bad ka wei ka parameter |
06:42 | To ngin leh ia kata |
06:45 | Te “student” hapoh ki bracket int r number |
07:01 | Hapoh ki curly bracket type “system dot out dot println” |
07:13 | “ I am a constructor with a single parameter” |
07:29 | Nangta “roll number” equal to “r_number” |
07:48 | Save ia ka file |
07:51 | Ngi iohi ba ka jingbakla la pynbeit haba ngi define ia u constructor |
07:58 | To ngin run ia kane ka program |
08:02 | Ha ka console ngi iohi ba u roll number la assigned sha ka value 11 |
08:08 | Katba name ka long null namar u constructor u shim tang kawei ka argument |
08:18 | To ngin call biang ia u constructor ryngkat bad artylli ki parameters |
08:23 | Te type Student stu3 equal to “new student” |
08:40 | 11 comma Raju |
08:46 | Nangta Stu3 dot studentDetail |
08:58 | Shubuh hangne ngi pass 11 kum u string, te add double quotes |
09:08 | Ngi ioh ia ka error |
09:10 | Ka pynpaw “the constructor Student String comma string is undefined” |
09:17 | Te wat ka data type jong ka argument ka dei ban iapha bad jong ka parameter |
09:25 | Te mynta weng ia ki quotes bad save ia ka file |
09:32 | Mynta ngin shem la iohi ia ka jingbakla |
09:35 | Te run ia ka program |
09:38 | Ha ka output ngi iohi lai tylli ki constructors |
09:42 | U ba nyngkong u dei u default constructor |
09:45 | U ba ar u dei u constructor ryngkat ba kawei ka parameter |
09:50 | Bad u balai u dei u constructor ryngkat bad artylli ki parameters |
09:56 | Kane ka dei ka rukom ban shna ia u parameterized constructor ha ka java |
10:05 | Balei constructor? |
10:07 | Ki variables ha ka class dei ban initialized ha ka por ba shna ia ka instance |
10:13 | Ka lah ban long kaba bun kam ban initializes ia baroh ki variables |
10:18 | Te ka java ka shah ia ki objects haba la shna ban initialize dalade hi |
10:25 | Ia kane ka lah ban leh lyngba ka jingpyndonkam ia u constructor |
10:30 | Te ha kane ka jinghikai ngi la pule |
10:33 | Ban shna parameterized constructor |
10:36 | Ka jingtreikam jong u parameterized constructor |
10:39 | Bad ka jingmyntoi ban pyndonkam ia u constructor |
10:44 | Na bynta ban assess ia lade shna ka class employee |
10:48 | Shna ia ki constructor ryngkat bad ki parameters |
10:53 | Ban tip khambun shaphang ka spoken tutorial project |
10:56 | peit ia kane video ka ba don ha ka spoken-tutorial.org/What_is_a_Spoken_Tutorial]. |
11:02 | ka batai lyngkot ia ka spoken tutorial project |
11:06 | Lada phim don u bandwitdth uba khlain, phi lah ban download bad peit ia ka |
11:10 | Ka spoken tutorial project team |
11:12 | ka pynlong ia ki workshop da kaba pyndonkam ia ki spoken tutorials |
11:14 | ai certificate ia kito kiba pass ha ka online test |
11:18 | Ban tip kham bniah, sngewbha thoh sha ka contact atspoken-tutorial.org |
11:24 | Ka spoken tutorial project ka dei shibynta na ka project “Talk to a Teacher |
11:28 | la kyrshan ia ka da ka National Mission on Education lyngba iCT, MHRD, Government of India |
11:34 | Kham bun ka jingtip halor kane ka mission ka don ha ka spoken HYPHEN tutorial DOT org SLASH NMEICT HYPHEN Intro |
11:43 | Da kane ngi la poi sha kaba kut jong kane ka jinghikai |
11:46 | Khublei ia ka jingsnohkti lang. Ma nga U Khrawpyrkhat Wanshong Pynkut noh Jai Hind |