Need Assistance?

support@tutorialshub.in

Getting Started with Kotlin

main() Function, println() & String Templates

ADVERTISEMENT
Kotlin Free Lesson
5 min read
ADVERTISEMENT

Unlike Java, Kotlin doesn't force you to wrap main() inside a class, and semicolons (;) at the end of lines are completely optional! Use $variable or ${expression} directly inside strings for clean interpolation.

ADVERTISEMENT
Hi, I'm Tuby! Here to help you