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?

183

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?

141

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 features available in kotlin but not in java?

135


How to compare two strings in Kotlin?

135


How can you handle null exceptions in Kotlin?

112


Is there any dependency of Secondary Constructors on Primary Constructors ?

150


What are the advantage of using Kotlin ?

132






What is the difference between Return Type Unit and Return Type Nothing in Kotlin?

134


How to declare an initialization block in kotlin class?

195


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

124


How do you export code from Java to Kotlin?

150


What is Kotlin?

122


Explain the use of extension functions

118


Does Kotlin provide any additional functionalities for standard Java packages or standard Java classes?

136


What are the data classes in Kotlin? How are they defined?

117


What is inner class in Kotlin?

118


How do you declare a variable as volatile in Kotlin ?

186