e="idea">
fun main(args: Array&lt;String&gt;) {
  //sampleStart
  val cat = Cat("Kitty")
  val dog = Dog("Fido")
  println("Hello ${cat.name} and ${dog.name} ")
  //sampleEnd
}
<textarea class="hidden-dependency">
class Cat(val name: String)
</textarea><textarea class="hidden-dependency">
class Dog(val name: String)
</textarea></code>
  </body>
</html>
