Static Members
Everything on SkillVeris tagged Static Members — collected across the glossary, study notes, blog, and cheat sheets.
4 resources across 2 libraries
Study Notes(1)
Interview Questions(3)
What is a Static Class?
A static class is a nested class declared with the static modifier that does not hold an implicit reference to an instance of its enclosing outer class, so it…
What is a Companion Object?
A companion object is a singleton tied to a specific class (in languages like Kotlin and Scala) that holds members logically scoped to the class itself rather…
What is a Companion Object in Kotlin?
A companion object in Kotlin is a single, compiler-generated singleton declared inside a class with the `companion object` keyword that holds members callable…