Tap to unmute

[QUESTION] Can you call methods when using the ternary / Elvis operator?

  Рет қаралды 464

Laur Spilca

Laur Spilca

Күн бұрын

In this video provide an example of using methods with the ternary operator instead of using static values. I also make a short comparison with switch expressions that are available in Java 14.
Code on GitHub: github.com/lsp...

Пікірлер: 4
@laurspilca
@laurspilca 4 жыл бұрын
Code on GitHub: github.com/lspil/youtubechannel/tree/master/javafundamentals_ternary_operator
@AndrulisTravel
@AndrulisTravel 4 жыл бұрын
Very informative.
@peterfraga4023
@peterfraga4023 4 жыл бұрын
Thank you...very much...
@subrahmanyagurumurthy5083
@subrahmanyagurumurthy5083 4 жыл бұрын
nice.
Array vs. ArrayList in Java Tutorial - What's The Difference?
17:36
Coding with John
Рет қаралды 584 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Seizure of Russian tankers / Strategic defeat
12:05
NEXTA Live
Рет қаралды 532 М.
What if all the world's biggest problems have the same solution?
24:52
C212 - Chapter 2.3: Idiomatic (For) Loops
7:47
Joshua Crotts
Рет қаралды 16
JavaScript ES6 Arrow Functions Tutorial
9:32
Web Dev Simplified
Рет қаралды 851 М.
Premature Optimization
12:39
CodeAesthetic
Рет қаралды 858 М.
Generics In Java - Full Simple Tutorial
17:34
Coding with John
Рет қаралды 1,1 МЛН
C212 - Chapter 2.2: Fibonacci Example
4:42
Joshua Crotts
Рет қаралды 46