This article explores the new Java 11+ Launch Single-File Source-Code Programs (JEP 330) and provides JShell-based examples and tips and tricks of the correct and incorrect usage.
Cet article explore la nouvelle fonctionnalité de Java 11 qui permet d'exécuter du code source dans un unique fichier (JEP 330) et fournit des exemples basés sur JShell ainsi que des conseils et astuces sur l'utilisation correcte et incorrecte.
Potentially sensitive or inappropriate content
Examples are used only to help you translate the word or expression searched in various contexts. They are not selected or validated by us and can contain inappropriate terms or ideas. Please report examples to be edited or not to be displayed. Potentially sensitive, inappropriate or colloquial translations are usually marked in red or in orange.