Kotlin Basic Programs for Beginners
Kotlin Basic Programs for Beginners - Important Points
| 11. | What is the output of the following Kotlin code? fun main() { |
|---|
A. helloworld
B. hello,world
C. hello world
D. Compilation error
View Answer Discuss Work SpaceAnswer: option a
Explanation:
| 12. | What is the output of the following Kotlin code? fun main() { |
|---|
A. 1
B. 0
C. 2
D. Compilation error
View Answer Discuss Work SpaceAnswer: option a
Explanation:
| 13. | What is the output of the following Kotlin code? fun main() { |
|---|
A. 1
B. 0
C. 2
D. Compilation error
View Answer Discuss Work SpaceAnswer: option b
Explanation:
| 14. | What is the output of the following Kotlin code? fun main() { |
|---|
A. 2
B. 4
C. null
D. Compilation error
View Answer Discuss Work SpaceAnswer: option a
Explanation:
| 15. | What is the output of the following Kotlin code? fun main() { |
|---|
A. 2
B. 4
C. null
D. Compilation error
View Answer Discuss Work SpaceAnswer: option a
Explanation: