Java/C2/Non-static-block/Khasi
From Script | Spoken-Tutorial
Time | Narration |
00:02 | Pdiang sngewbha sha ka spoken tutorial halor “Non-Static block” in Java |
00:06 | Ha kane ka tutorial, ngin pule |
00:08 | Shaphang “non-static” block |
00:10 | Mynba u non static block la execute |
00:13 | Ka nuksa jong “non-static block” |
00:16 | Bad balei ngi donkam ia ki “constructor” |
00:18 | Hangne ngi pyndonkam
Ubuntu version 11.10 Java Development Environment jdk 1.6 Bad Eclipse IDE 3.7.0 |
00:26 | Ban bud iakane ka tutorial, phi dei ban nang |
00:29 | Kumno ban shna ia u “constructor” ha ka java da kaba pyndonkam ia ka “Eclipse” |
00:33 | Lada em, na bynta ki jinghikai ba iadei, sngewbha leit sha ka website jong ngi kumba la pyni hangne |
00:38 | Mynta ngin peit, kaei kaba u “non-static block” u long |
00:42 | Uno uno u code ba la thoh hapdeng ki artylli I curly brackets u dei u “non-static block” |
00:46 | Ngi lah ban iohi ia ka syntax hangne |
00:51 | Ha kaba kumno la execute ia u non static block |
00:54 | La execute ia u “non static block” na manla u object ba la shna |
00:58 | Ka executes hashuwa ka jingpyntrei ia u constructor |
01:04 | Ka lah ban initialize ia ki instance member variables jong ka class |
01:08 | Kano kano ka jingpyntrei kam kum ka jingkhein lah ruh ban buh hapoh ka block |
01:14 | Mynta to ngin phai sha ka “Eclipse” bad pyrshang ban pyndonkam ia u “non-static block” |
01:22 | Nga la dep plie lypa ia ka “class” ba kyrteng “NonStatic Test” ha ka Eclipse |
01:28 | Nga la dep shna ia ka “class” ba kyrteng “A” |
01:33 | Mynta hapoh “class” “A”, nyngkong ngan shna ia u variable jong u type “int” |
01:38 | Te, type: “int a” semicolon, nangta nion “Enter” |
01:46 | Hapoh ki curly bracket, type: “System” dot “out” dot “println” hapoh ki bracket bad double quotes” “Non static block of an instance of Class A” Semicolon |
02:12 | Nangta type, “System” dot “out” dot “println” hapoh ki bracket bad double quotes” The value of a is” plus “a” semicolon |
02:32 | Mynta ngin declare ia u “constructor” |
02:35 | Te type, “public A” plie bad khang ia ki bracket plie ia ki curly bracket nion “Enter” |
02:51 | Nangta type: “System” dot “out” dot “println” hapoh ki bracket bad double quotes “Constructing object of type A” semicolon |
03:10 | Nangta type, “System” dot “out” dot “println” hapoh ki bracket bad double quotes “The value of a is” plus “a” semicolon |
03:35 | Mynta save ia kane ka file |
03:44 | Hapoh “class Non Static Test” ha ka Eclipse to ngin shna ia u object jong ka “Class A” |
03:53 | Te, type: “A” space “a1” equal to “new” space “A” plie bad khang ia ki bracket semicolon |
04:08 | Ha u lain ba bud, ngin shna sa uwei u object jong ka class “A” |
04:12 | Te, type:”A” space “a2” equal to “new” space “A” plie bad khang ia ki bracket semicolon |
04:25 | Mynta, “save” bad “run” ia ka file. Te, nion “Ctrl & S” bad “Ctrl&F11” key |
04:32 | Ngi ioh ia ka output kumne harum |
04:35 | Kumba ngi lah ban iohi, haba u oject ba nyngkong la shna, u “non-static block “ la execute |
04:45 | U “non static block” jong ka “instance jong ka class A” bad ka instance variable ‘a” la initialized sha u “0” |
04:53 | Dei tang hadien kata, ba ia u “Constructor” la execute. Ba shna ia u object jong u type “A” |
05:02 | Bad hangne, instance variable la initialized biang sha u ‘0’ |
05:07 | Nangta biang haba la shna ia u object ba ar, ia ka non-static block la execute |
05:16 | Kane ka rukom ka iai bteng |
05:20 | Ngi lah ban don bun tylli ki “non-static block” hapoh ka “class” |
05:25 | Ha kane ka khep la execute iaki ha ka rukom ba ki paw hapoh ka “class” |
05:30 | Ngi lah ban pyrshang ia ka mynta |
05:34 | Thep ia kawei ka block hadien ka ba nyngkong hapoh ka class “A” |
05:43 | Te sa shisien type hapoh ki curly bracket |
05:47 | System dot out dot println hapoh ki bracet bad double quotes “Second Non Static block of an instance of Class A” semicolon |
06:08 | Nangta type:”system” dot “out” dot “println” hapoh ki bracket bad double quotes “The value of a is” plus “a” semicolon |
06:30 | Mynta save ia kane ka file, nion Ctrl&S ha ka juh ka por , nangta nion Ctrl&F11 ba run ia ka program |
06:44 | Ngi ioh ia ka output kumne harum |
06:48 | Ngi iohi ba hadien ba la execute ia ka block ba nyngkong, ia ka ba ar la execute |
06:58 | Nangta tang ia u constructor la execute |
07:07 | Mynta phi lah ban sngew balei ba ngi donkam ia ki “constructor” |
07:10 | Ka jubab ka long ba ngim don kam ia u “default constructor” |
07:15 | Hynrei ia ka “non-static block “ um lah ban parameterized |
07:18 | Phim lah ban don “objects” ki ba shim values na shabar |
07:22 | Te u “non-static block” um dei uba mih bujli na ka bynta u “constructor” |
07:27 | To ngin batai lyngkot |
07:29 | Ha kane ka jinghikai ngi la pule |
07:32 | Shaphang “non-static block” bad kumno ban pyndonkam ia u ne u block |
07:35 | Na bynta ki kam ban leh: Shna ia ka “class” ba kyrteng “B” |
07:39 | Shna ia u “non-static block” bad u “constructor” kumba la pyni hakane ka jinghikai |
07:44 | Shna ia u “object” jong ka “Class B” hapoh ka “classNonStatic Test” kaba la dep shna lypa |
07:49 | Peit ia ka jingmih |
07:51 | Ban tip khambun shaphang ka spoken tutorial project |
07:53 | peit ia kane video ka ba don ha kane ka link http://spoken-tutorial.org/What_is_a_Spoken_Tutorial. |
07:56 | ka batai lyngkot ia ka spoken tutorial project |
08:00 | Lada phim don u bandwitdth uba khlain, phi lah ban download bad peit ia ka |
08:03 | Ka spoken tutorial project team |
08:06 | ka pynlong ia ki workshop da kaba pyndonkam ia ki spoken tutorials |
08:08 |
ai certificate ia kito kiba pass ha ka online test |
08:12 | Ban tip kham bniah, sngewbha thoh sha ka contact atspoken-tutorial.org |
08:18 | Ka spoken tutorial project ka dei shibynta na ka project “Talk to a Teacher” |
08:22 | la kyrshan ia ka da ka National Mission on Education lyngba iCT, MHRD, Government of India |
08:28 | Kham bun ka jingtip halor kane ka mission ka don ha ka spoken HYPHEN tutorial DOT org SLASH NMEICT HYPHEN Intro |
08:37 | Kumne ngi la poi sha kaba kut jong kane ka jinghikai |
08:40 | Ma nga u Khrapyrkhat Wanshong na shillong, pynkut not. Khublei ia ka jingiasnoh kti lang |