Java Programming Tutorial 22 - Ternary Conditional Operator

preview_player
Показать описание


~~~~~~~~~~~~~~~ CONNECT ~~~~~~~~~~~~~~~

~~~~~~~~~~~~~~ SUPPORT ME ~~~~~~~~~~~~~~

🅑 Bitcoin - 3HnF1SWTzo1dCU7RwFLhgk7SYiVfV37Pbq
🅔 Eth - 0x350139af84b60d075a3a0379716040b63f6D3853
Рекомендации по теме
Комментарии
Автор

Love your videos bro. You have a mighty fine looking pup there. Thanks for sharing not only your knowledge, but being fun in the process. Its nice to break up the monotony of learning code. Keep up the good work

bigollie
Автор

You have to "de-clare" the variable

janonimous
Автор

I came to learn more about the ? operator, I got to see a man play with his dog. All in all, nice day

PCR
Автор

You are THE BEST JAVA TEACHER I ever had !!! Thank you for all tutorials !!!

biggbrotther
Автор

You inspire others to really love coding. I have used several resources and no one has explained me all the basic concepts with passion like you do! Thank you so much.

efrainrodriguez
Автор

You made me loop constantly on the dog and I kept watching it for 3 hours... no regrets

hxadcimaldev
Автор

Damn, I wanted to quit going into Tutorial 12 / 13, but I kept on going mostly because the videos became more and more interesting, educative and funny. Big ups to Claire and the puppy too lol. :). WE MOVE ON!!!!

maiga
Автор

Body, Caleb! you do sooo great work!!! Thank you so much.
It will be great if you cover polymorphism, inheritance, encapsulation, maybe abstraction in Java examples

also FYI Java Crash Course doesn't exist

alexandr
Автор

LOVE YOUR DOG AND LOVE YOUR JAVA VIDEOS. Keep up the good work man

Pogg_brains
Автор

Thanks for the videos! I have been watching them in conjunction with my java programming class. It seems to me that an if statement would always work just as well as the ternary operator (and make more logical sense), but are there any situations where the ternary operator would really be preferred?

cadencetennant
Автор

Could you say this is better to use than if statements due to smoother pipelining as we don't have to branch using the "?" operator unlike if statements, plus its all packed into one line of code

master
Автор

i like how they're just little videos based on like 1 or 2 concepts and not 20-30 minuet videos on 5-10 concepts

kylechamberlain
Автор

Day 2 🙌 Done 22 out of 100, 78 more to go let's go! 🔥

hihellookay
Автор

Ok so another way of seeing it is if Variable tested is true then Other Variable is true and if it's false then the other is false. So that would mean with your example is that:

boolean welcome = name.equals("clare") ? true : false;

Is the same as

boolean welcome = name.equals("clare");

Or can you not do that in Java? (Simple way to see this is boolean welcome = true if name equals clare)

caribik
Автор

So nice to have an understandable accent for a tutorial.. :D Very Pretty Puppy!

ETyreStore
Автор

Love your tutorials! Learned a lot from those. And so

zelanjia
Автор

Maybe your doggo wanted to lean java also hahahahah

charissebulan
Автор

Caleb, an amazing guy with an amazing dog!

AdiMaco
Автор

My most awaited moment to see your pup 😍

michaelaalquino
Автор

Please do a Tutorial for Java FX
And please can you use IntelliJidea

Because I can use a bunch of ad on there including a GUI editor😁😁😁

jaybergonia