Java 21 Magic: No More Boring Main Class Code! 🚀✨

preview_player
Показать описание
In this video I have shown the new feature of Java 21. You don't need to write the boring Main Class Code and also you don't need to write public static void main (String [] args).

New way of writing simple Java Code :
void main(){
}

Timestamps :
00:00 - Introduction to Java 21 Unnamed Class feature
00:21 - Install Java 21 on Windows
01:50 - Install IntelliJ
03:20 - Update language level to Java 21
03:56 - Outro

Stay Connected :

Join Community :

Follow me on :

#java #java21 #javajdk #CodeWithArjun #Programming
Рекомендации по теме
Комментарии
Автор

java finally caught up to every other programming language with main, awesome!

RajinderYadav
Автор

How does it run without the static keyword?

pranaykumarreddymettu