kotlin基础 字符串模板

${变量名}

var tmp="字符串模板”
print("今天学习${tmp}这个知识点")

 

posted @ 2019-12-12 11:30  超级学渣渣  阅读(535)  评论(0)    收藏  举报