Kotlin Interview Questions
Questions Answers Views Company eMail

Define String datatype with example in Kotlin?

128

Define when expression?

130

What is the use of any() function?

142

What are the major features of Kotlin?

197

In kotlin, can we create an empty array?

160

Define enum in Kotlin?

133

How many ways to create array in kotlin?

124

Differentiate between generics in and out in Kotlin?

114

Give an example of high order functions?

174

Can we create uninitialized array in kotlin?

131

What is Range in Kotlin?

145

What is nested class in Kotlin?

150

Define Lambda Function in Kotlin?

157

What is the role of open keyword in Kotlin?

142

Define high order functions in Kotlin?

97


Post New Kotlin Questions

Un-Answered Questions { Kotlin }

Is kotlin strongly typed?

179


Why is kotlin preferred over java?

105


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

136


What is the entry point to a kotlin program?

145


How many constructors are available in Kotlin?

132






What is the entry point to a Kotlin program ? Give an example?

120


How do you export code from Java to Kotlin?

152


What are primitive data types in kotlin?

129


What is the type of arguments inside a constructor? Why do you think they are val unless explicitly set to var?

169


What are the requirements of an infix function?

118


List the Basic data types of Kotlin?

98


Why do we need write open before class name in Kotlin while working on inheritance?

148


What is the difference between const vs val?

136


Where does this Kotlin run ? Does it have some kind of different runtime environment ?

124


Tell me the default behavior of Kotlin classes?

158