Kotlin Interview Questions
Questions Answers Views Company eMail

Define step() function in Kotlin?

140

What is the role of matches() method in regular expression?

124

what operator is used to handle null exceptions in Kotlin?

169

Does Kotlin programming allow macros?

234

What is the default visibility modifier and also list the different types of modifiers?

142

How do you declare ranges operator in kotlin?

104

How do you differentiate var and val in Kotin?

187

What is the difference between Const and Val?

130

What are the advantages and disadvantages of Kotlin?

175

How do you export code from Java to Kotlin?

150

What are the features that kotlin support and java doesn’t?

135

List some of the key modifiers in kotlin?

205

How is kotlin integrated with Gradle?

143

Name the extension methods Kotlin provides to java.io.File?

130

List the number of constructors available in Kotlin?

230


Post New Kotlin Questions

Un-Answered Questions { Kotlin }

What are the modifier available in Kotlin ?

127


What are the requirements of an infix function?

114


What is the difference between var and val ?

156


How to declare volatile variable ?

128


What is the use of abstraction in Kotlin?

130






How can you declare a variable in Kotlin?

116


What are the Strings available in Kotlin ?

112


What are the types of strings available in Kotlin? And, what do you mean by Kotlin String Interpolation?

97


What is the difference between val and var?

158


Tell me the default behavior of Kotlin classes?

158


What are the major features of Kotlin?

197


Give a syntax for declaring a variable as volatile in Kotlin?

158


Explain the use of data class in Kotlin?

133


Why is Kotlin interoperable with Java?

138


What is the type of the following Array?, val arr = arrayOf(1, 2, 3);

260