All language subtitles for 002 The Boolean_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,210 --> 00:00:04,350 The bullion is the last variable type that we need to look at, and it's very important. 2 00:00:06,020 --> 00:00:12,890 So far, I learned to work with types into whole numbers, long, large, whole numbers, double decimals, 3 00:00:12,890 --> 00:00:18,380 car four characters and string four text, the last type to learn about is the Boolean. 4 00:00:21,400 --> 00:00:24,250 And in this lesson, you're going to learn to store boolean values. 5 00:00:26,100 --> 00:00:31,110 We're going to start this section off by creating a new job, a project, so first create a new project 6 00:00:31,110 --> 00:00:32,250 named Section three. 7 00:00:34,540 --> 00:00:40,630 And inside the project, create a new file named Booleans Java and make sure the booleans class has 8 00:00:40,630 --> 00:00:41,440 the main method. 9 00:00:48,770 --> 00:00:54,290 The bullying type can only store two values, true or false, and the computer can use these true or 10 00:00:54,290 --> 00:00:57,770 false values to make decisions and control the way your code runs. 11 00:00:58,880 --> 00:01:01,070 Now, storing a boolean value is really simple. 12 00:01:01,400 --> 00:01:07,370 You need to include three things, the variable type boolean such that the variable I'm going to call 13 00:01:07,370 --> 00:01:13,580 bool one can only store boolean values and the value itself, which can only be true or false. 14 00:01:17,360 --> 00:01:24,080 So instead of our case, we're going to make two billion variables, bullion bill one, one will store. 15 00:01:24,080 --> 00:01:24,530 True. 16 00:01:27,180 --> 00:01:28,890 Boolean Buhle to. 17 00:01:31,090 --> 00:01:32,770 And the other is going to be fort's. 18 00:01:36,490 --> 00:01:41,050 Now, I'm going to print to both values, but before I do, I want to give credit to Vardell and DeMain 19 00:01:41,050 --> 00:01:46,410 from the description they shared a Vrsaljko shortcut for printing a line that I didn't know existed. 20 00:01:46,420 --> 00:01:47,200 And we're going to use it. 21 00:01:48,010 --> 00:01:51,310 And if you're not on the Dischord shot yet, you know, I encourage you to join. 22 00:01:51,340 --> 00:01:53,710 You never know what you'll find in everyone's welcome. 23 00:01:53,740 --> 00:01:55,150 We're all here to support each other. 24 00:01:56,230 --> 00:02:02,080 In any case, we're going to racist's out and autocomplete, the print line comment, and that's just 25 00:02:02,080 --> 00:02:06,280 beautiful, will print one as well as Boulle to. 26 00:02:11,930 --> 00:02:13,760 All that's left is the runner code. 27 00:02:25,990 --> 00:02:32,190 And that's really at each variable store is a boolean value, the first one stores the value true. 28 00:02:32,620 --> 00:02:35,530 And the second one store is a boolean value a false. 29 00:02:39,030 --> 00:02:44,610 In this lesson, you learn to store boolean values, and this covers the six main variable types, you 30 00:02:44,610 --> 00:02:49,650 learn to store values of type int long double string car and boolean. 31 00:02:50,400 --> 00:02:53,370 Now, you might be wondering why boolean values are useful. 32 00:02:55,720 --> 00:03:00,700 Well, the way you're sorting them now is pretty useless and the screaming cat is not happy with the 33 00:03:00,700 --> 00:03:02,770 way you're storing booleans, it doesn't approve. 34 00:03:03,040 --> 00:03:06,810 Boolean values are only useful if in the form of a comparison. 35 00:03:07,300 --> 00:03:09,310 And I'll show you some examples pretty soon. 3695

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