All language subtitles for 016 The Big 3 (Update)_en

af Afrikaans
sq Albanian
am Amharic
ar Arabic
hy Armenian
az Azerbaijani
eu Basque
be Belarusian
bn Bengali
bs Bosnian
bg Bulgarian
ca Catalan
ceb Cebuano
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
tl Filipino
fi Finnish
fr French
fy Frisian
gl Galician
ka Georgian
de German
el Greek
gu Gujarati
ht Haitian Creole
ha Hausa
haw Hawaiian
iw Hebrew
hi Hindi
hmn Hmong
hu Hungarian Download
is Icelandic
ig Igbo
id Indonesian
ga Irish
it Italian
ja Japanese
jw Javanese
kn Kannada
kk Kazakh
km Khmer
ko Korean
ku Kurdish (Kurmanji)
ky Kyrgyz
lo Lao
la Latin
lv Latvian
lt Lithuanian
lb Luxembourgish
mk Macedonian
mg Malagasy
ms Malay
ml Malayalam
mt Maltese
mi Maori
mr Marathi
mn Mongolian
my Myanmar (Burmese)
ne Nepali
no Norwegian
ps Pashto
fa Persian
pl Polish
pt Portuguese
pa Punjabi
ro Romanian
ru Russian
sm Samoan
gd Scots Gaelic
sr Serbian
st Sesotho
sn Shona
sd Sindhi
si Sinhala
sk Slovak
sl Slovenian
so Somali
es Spanish
su Sundanese
sw Swahili
sv Swedish
tg Tajik
ta Tamil
te Telugu
th Thai
tr Turkish
uk Ukrainian
ur Urdu
uz Uzbek
vi Vietnamese
cy Welsh
xh Xhosa
yi Yiddish
yo Yoruba
zu Zulu
or Odia (Oriya)
rw Kinyarwanda
tk Turkmen
tt Tatar
ug Uyghur
Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated: 1 00:00:00,910 --> 00:00:04,070 When you add a new feel to your class, you need to update the big three. 2 00:00:04,600 --> 00:00:05,160 Think about it. 3 00:00:05,350 --> 00:00:10,960 The Big Three are the constructor, which updates every field when you create an object getters which 4 00:00:10,960 --> 00:00:12,130 let you get fields'. 5 00:00:13,850 --> 00:00:16,280 And Setas, which let you update Fields'. 6 00:00:19,050 --> 00:00:21,960 In this lesson, you're going to add an array field to your car class. 7 00:00:24,180 --> 00:00:30,300 Here are the new requirements, there's been a change in plans now every car needs to come with spare 8 00:00:30,300 --> 00:00:30,900 parts. 9 00:00:31,380 --> 00:00:34,290 Spare parts is plural, so it has to be an array. 10 00:00:39,320 --> 00:00:42,860 Based on the requirements, we need to add another field to the car class. 11 00:00:44,100 --> 00:00:51,060 Now, every car object requires five fields, make price, year color and spare parts, which I'm just 12 00:00:51,060 --> 00:00:52,440 going to call parts for short. 13 00:00:55,820 --> 00:01:01,490 The car class needs to model every field in action, so add a string array, name parts. 14 00:01:12,070 --> 00:01:16,570 And now every car object that you create from this car class is going to have Fifield's. 15 00:01:19,360 --> 00:01:24,040 For now, remove the private keyword, we're going to put it back later and back in Maine, I'm going 16 00:01:24,040 --> 00:01:25,630 to print the parts filled for Nissan. 17 00:01:53,620 --> 00:02:00,100 It's no and I hope you can guess why you said Nissan equal to a new object of the car class you passed 18 00:02:00,100 --> 00:02:01,060 and for arguments. 19 00:02:01,060 --> 00:02:04,000 So whichever runs the constructor with four parameters. 20 00:02:11,520 --> 00:02:15,480 The constructor only updates for fields and the parts field stays null. 21 00:02:21,820 --> 00:02:26,530 For this reason, step one is to fix the constructor, we need to make sure it updates every single 22 00:02:26,530 --> 00:02:26,920 field. 23 00:02:29,730 --> 00:02:32,580 In this lesson, you added another feel to your car costs. 24 00:02:32,850 --> 00:02:37,290 Now, each car object that you create from this car class is going to have by fields. 25 00:02:38,160 --> 00:02:41,310 Whenever you add a new field, you need to update the big three. 26 00:02:41,700 --> 00:02:43,530 And we're going to start with the constructor. 2584

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