Blog purpose for android basic example for android app developer. any query please my contact

Saturday 18 June 2022

kotlin interview questions for senior developer

 kotlin interview questions for senior developer


Today learn kotlin interview questions for senior developer follow the 


kotlin interview questions for senior developer.



Q1: How to initialize an array in Kotlin with values?


Q2: How to create singleton in Kotlin?


Q3: What is a data class in Kotlin?


Q4: What is basic difference between fold and reduce in Kotlin? When to use which?


Q5: What is the difference between var and val in Kotlin?



Q6: Where should I use var and where val?


Q7: Explain advantages of when vs switch in Kotlin


Q8: Explain the null safety in Kotlin


Q9: Explain what is wrong with that code?


Q10:What are the various data types available in Kotlin? Explain them.


No comments:

Post a Comment