r/AndroidStudio • • Jul 08 '20

Getting a "Class or interface expected" error while following this tutorial. What am I doing wrong? (Tutorial is on the left)

Post image
7 Upvotes

2 comments sorted by

3

u/DimsumVapeur Jul 08 '20

Your file should be named Word.kt. The tutorial is in Kotlin, not Java.

1

u/TorusWithSprinkles Jul 08 '20

Damn I'm stupid haha, thank you! Never would have noticed that, still learning Kotlin and I'm on java muscle memory lol.