• +91 9723535972
  • info@interviewmaterial.com

Dart Programming Interview Questions and Answers

Related Subjects

Question - What is polymorphism in Dart?

Answer -

Dart supports polymorphism. Polymorphism allows a group of objects to share the same interface yet have various implementations. Let's add a new concrete class called Plane to the mix. You can use polymorphism to create Blimp and Plane and apply them to the Aircraft variable. You can use their shared attributes because they are both descendants of Aircraft. Each object instance has its own set of class properties and instance values and output that is exclusive to each object's class instance.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners