Dmitry Jemerov

This quote wurde hinzugefügt von kalmyk
Do you remember how children memorize the colors of the rainbow? "Richard Of York Gave Battle In Vain!" Imagine you need a function that gives you a mnemonic for each color (and you don't want to store this information in the enum itself). In Java you can use a switch statement for this. The corresponding Kotlin construct will be when. Like if, when is an expression that returns a value, so you can write a function with an expression body, returning the when expression directly.

Üben Sie dieses Zitat


[Archiviert]
Bewerten Sie dieses Zitat:
2.3 out of 5 based on 7 ratings.

Text bearbeiten

Autor und Titel bearbeiten

(Changes are manually reviewed)

oder hinterlassen Sie einfach einen Kommentar:


Testen Sie Ihre Fähigkeiten, machen Sie den Schreibtest.

Score (WPM) Verteilung für dieses Zitat. Mehr.

Beste Ergebnisse für dieses typing test

Name WPM Genauigkeit
strikeemblem 106.19 97.6%
ellxi39 103.44 96.6%
taehyungkwon 100.52 95.1%
giannepaula07 93.90 95.3%
dante-didit 93.51 96.4%
klgrass84 92.99 95.8%
ipanja 91.04 88.3%
user93811 85.26 96.2%
magesh 82.17 93.6%
gwaldrop 78.52 88.8%

Kürzlich für

Name WPM Genauigkeit
cjfl07062919 41.93 96.8%
adfuson83 62.62 92.2%
sharoneasy 57.36 98.6%
strikeemblem 106.19 97.6%
user93811 82.16 95.3%
slaughtermelon 72.54 95.6%
user113633 34.15 94.3%
user99861 49.18 94.2%