Question: Both const and @JvmField create constants. What can @JvmField do that const cannot?
- `const` works only with strings and primitives. `@JvmField` does not have that restriction.
- `@JvmField` works as a top-level variable, but `const` works only in a class.
- `@JvmField` is compatible with Java, but `const` is not.
- `@JvmField` is always inlined for faster code.
Answer: The correct answer of the above question is Option A:`const` works only with strings and primitives. `@JvmField` does not have that restriction.