• +91 9723535972
  • info@interviewmaterial.com

Kotlin Interview Questions and Answers

Question - Can we use the new keyword to instantiate a class object in Kotlin?

Answer -

No, in Kotlin we don't have to use the new keyword to instantiate a class object. To instantiate a class object, simply we use:

var varName = ClassName()

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners