Modern Java - Top Features of Java 9 to 17

preview_player
Показать описание
In this episode we're going through the most interesting features added to the language in the last few years - between Java 9 released in 2017 and Java 17 released in September 2021.

00:00 Enhanced Switch
03:11 New instanceof
05:13 Type Inference (var)
06:50 Records
10:13 Text Blocks
11:32 Sealed Classes
16:06 of for Collections
17:16 Meaningful NullPointerException

Рекомендации по теме
Комментарии
Автор

Great summary. I decided to jump from 8 to 17 and this is a great highlight reel of features I am happy to see (except maybe "var"). Another feature I love now is how easy it is to read and write text files using Files.readString() and Files.writeString().

jmwild
Автор

Great content Kamil! I really appreciate your highlights. Thank you!

leonardoamorimramos
Автор

You ignore the most important feature, of the switch... it can be an expression and you can return a value. Why repeat the System.out.println() 4 times, when you can simply return the club and print it using one println call? Everyone seems to be obsessed about doing their side effects everywhere... Method is easier to test when you return a value.

vladimirljubopytnov
Автор

Clarity in your content is really appreciable. You saved my day and thanks a bunch.

SatheeshManimekalai
Автор

Great! Simple explanation and demonstrative examples. Thanks a lot!

gennadiisitnikov
Автор

Another man is subscribing to this channel! It's pretty awesome! Thank you for sharing!

francksgenlecroyant
Автор

Clear & concise, thankyou for making this video

yamibakura
Автор

Great video! We need more Java videos like this, very easy to digest and helps with interviews for example (Just had a couple of interviews with new feature questions). Subbed and hoping to see more. Keep it up!

DDVrns
Автор

Very Helpful video for revising the concept in a short time thanks man!!

CaseStudy-bxtl
Автор

Very imformative video. Thank you so much!

trannam
Автор

Recently switched to Jave 17. This is a great video. Thanks so much

pranavmahajan
Автор

wow man, awesome summary... I'm starting a new migration for a big project from java7... and now I need to know more about new features...thanks ;)

ybendek
Автор

Thank you for simple and easy presentation

rohitgupta
Автор

That was really amazing man!
You earned a like and subscribe!

tanmayshukla
Автор

Awesome content!! Sealed class concept is really interesting.

ayushgupta
Автор

Great video!

I recently saw a meme praising Java 19 (I think), and was surprised to see what the fuss was all about.
Not surprised to know that most of these features are already built in Kotlin.

danieldias
Автор

As a concrete example where var is very handy: Spring! context = new Saves copy-pasting (or worse, retyping) the class name!

eric-wubbolameijer
Автор

Appreciated... Learn alot from this video thank you

faisalbehram
Автор

Useful Information on java 17.!!Excellent.

haajiraaliyar
Автор

Great video. I guess you forgot to mention that when creating collections using of method the collections created are immutable. Also for set there must be no duplicates.

nakulkumar