Kotlin开发springboot项目

Kotlin开发springboot项目(一)

入门教程:

https://www.runoob.com/kotlin/kotlin-tutorial.html

在线工具:

https://c.runoob.com/compile/2960

一、IDEA中安装kotlin插件

重启IDEA。

二、创建Helloworld工程

 

三、测试

写一个打印"Hello, World!"的代码,鼠标点击编辑器左上角 kotlin图标并选择 Run 'AppKt'来运行代码

println方法点进去,发现其实就是对java原生的System.out.println() 方法的封装。

猜你喜欢

转载自www.cnblogs.com/gaogaoyanjiu/p/10871292.html