All language subtitles for 024 Dealership class_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
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

Original subtitles

Now we're going to set up the dealership class.

From the requirements, we identified two types of objects, we already created the car class and we

found that a car class needs to blueprint five fields and one action.

The car class was the blueprint from which we can create car objects.

Also, from the requirements, we classified another type of object dealership.

So in this lesson, we're going to create the dealership clot's.

The dealership class is a manager class, the manager class manages objects of another class.

The dealership class is a manager class because it will manage objects of the car class.

We're going to start by creating the class inside the project, create another file named dealership

Java.

And inside a dealership class.

The dealership class needs to model every field and every action.

Looking back at the requirements, the dealership is identified by the cars that it manages cars, it's

plural.

So the field is going to be an array of car objects.

And making an array of objects is the same as making any other array play square brackets next to the

class type and set the array size.

This creates an array that can store three car objects.

So we can define this field in the dealership class.

And from a diagram standpoint, this is what our class looks like, the dealership also has two important

actions, which we're going to add later.

We're going to create an object of the dealership class.

We're going to call the variable dealership.

And we'll set it equal to a new dealership object.

And that's all you just created an object of the dealership class.

The object has one field cars, which by default is going to be No.

We need to update the cars field as soon as we create the object, and that's what a constructor is

for.

So we need to start by applying the big three steps, constructor getters and setters.

In this lesson, you made an object of the dealership class.

So far, the dealership class blueprint's one field, and as you know, whenever a class has fields,

you need to apply the big three steps at a constructor getters and setters.

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