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 }

Is it possible to migrate the code from Java to Kotlin?

117


What is lateinit modifier?

149


How do you declare a variable as volatile in Kotlin ?

188


Does you class compile if the package is wrong? Why?

151


What are High-Level Functions in Kotlin?

185






How to declare an initialization block in kotlin class?

195


What is the use of any() function?

140


What are Coroutines?

145


In Kotlin can interface have implemented method?

137


What is kotlin’s null safety?

124


How to create static methods in Kotlin?

186


How to handle null exceptions in Kotlin programming?

175


Which is the default modifier for a method, variable, class?

144


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

97


What is the type of arguments inside a constructor?

114