VideoGame("Gears of War", "Epic Games", 8), VideoGame("Bioshock", "2K Games", 8), VideoGame("Snake", "Nokia", 10)) val mutableGames = mutableListOf( VideoGame("Gears of War", "Epic Games", 8), VideoGame("Bioshock", "2K Games", 8), VideoGame("Snake", "Nokia", 10)) games.forEach { print(it.name) } games.forEachIndexed { index, videoGame -> print("$index - $videoGame") }