Type Here to Get Search Results !

What are important concepts in Dart

 Dart Everything is object

To understand,Look at the world around you.

We,Human also a kind of object,Think about the trees.Trees also object

Basically,Object oriented programing language emulates the real world.As of result we can say Build relationships between different types of objects.


Every object has a "Type"

For example :-

We can define the "type" of the planet by the way

class Planet{}

same way we can create

class Tree{}

We can create a planet object or tree object in a simple way

var planet= Planet();

var tree= Tree();

Since thes two objects are of different types they are not equal.

Post a Comment

* Please Don't Spam Here. All the Comments are Reviewed by Admin.

Top Post Ad

Below Post Ad