All language subtitles for 002 Shopping Cart – Part 1_en

af Afrikaans
ak Akan
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bem Bemba
bn Bengali
bh Bihari
bs Bosnian
br Breton
bg Bulgarian
km Cambodian
ca Catalan
ceb Cebuano
chr Cherokee
ny Chichewa
zh-CN Chinese (Simplified)
zh-TW Chinese (Traditional)
co Corsican
hr Croatian
cs Czech
da Danish
nl Dutch
en English
eo Esperanto
et Estonian
ee Ewe
fo Faroese
tl Filipino
fi Finnish
fr French
fy Frisian
gaa Ga
gl Galician
ka Georgian
de German
el Greek
gn Guarani
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ia Interlingua
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
rw Kinyarwanda
rn Kirundi
kg Kongo
ko Korean
kri Krio (Sierra Leone)
ku Kurdish
ckb Kurdish (Soranî)
ky Kyrgyz
lo Laothian
la Latin
lv Latvian
ln Lingala
lt Lithuanian
loz Lozi
lg Luganda
ach Luo
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mfe Mauritian Creole
mo Moldavian
mn Mongolian
my Myanmar (Burmese)
sr-ME Montenegrin
ne Nepali
pcm Nigerian Pidgin
nso Northern Sotho
no Norwegian
nn Norwegian (Nynorsk)
oc Occitan
or Oriya
om Oromo
ps Pashto
fa Persian
pl Polish
pt-BR Portuguese (Brazil)
pt Portuguese (Portugal)
pa Punjabi
qu Quechua
ro Romanian
rm Romansh
nyn Runyakitara
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
sh Serbo-Croatian
st Sesotho
tn Setswana
crs Seychellois Creole
sn Shona
sd Sindhi
si Sinhalese
sk Slovak
sl Slovenian
so Somali
es Spanish
es-419 Spanish (Latin American)
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
tt Tatar
te Telugu
th Thai
ti Tigrinya
to Tonga
lua Tshiluba
tum Tumbuka
tr Turkish
tk Turkmen
tw Twi
ug Uighur
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
wo Wolof
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,240 --> 00:00:05,910 Let's cover part one task, one was that the necessary fields for the item class and looking back at 2 00:00:05,910 --> 00:00:07,890 the requirements, there are only two. 3 00:00:08,550 --> 00:00:10,890 The fields are private string name. 4 00:00:12,870 --> 00:00:14,490 Private double price. 5 00:00:18,150 --> 00:00:22,020 Now we want to apply the big three steps, the first step is to create a constructor. 6 00:00:22,500 --> 00:00:28,860 It's going to receive two parameters string name and double price, and one, the constructor runs. 7 00:00:28,860 --> 00:00:31,890 We have to set every field in the object equal to a parameter. 8 00:00:32,070 --> 00:00:35,310 This dynamic will name the stock price equals price. 9 00:00:38,420 --> 00:00:41,090 OK, now we want to autocomplete the getters and setters. 10 00:00:53,310 --> 00:00:56,970 And the next task is that a tutoring method, public string. 11 00:00:59,230 --> 00:01:02,590 Two string and just copy the format from the article. 12 00:01:20,680 --> 00:01:24,730 Let's not forget the copy constructor in case we ever need to create copies of an object. 13 00:01:37,040 --> 00:01:41,720 All right, we're done creating the item class, I know this is pretty standard stuff, but we should 14 00:01:41,720 --> 00:01:47,120 always test our code in case we missed something so inside mean I'm going to print three objects of 15 00:01:47,120 --> 00:01:48,140 the item class. 16 00:02:41,040 --> 00:02:42,300 Go ahead and run the code. 17 00:02:51,220 --> 00:02:52,810 And we get the expected output. 18 00:02:56,830 --> 00:02:59,170 For the sake of practice, I'm not a breakpoint. 19 00:03:04,240 --> 00:03:05,410 Launch the debugger. 20 00:03:08,680 --> 00:03:13,440 And let's assume you want to step inside the constructor while it's inside of another function, then 21 00:03:13,450 --> 00:03:15,640 why you would do is step into front line. 22 00:03:20,580 --> 00:03:27,720 Then step out of it, keep repeating the step in and step out process until the next step into leads 23 00:03:27,720 --> 00:03:29,850 us to the constructor for the first object. 24 00:03:31,760 --> 00:03:33,050 Here we see the parameters. 25 00:03:36,320 --> 00:03:39,590 And this points the current object we just created. 26 00:03:43,090 --> 00:03:45,910 And it updates every field in the object with a parameter. 27 00:03:47,990 --> 00:03:51,890 It's going to do the same thing for the spinach and for the coriander objects. 2621

Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.