We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fa1e734 commit 609f65fCopy full SHA for 609f65f
src/main/kotlin/de/jakkoble/Fruits.kt
@@ -1,6 +1,6 @@
1
package de.jakkoble
2
3
-// An object is used if there is just one object inside, in my example the Fruit List.
+// An Object is used instead of a class to hold just one object, in my example the Fruit List.
4
// It's accessable to all classes.
5
object Fruits {
6
val list: MutableList<Fruit> = mutableListOf(
0 commit comments