Running a Kotlin class

Right-click on the HelloWorld.kt file and click on Run as | tlin as shown in the following screenshot:

Hello, World is printed on the console, as shown here:

Get Mastering Spring 5.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.